charva.awt
public class GridBagConstraints extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
anchor |
static int |
BOTH |
static int |
CENTER |
static int |
EAST |
int |
fill |
int |
gridheight |
int |
gridwidth |
int |
gridx |
int |
gridy |
static int |
HORIZONTAL |
Insets |
insets |
int |
ipadx |
int |
ipady |
static int |
NONE |
static int |
NORTH |
static int |
NORTHEAST |
static int |
NORTHWEST |
static int |
SOUTH |
static int |
SOUTHEAST |
static int |
SOUTHWEST |
static int |
VERTICAL |
double |
weightx |
double |
weighty |
static int |
WEST |
Constructor and Description |
---|
GridBagConstraints()
Creates a GridBagConstraints object with all of its fields set to
their default value.
|
GridBagConstraints(int gridx_,
int gridy_,
int gridwidth_,
int gridheight_,
double weightx_,
double weighty_,
int anchor_,
int fill_,
Insets insets_,
int ipadx_,
int ipady_) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public int gridx
public int gridy
public int gridwidth
public int gridheight
public double weightx
public double weighty
public int anchor
public int fill
public Insets insets
public int ipadx
public int ipady
public 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 static final int NONE
public static final int HORIZONTAL
public static final int VERTICAL
public static final int BOTH
public GridBagConstraints()
public GridBagConstraints(int gridx_, int gridy_, int gridwidth_, int gridheight_, double weightx_, double weighty_, int anchor_, int fill_, Insets insets_, int ipadx_, int ipady_)