javax.swing.plaf.basic
Class BasicComboPopup.ListMouseHandler
java.lang.Object
java.awt.event.MouseAdapter
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicComboPopup.ListMouseHandler
protected BasicComboPopup.ListMouseHandler()
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