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