java.lang.Object
de.grogra.docking.DockPosition
- All Implemented Interfaces:
Comparable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDockPositions
(DockPositionList list, DockComponent c, int positions, Point relDrag, Container coordParent, DockShape shape) int
int
getAbsX()
int
getAbsY()
int
int
int
static DockPosition
testDockPosition
(DockComponent c, int position, Point absDrag, Point relDrag, DockShape shape) toString()
-
Field Details
-
TOLERANCE
public static final int TOLERANCE- See Also:
-
TOLERANCE2
public static final int TOLERANCE2- See Also:
-
LEFT
public static final int LEFT- See Also:
-
RIGHT
public static final int RIGHT- See Also:
-
TOP
public static final int TOP- See Also:
-
BOTTOM
public static final int BOTTOM- See Also:
-
CENTER
public static final int CENTER- See Also:
-
TAB
public static final int TAB- See Also:
-
VERTICAL_MASK
public static final int VERTICAL_MASK- See Also:
-
HORIZONTAL_MASK
public static final int HORIZONTAL_MASK- See Also:
-
TAB_MASK
public static final int TAB_MASK- See Also:
-
FIRST_EDGE
public static final int FIRST_EDGE- See Also:
-
SECOND_EDGE
public static final int SECOND_EDGE- See Also:
-
EDGE
public static final int EDGE- See Also:
-
-
Method Details
-
addDockPositions
public static void addDockPositions(DockPositionList list, DockComponent c, int positions, Point relDrag, Container coordParent, DockShape shape) -
getAdjacent
-
getPosition
public int getPosition() -
getLength
public int getLength() -
getDragDelta
public int getDragDelta() -
getAbsX
public int getAbsX() -
getAbsY
public int getAbsY() -
testDockPosition
public static DockPosition testDockPosition(DockComponent c, int position, Point absDrag, Point relDrag, DockShape shape) -
compareTo
- Specified by:
compareTo
in interfaceComparable
-
toString
-