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

Field Summary
 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 RELATIVE
           
static int REMAINDER
           
static int SOUTH
           
static int SOUTHEAST
           
static int SOUTHWEST
           
static int VERTICAL
           
 double weightx
           
 double weighty
           
static int WEST
           
 
Constructor Summary
GridBagConstraints()
           
 
Method Summary
 Object clone()
          Creates a clone of the object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

GridBagConstraints

public GridBagConstraints()
Method Detail

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.