MouseListener
, MouseMotionListener
, MouseWheelListener
, EventListener
BasicSplitPaneDivider
protected class BasicSplitPaneDivider.MouseHandler extends MouseAdapter implements MouseMotionListener
Modifier | Constructor | Description |
---|---|---|
protected |
Constructs a MouseHandler . |
Modifier and Type | Method | Description |
---|---|---|
void |
mouseDragged |
If dragger is not null it is messaged with continueDrag. |
void |
mouseEntered |
Invoked when the mouse enters a component. |
void |
mouseExited |
Invoked when the mouse exits a component. |
void |
mouseMoved |
Resets the cursor based on the orientation. |
void |
mousePressed |
Starts the dragging session by creating the appropriate instance of DragController. |
void |
mouseReleased |
If dragger is not null it is messaged with completeDrag. |
mouseClicked, mouseWheelMoved
protected MouseHandler()
MouseHandler
.public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
e
- the event to be processedpublic void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
e
- the event to be processedpublic void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseAdapter
e
- the event to be processedpublic void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class MouseAdapter
e
- the event to be processedpublic void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
e
- MouseEvent describing the details of the enter event.public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
e
- MouseEvent describing the details of the exit event.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/basic/BasicSplitPaneDivider.MouseHandler.html