Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.contactlist
Class SearchFieldUI.TextFieldMouseListener

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.contactlist.SearchFieldUI.TextFieldMouseListener
All Implemented Interfaces:
MouseListener, EventListener
Enclosing class:
SearchFieldUI

protected class SearchFieldUI.TextFieldMouseListener
extends Object
implements MouseListener

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


Constructor Summary
protected SearchFieldUI.TextFieldMouseListener()
           
 
Method Summary
 void mouseClicked(MouseEvent e)
          Updates the call button when the mouse was clicked.
 void mouseEntered(MouseEvent e)
          Updates the call button when the mouse is enters the component area.
 void mouseExited(MouseEvent e)
          Updates the call button 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

SearchFieldUI.TextFieldMouseListener

protected SearchFieldUI.TextFieldMouseListener()
Method Detail

mouseClicked

public void mouseClicked(MouseEvent e)
Updates the call button 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 call button 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 call button 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.