public class TwoColumnConstraints extends Object implements Cloneable
TwoColumnLayout
.TwoColumnLayout
Modifier and Type | Field and Description |
---|---|
int |
align
How to align the associated component,
LEFT , CENTER or
RIGHT . |
static int |
BOTH |
static int |
CENTER |
(package private) Component |
component
for private use by the layout manager
|
static int |
EAST |
static int |
EASTONLY |
boolean |
indent
If set to true, the indent setting in the layout manager will be applied.
|
static int |
LEFT |
static int |
NORTH |
int |
position
Indicates where to place the associated component.
|
static int |
RIGHT |
boolean |
stretch
If set to true the associated component will be allowed to stretch to the width of the entire
avaiable space.
|
static int |
WEST |
static int |
WESTONLY |
Constructor and Description |
---|
TwoColumnConstraints() |
public static final int NORTH
public static final int WEST
public static final int WESTONLY
public static final int EAST
public static final int EASTONLY
public static final int BOTH
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public int position
NORTH
will place the
component in the title margin. WEST will place the component in the left
column and EAST
will place it in the right column. If BOTH
is
used, the component will straddle both columns. WESTONLY
and EASTONLY
will place the element accordingly but make sure that nothing is placed in the opposite
column.public int align
LEFT
, CENTER
or
RIGHT
. Note that this setting only taks effect in the component is placed in
the title margin.public boolean indent
public boolean stretch
public TwoColumnConstraints()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses