public class ExtendedGridLayoutConstraints
extends java.lang.Object
ExtendedGridLayout class.ExtendedGridLayout| Modifier and Type | Field and Description | 
|---|---|
| static int | REMAINDERSpecifies that this component is the
 last component in its column or row
 and takes up the remaining space. | 
| Constructor and Description | 
|---|
| ExtendedGridLayoutConstraints(java.awt.Component component)Creates an  ExtendedGridLayoutConstraintsobject with
 all of its fields set to their default value. | 
| ExtendedGridLayoutConstraints(int row,
                             java.awt.Component component)Creates an  ExtendedGridLayoutConstraintsobject with
 all of its fields set to their default value
 except of the row which is specified. | 
| ExtendedGridLayoutConstraints(int row,
                             int colspan,
                             int rowspan,
                             java.awt.Component component)Creates an  ExtendedGridLayoutConstraintsobject with
 all of its fields set to the passed-in arguments. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object o)Indicates whether some other object is "equal to" this one. | 
| int | getCol() | 
| int | getColspan() | 
| int | getRow() | 
| int | getRowspan() | 
| int | hashCode()Returns a hash code value for the object. | 
| boolean | isPlaceholder() | 
| java.lang.String | toString()Returns a string representation of the object. | 
public static final int REMAINDER
public ExtendedGridLayoutConstraints(java.awt.Component component)
ExtendedGridLayoutConstraints object with
 all of its fields set to their default value. For further information
 about the default values see
 ExtendedGridLayoutConstraints(int, int, int, java.awt.Component).component - The Component this constraints object describespublic ExtendedGridLayoutConstraints(int row,
                                     java.awt.Component component)
ExtendedGridLayoutConstraints object with
 all of its fields set to their default value
 except of the row which is specified. For further information
 about the default values see
 ExtendedGridLayoutConstraints(int, int, int, java.awt.Component).row - The row in which a component starts its display area. First row is 0component - The Component this constraints object d describesjava.lang.IllegalArgumentException - If row < 0public ExtendedGridLayoutConstraints(int row,
                                     int colspan,
                                     int rowspan,
                                     java.awt.Component component)
ExtendedGridLayoutConstraints object with
 all of its fields set to the passed-in arguments.row - The row in which a component starts its display area.
                  First row is 0. Default value is 0.colspan - The number of cells in a row for the component's display area.
                  Use REMAINDER to specify that the component's
                  display area will be from its grid position to the last
                  cell in the row. Default value is 1.rowspan - The number of cells in a column for the component's display area.
                  Use REMAINDER to specify that the component's
                  display area will be from its grid position to the last
                  cell in the column. Default value is 1.component - The Component this constraints object describesjava.lang.IllegalArgumentException - If row < 0java.lang.IllegalArgumentException - If colspan < 1java.lang.IllegalArgumentException - If rowspan < 1public int getRow()
public int getCol()
public int getColspan()
REMAINDER if the component's display area will be
         from its grid position to the last cell in the row.public int getRowspan()
REMAINDER if the component's display area will be
         from its grid position to the last cell in the column.public boolean isPlaceholder()
public boolean equals(java.lang.Object o)
 The equals method implements an equivalence relation
 on non-null object references:
 
x, x.equals(x) returns
     true.
 x and y, x.equals(y)
     returns true if and only if
     y.equals(x) returns true.
 x, y, and z, if
     x.equals(y) returns true and
     y.equals(z) returns true, then
     x.equals(z) returns true.
 x and y, multiple invocations of
     x.equals(y) consistently return true
     or consistently return false, provided no
     information used in equals comparisons on the
     objects is modified.
 x,
     x.equals(null) returns false.
 
 The equals method for class
 ExtendedGridLayoutConstraints returns true
 if and only if the constraints objects describe the same Component
equals in class java.lang.Objecto - the reference object with which to compare.true if this object is the same as the o
         argument; false otherwise.hashCode(), 
java.util.Hashtablepublic int hashCode()
java.util.Hashtable.
 
 The general contract of hashCode is:
 
hashCode method on each of
     the two objects must produce the same integer result.
 java.lang.Object#equals(java.lang.Object)
     method, then calling the hashCode method on each of the
     two objects must produce distinct integer results.  However, the
     programmer should be aware that producing distinct integer results
     for unequal objects may improve the performance of hashtables.
 hashCode in class java.lang.Objectequals(java.lang.Object), 
java.util.Hashtablepublic java.lang.String toString()
toString method returns a string that
 "textually represents" this object. The result should
 be a concise but informative representation that is easy for a
 person to read.toString in class java.lang.Object