MouseListener
, MouseMotionListener
, MouseWheelListener
, EventListener
protected class BasicComboPopup.InvocationMouseHandler extends MouseAdapter
Warning: We recommend that you not create subclasses of this class. If you absolutely must create a subclass, be sure to invoke the superclass version of each method.
BasicComboPopup.createMouseListener()
Modifier | Constructor | Description |
---|---|---|
protected |
InvocationMouseHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
mousePressed(MouseEvent e) |
Responds to mouse-pressed events on the combo box.
|
void |
mouseReleased(MouseEvent e) |
Responds to the user terminating
a click or drag that began on the combo box.
|
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
e
- the mouse-press event to be handledpublic void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
e
- the mouse-release event to be handled Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps