API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicSplitPaneDivider.VerticalDragController View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      BasicSplitPaneDivider.DragController
          BasicSplitPaneDivider.VerticalDragController
Implements
Subclasses
Description
protected class BasicSplitPaneDivider.VerticalDragController
  Handles the events during a dragging session for a VERTICAL_SPLIT oriented split pane.
See also:   
Constructors
protected BasicSplitPaneDivider.VerticalDragController (MouseEvent e)
Methods
Hide/Show inherited methods
protected void completeDrag (int x, int y) [Inherited From BasicSplitPaneDivider.DragController]
protected void completeDrag (MouseEvent e) [Inherited From BasicSplitPaneDivider.DragController]
Messages finishDraggingTo with the new location for the mouse event.
protected void continueDrag (int newX, int newY) [Inherited From BasicSplitPaneDivider.DragController]
protected void continueDrag (MouseEvent e) [Inherited From BasicSplitPaneDivider.DragController]
Messages dragDividerTo with the new location for the mouse event.
protected int getNeededLocation (int x, int y) [Overrides BasicSplitPaneDivider.DragController]
Returns the y argument, since this is used for vertical splits.
protected boolean isValid () [Inherited From BasicSplitPaneDivider.DragController]
Returns true if the dragging session is valid.
protected int positionForMouseEvent (MouseEvent e) [Overrides BasicSplitPaneDivider.DragController]
Returns the new position to put the divider at based on the passed in MouseEvent.
Fields
Hide/Show inherited fields
pack-private int initialX [Inherited From BasicSplitPaneDivider.DragController]
Initial location of the divider.
pack-private int maxX [Inherited From BasicSplitPaneDivider.DragController]
Maximum and minimum positions to drag to.
pack-private int minX [Inherited From BasicSplitPaneDivider.DragController]
Maximum and minimum positions to drag to.
pack-private int offset [Inherited From BasicSplitPaneDivider.DragController]
Initial location the mouse down happened at.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar