javax.swing.plaf.basic
Class BasicComboPopup.InvocationMouseHandler
protected
class
BasicComboPopup.InvocationMouseHandler
extends MouseAdapter
InvocationMouseHandler is a listener that listens to mouse events
occuring in the combo box. Note that this listener doesn't listen to
mouse events occuring in the popup portion of the combo box, it only
listens to main combo box part(area that displays selected item). This
listener is responsible for showing and hiding popup portion of the
combo box.
Method Summary |
void | mousePressed(MouseEvent e)
This method is invoked whenever mouse is being pressed over the main
part of the combo box. |
void | mouseReleased(MouseEvent e)
This method is invoked whenever mouse event was originated in the combo
box and released either in the combBox list of items or in the combo
box itself.
|
protected InvocationMouseHandler()
Creates a new InvocationMouseHandler object.
This method is invoked whenever mouse is being pressed over the main
part of the combo box. This method will show popup if the popup is
not shown on the screen right now, and it will hide popup otherwise.
Parameters: e MouseEvent that should be handled
This method is invoked whenever mouse event was originated in the combo
box and released either in the combBox list of items or in the combo
box itself.
Parameters: e MouseEvent that should be handled