com.vlsolutions.swing.docking
public class AnchorConstraints extends Object
Since: 2.1
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.
|
Parameters: anchor value expressed as a bitwise OR between ANCHOR_ fields (for example ANCHOR_TOP|ANCHOR_LEFT)
Anchor is expressed as a bitwise OR between ANCHOR_ fields (for example ANCHOR_TOP|ANCHOR_LEFT)