jbcl.layout Package
java.lang.Object +----java.awt.GridBagConstraints +----com.borland.jbcl.layout.GridBagConstraints2
Variables Constructors Properties Methods
Implements Serializable, Cloneable
This is the constraint object for adding a component to a GridBagLayout
. This class extends java.awt.GridBagConstraints
and adds a constructor that takes all the parameters for the constraint values. You use this class instead of java.awt.GridBagConstraints
when you want to design your GridBagLayout
container in the UI Designer.
For more information, see GridBagLayout
in "Using layout managers."
public GridBagConstraints2(int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady)An additional constuctor for
GridBagConstraints
that simplifies the code generation for the UI Designer.
public String toString()Returns a string that displays the constant value.
Overrides: java.lang.Object.toString()