|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vlsolutions.swing.docking.AnchorConstraints
public class AnchorConstraints
A constraint used to specify how a dockable is tied (anchored) to its containing parent .
Field Summary | |
---|---|
static int |
ANCHOR_BOTTOM
Field describing a dockable anchored to the BOTTOM border of its ancestor container |
static int |
ANCHOR_LEFT
Field describing a dockable anchored to the LEFT border of its ancestor container |
static int |
ANCHOR_RIGHT
Field describing a dockable anchored to the RIGHT border of its ancestor container |
static int |
ANCHOR_TOP
Field describing a dockable anchored to the TOP border of its ancestor container |
Constructor Summary | |
---|---|
AnchorConstraints(int anchor)
Constructor for an immutable contraints |
Method Summary | |
---|---|
int |
getAnchor()
Returns the anchor value of this contraints object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ANCHOR_TOP
public static final int ANCHOR_LEFT
public static final int ANCHOR_BOTTOM
public static final int ANCHOR_RIGHT
Constructor Detail |
---|
public AnchorConstraints(int anchor)
anchor
- value expressed as a bitwise OR between ANCHOR_ fields (for example ANCHOR_TOP|ANCHOR_LEFT)Method Detail |
---|
public int getAnchor()
Anchor is expressed as a bitwise OR between ANCHOR_ fields (for example ANCHOR_TOP|ANCHOR_LEFT)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |