|
MDateSelector | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmseries.utils.FormConstraints
public class FormConstraints
The FormConstraints class specifies constraints
for components that are laid out using the
FormLayout class.
FormLayout,
Serialized Form| Field Summary | |
|---|---|
int |
anchor
This field is used when the component is smaller than its display area. |
static int |
CENTER
Put the component in the center of its display area. |
static int |
EAST
Put the component on the right side of its display area, centered vertically. |
boolean |
fill
Set this to true of the components is not to take part in column width calculations, it will fill the column which is wht widht of the widest component in the column |
int |
gridx
Specifies the cell at the left of the component's display area, where the leftmost cell has gridx=0. |
int |
gridy
Specifies the cell at the top of the component's display area, where the topmost cell has gridy=0. |
Insets |
insets
Speifies the border around the component, this is usually left to the default value |
static int |
NORTH
Put the component at the top of its display area, centered horizontally. |
static int |
NORTHEAST
Put the component at the top-right corner of its display area. |
static int |
NORTHWEST
Put the component at the top-left corner of its display area. |
static int |
RELATIVE
Specify that this component is to be placed next to the previously added component ( gridx, gridy). |
static int |
SOUTH
Put the component at the bottom of its display area, centered horizontally. |
static int |
SOUTHEAST
Put the component at the bottom-right corner of its display area. |
static int |
SOUTHWEST
Put the component at the bottom-left corner of its display area. |
boolean |
spansColumns
A component that spans columns will be drawn at its preferred size if there is enough remaining space in the container. |
static int |
WEST
Put the component on the left side of its display area, centered vertically. |
| Constructor Summary | |
|---|---|
FormConstraints()
Creates a FormConstraint object with
all of its fields set to their default value. |
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a copy of this form constraint. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RELATIVE
gridx, gridy).
gridx,
gridy,
Constant Field Valuespublic static final int CENTER
public static final int NORTH
public static final int NORTHEAST
public static final int EAST
public static final int SOUTHEAST
public static final int SOUTH
public static final int SOUTHWEST
public static final int WEST
public static final int NORTHWEST
public boolean spansColumns
public Insets insets
public int gridx
gridx=0. The value
RELATIVE specifies that the component be placed just
to the right of the component that was added to the container just
before this component was added.
The default value is RELATIVE.
gridx should be a non-negative value.
clone(),
gridypublic int gridy
gridy=0. The value
RELATIVE specifies that the component be placed just
below the component that was added to the container just before
this component was added.
The default value is RELATIVE.
gridy should be a non-negative value.
clone(),
gridxpublic int anchor
CENTER,
NORTH, NORTHEAST, EAST,
SOUTHEAST, SOUTH, SOUTHWEST,
WEST, and NORTHWEST.
The default value is CENTER.
clone()public boolean fill
| Constructor Detail |
|---|
public FormConstraints()
FormConstraint object with
all of its fields set to their default value.
| Method Detail |
|---|
public Object clone()
clone in class Object
|
MDateSelector | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||