info.clearthought.layout
Class TableLayout.Entry

java.lang.Object
  extended by info.clearthought.layout.TableLayout.Entry
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
TableLayout

public static class TableLayout.Entry
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
 int[] alignment
          Horizontal and vertical alignment
 java.awt.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
 
Constructor Summary
TableLayout.Entry(java.awt.Component component, TableLayoutConstraints constraint)
          Constructs an Entry that binds a component to a set of constraints.
 
Method Summary
 java.lang.Object copy()
          Copies this Entry.
 java.lang.String toString()
          Gets the string representation of this Entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

component

public java.awt.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


alignment

public int[] alignment
Horizontal and vertical alignment

Constructor Detail

TableLayout.Entry

public TableLayout.Entry(java.awt.Component component,
                         TableLayoutConstraints constraint)
Constructs an Entry that binds a component to a set of constraints.

Parameters:
component - component being bound
constraint - constraints being applied
Method Detail

copy

public java.lang.Object copy()
                      throws java.lang.CloneNotSupportedException
Copies this Entry.

Throws:
java.lang.CloneNotSupportedException

toString

public java.lang.String toString()
Gets the string representation of this Entry.

Overrides:
toString in class java.lang.Object
Returns:
a string in the form "(col1, row1, col2, row2, vAlign, hAlign) component"