javax.swing.plaf.basic
Class BasicComboPopup.ListMouseHandler

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by javax.swing.plaf.basic.BasicComboPopup.ListMouseHandler
All Implemented Interfaces:
MouseListener, EventListener
Enclosing class:
BasicComboPopup

protected class BasicComboPopup.ListMouseHandler
extends MouseAdapter

ListMouseHandler is a listener that listens to mouse events occuring in the combo box's list of items. This class is responsible for hiding popup portion of the combo box if the mouse is released inside the combo box's list.


Constructor Summary
protected BasicComboPopup.ListMouseHandler()
           
 
Method Summary
 void mousePressed(MouseEvent e)
          Implements this method in the interface with an empty method body.
 void mouseReleased(MouseEvent anEvent)
          Implements this method in the interface with an empty method body.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicComboPopup.ListMouseHandler

protected BasicComboPopup.ListMouseHandler()
Method Detail

mousePressed

public void mousePressed(MouseEvent e)
Description copied from class: MouseAdapter
Implements this method in the interface with an empty method body.

Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class MouseAdapter
Parameters:
e - the event, ignored in this implementation

mouseReleased

public void mouseReleased(MouseEvent anEvent)
Description copied from class: MouseAdapter
Implements this method in the interface with an empty method body.

Specified by:
mouseReleased in interface MouseListener
Overrides:
mouseReleased in class MouseAdapter
Parameters:
anEvent - the event, ignored in this implementation