protected class BasicSplitPaneDivider.MouseHandler extends MouseAdapter implements 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(MouseEvent e)
Repeatedly invoked when the user is dragging the mouse cursor while
having pressed a mouse button.
|
void |
mouseMoved(MouseEvent e)
Repeatedly invoked when the user is dragging the mouse cursor without
having pressed a mouse button.
|
void |
mousePressed(MouseEvent e)
This method is called when the mouse is pressed.
|
void |
mouseReleased(MouseEvent e)
This method is called when the mouse is released.
|
mouseClicked, mouseEntered, mouseExitedprotected BasicSplitPaneDivider.MouseHandler()
public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseAdaptere - The MouseEvent.public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class MouseAdaptere - The MouseEvent.public void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenere - The MouseEvent.public void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenere - The MouseEvent.