protected class BasicSplitPaneDivider.VerticalDragController extends BasicSplitPaneDivider.DragController
Modifier | Constructor and Description |
---|---|
protected |
BasicSplitPaneDivider.VerticalDragController(MouseEvent e)
Creates a new VerticalDragController object.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getNeededLocation(int x,
int y)
This method returns one of the two parameters given the orientation.
|
protected int |
positionForMouseEvent(MouseEvent e)
This method returns the new location of the divider given a MouseEvent.
|
completeDrag, completeDrag, continueDrag, continueDrag, isValid
protected BasicSplitPaneDivider.VerticalDragController(MouseEvent e)
e
- The MouseEvent to initialize with.protected int getNeededLocation(int x, int y)
getNeededLocation
in class BasicSplitPaneDivider.DragController
x
- The x coordinate of the MouseEvent.y
- The y coordinate of the MouseEvent.protected int positionForMouseEvent(MouseEvent e)
positionForMouseEvent
in class BasicSplitPaneDivider.DragController
e
- The MouseEvent.