This field is used when the component is smaller than its
display area. It determines where, within the display area, to
place the component.
There are three kinds of possible values: orientation
relative, baseline relative and absolute. Orientation relative
values are interpreted relative to the container's component
orientation property, baseline relative values are interpreted
relative to the baseline and absolute values are not. The
absolute values are:
CENTER
, NORTH
, NORTHEAST
,
EAST
, SOUTHEAST
, SOUTH
,
SOUTHWEST
, WEST
, and NORTHWEST
.
The orientation relative values are: PAGE_START
,
PAGE_END
,
LINE_START
, LINE_END
,
FIRST_LINE_START
, FIRST_LINE_END
,
LAST_LINE_START
and LAST_LINE_END
. The
baseline relvative values are:
BASELINE
, BASELINE_LEADING
,
BASELINE_TRAILING
,
ABOVE_BASELINE
, ABOVE_BASELINE_LEADING
,
ABOVE_BASELINE_TRAILING
,
BELOW_BASELINE
, BELOW_BASELINE_LEADING
,
and BELOW_BASELINE_TRAILING
.
The default value is CENTER
.
Serial:
See Also:
GridBagConstraints.clone()
,
ComponentOrientation
,