| GridBagConstraints |
|
typedict |
| |
A
GridBagConstraints
object controls how a
GridBagLayout
layout manager places a component in a container.
The fields in a
GridBagConstraints
are:
| anchor |
An
int
that controls where a component is positioned when it does not fill
its group of cells.
The value should be
CENTER,
EAST,
NORTH,
NORTHEAST,
NORTHWEST,
SOUTH,
SOUTHEAST,
SOUTHWEST,
or
WEST,
which are all defined in
yoix.awt
and
yoix.swing.
| | fill |
An
int
that determines which dimensions grow to fill the available space.
The value should be
NONE,
HORIZONTAL,
VERTICAL,
or
BOTH,
which are all defined in
yoix.awt
and
yoix.swing.
| | gridheight |
An
int
that sets the height of the component in grid cells.
| | gridwidth |
An
int
that sets the width of the component in grid cells.
| | gridx |
An
int
that sets the horizontal grid location of the component.
| | gridy |
An
int
that sets the vertical grid location of the component.
| | insets |
An
Object,
usually an
Insets
or
Number,
that describes the margins, in units of 72 dots per inch, that are
left around the top, left, bottom, and right sides of the component.
An
insets
that is a number is an easy way to describe a uniform margin.
| | ipadx |
A
double
that determines how much the component grows in the horizontal direction
beyond its default minimum size.
The number must be in the default Yoix coordinate system, where 72
represents one inch.
| | ipady |
A
double
that determines how much the component grows in the horizontal direction
beyond its default minimum size.
The number must be in the default Yoix coordinate system, where 72
represents one inch.
| | weightx |
A
double
that controls how much extra horizontal space the component gets when the
container is resized.
Positive numbers specify an amount that is proportional, so the final result
depends on the weights assigned to other components.
A value of
0
means the component gets no extra space.
| | weighty |
A
double
that controls how much extra vertical space the component gets when the
container is resized.
Positive numbers specify an amount that is proportional, so the final result
depends on the weights assigned to other components.
A value of
0
means the component gets no extra space.
|
|
Yoix is a registered trademark of AT&T Intellectual Property.
|