javax.swing.plaf.basic
protected class BasicSplitPaneDivider.VerticalDragController extends BasicSplitPaneDivider.DragController
| Constructor Summary | |
|---|---|
| protected | VerticalDragController(MouseEvent e)
Creates a new VerticalDragController object.
|
| Method Summary | |
|---|---|
| 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.
|
Parameters: e The MouseEvent to initialize with.
Parameters: x The x coordinate of the MouseEvent. y The y coordinate of the MouseEvent.
Returns: The y coordinate.
Parameters: e The MouseEvent.
Returns: The new location of the divider.