Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.util.swing.plaf
Class SIPCommTextFieldUI.TextFieldMouseListener

java.lang.Object
  extended by net.java.sip.communicator.util.swing.plaf.SIPCommTextFieldUI.TextFieldMouseListener
All Implemented Interfaces:
MouseListener, EventListener
Enclosing class:
SIPCommTextFieldUI

protected class SIPCommTextFieldUI.TextFieldMouseListener
extends Object
implements MouseListener

The MouseListener that listens for mouse events in order to update the delete icon.


Constructor Summary
protected SIPCommTextFieldUI.TextFieldMouseListener()
           
 
Method Summary
 void mouseClicked(MouseEvent e)
          Updates the delete icon when the mouse was clicked.
 void mouseEntered(MouseEvent e)
          Updates the delete icon when the mouse is enters the component area.
 void mouseExited(MouseEvent e)
          Updates the delete icon when the mouse exits the component area.
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIPCommTextFieldUI.TextFieldMouseListener

protected SIPCommTextFieldUI.TextFieldMouseListener()
Method Detail

mouseClicked

public void mouseClicked(MouseEvent e)
Updates the delete icon when the mouse was clicked.

Specified by:
mouseClicked in interface MouseListener
Parameters:
e - the MouseEvent that notified us of the click

mouseEntered

public void mouseEntered(MouseEvent e)
Updates the delete icon when the mouse is enters the component area.

Specified by:
mouseEntered in interface MouseListener
Parameters:
e - the MouseEvent that notified us

mouseExited

public void mouseExited(MouseEvent e)
Updates the delete icon when the mouse exits the component area.

Specified by:
mouseExited in interface MouseListener
Parameters:
e - the MouseEvent that notified us

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.