java.awt
Class GridBagConstraints
java.lang.Object
|
+--java.awt.GridBagConstraints
- All Implemented Interfaces:
- Cloneable
- public class GridBagConstraints
- extends Object
- implements Cloneable
GridBagConstraints is used to specify constraints for components
laid out using the GridBagLayout class.
- See Also:
GridBagLayout
Method Summary |
Object |
clone()
Creates a clone of the object. |
RELATIVE
public static final int RELATIVE
- See Also:
- Constant Field Values
REMAINDER
public static final int REMAINDER
- See Also:
- Constant Field Values
NONE
public static final int NONE
- See Also:
- Constant Field Values
BOTH
public static final int BOTH
- See Also:
- Constant Field Values
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
CENTER
public static final int CENTER
- See Also:
- Constant Field Values
NORTH
public static final int NORTH
- See Also:
- Constant Field Values
NORTHEAST
public static final int NORTHEAST
- See Also:
- Constant Field Values
EAST
public static final int EAST
- See Also:
- Constant Field Values
SOUTHEAST
public static final int SOUTHEAST
- See Also:
- Constant Field Values
SOUTH
public static final int SOUTH
- See Also:
- Constant Field Values
SOUTHWEST
public static final int SOUTHWEST
- See Also:
- Constant Field Values
WEST
public static final int WEST
- See Also:
- Constant Field Values
NORTHWEST
public static final int NORTHWEST
- See Also:
- Constant Field Values
gridx
public int gridx
gridy
public int gridy
gridwidth
public int gridwidth
gridheight
public int gridheight
weightx
public double weightx
weighty
public double weighty
anchor
public int anchor
fill
public int fill
insets
public Insets insets
ipadx
public int ipadx
ipady
public int ipady
GridBagConstraints
public GridBagConstraints()
clone
public Object clone()
- Description copied from class:
Object
- Creates a clone of the object. A new instance is allocated and a
bitwise clone of the current object is place in the new object.
- Overrides:
clone
in class Object
- Returns:
- a clone of this Object.