An extension of the SwingConstants that are generally used for positioning and orienting
components and text.
Field Summary
static int
CENTER_BOTTOM
Box-orientation constant used to specify the central position.
static int
CENTER_LEADING
Box-orientation constant used to specify the central position.
static int
CENTER_LEFT
Box-orientation constant used to specify the central position.
static int
CENTER_RIGHT
Box-orientation constant used to specify the central position.
static int
CENTER_TOP
Box-orientation constant used to specify the central position.
static int
CENTER_TRAILING
Box-orientation constant used to specify the central position.
Field Detail
CENTER_TOP
static final int CENTER_TOP
Box-orientation constant used to specify the central position.
If the object being aligned is too tall for the area, then the top portion
of the object will be made visible and the bottom portion will not be seen.
Box-orientation constant used to specify the central position.
If the object being aligned is too tall for the area, then the top portion
of the object will be cut off so that the bottom portion can be seen.
Box-orientation constant used to specify the central position.
If the object being aligned is too wide for the area, then the left portion
of the object will be made visible and the right portion will not be seen.
Box-orientation constant used to specify the central position.
If the object being aligned is too wide for the area, then the left portion
of the object will be cut off so that the right portion can be seen.
Box-orientation constant used to specify the central position.
Identifies the leading edge of text for use with left-to-right
and right-to-left languages. If the object being aligned is too wide
for the area, then the leading edge of text will be made visible and
the end portion will not be seen.
Box-orientation constant used to specify the central position.
Identifies the trailing edge of text for use with left-to-right
and right-to-left languages. If the object being aligned is too wide
for the area, then the trailing edge of text will be made visible and
the beginning portion will not be seen.