protected class BasicSplitPaneDivider.MouseHandler extends java.awt.event.MouseAdapter implements java.awt.event.MouseMotionListener
JSplitPane.
The reason for also handling MouseEvents from the containing
JSplitPane is that users should be able to start a drag
gesture from inside the JSplitPane, but slightly outisde the divider.
| Modifier | Constructor and Description |
|---|---|
protected |
BasicSplitPaneDivider.MouseHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDragged(java.awt.event.MouseEvent e)
Repeatedly invoked when the user is dragging the mouse cursor while
having pressed a mouse button.
|
void |
mouseMoved(java.awt.event.MouseEvent e)
Repeatedly invoked when the user is dragging the mouse cursor without
having pressed a mouse button.
|
void |
mousePressed(java.awt.event.MouseEvent e)
This method is called when the mouse is pressed.
|
void |
mouseReleased(java.awt.event.MouseEvent e)
This method is called when the mouse is released.
|
protected BasicSplitPaneDivider.MouseHandler()
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenermousePressed in class java.awt.event.MouseAdaptere - The MouseEvent.public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class java.awt.event.MouseAdaptere - The MouseEvent.public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenere - The MouseEvent.public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenere - The MouseEvent.