info.clearthought.layout
Class TableLayout.Entry
java.lang.Object
info.clearthought.layout.TableLayout.Entry
- TableLayout
- Cloneable
public static class TableLayout.Entry
extends java.lang.Object
implements Cloneable
int[] | alignment - Horizontal and vertical alignment
|
Component | component - Component bound by the constraints
|
int[] | cr1 - Cell in which the upper-left corner of the component lies
|
int[] | cr2 - Cell in which the lower-right corner of the component lies
|
Object | copy() - Copies this Entry.
|
String | toString() - Gets the string representation of this Entry.
|
alignment
public int[] alignment
Horizontal and vertical alignment
component
public Component component
Component bound by the constraints
cr1
public int[] cr1
Cell in which the upper-left corner of the component lies
cr2
public int[] cr2
Cell in which the lower-right corner of the component lies
Entry
public Entry(Component component,
TableLayoutConstraints constraint)
Constructs an Entry that binds a component to a set of constraints.
component
- component being boundconstraint
- constraints being applied
copy
public Object copy()
throws CloneNotSupportedException
Copies this Entry.
toString
public String toString()
Gets the string representation of this Entry.
- a string in the form
"(col1, row1, col2, row2, vAlign, hAlign) component"