java.awt
public class GridBagConstraints extends Object implements Cloneable, Serializable
Field Summary | |
---|---|
int | anchor |
static int | BOTH
Fill in both directions. |
static int | CENTER
Position in the center. |
static int | EAST
Position to the east. |
int | fill |
static int | FIRST_LINE_END
Position to where the first text line would end. |
static int | FIRST_LINE_START
Position to where the first text line would start. |
int | gridheight |
int | gridwidth |
int | gridx |
int | gridy |
static int | HORIZONTAL
Fill horizontally. |
Insets | insets |
int | ipadx |
int | ipady |
static int | LAST_LINE_END
Position to where the last text line would end. |
static int | LAST_LINE_START
Position to where the last text line would start. |
static int | LINE_END
Position to where a text line would end. |
static int | LINE_START
Position to where a text line would start. |
static int | NONE
Don't fill. |
static int | NORTH
Position to the north. |
static int | NORTHEAST
Position to the northeast. |
static int | NORTHWEST
Position to the northwest. |
static int | PAGE_END
Position to where a page ends. |
static int | PAGE_START
Position to where a page starts. |
static int | RELATIVE
Occupy all remaining cells except last cell. |
static int | REMAINDER
Occupy all remaining cells. |
static int | SOUTH
Position to the south. |
static int | SOUTHEAST
Position to the southeast. |
static int | SOUTHWEST
Position to the southwest. |
static int | VERTICAL
Fill vertically. |
double | weightx |
double | weighty |
static int | WEST
Position to the west. |
Constructor Summary | |
---|---|
GridBagConstraints()
Create a new GridBagConstraints object with the default
parameters. | |
GridBagConstraints(int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady)
Create a new GridBagConstraints object with the indicated
parameters. |
Method Summary | |
---|---|
Object | clone()
Create a copy of this object. |