wyvern.util
Class TableLayout.Entry

java.lang.Object
  extended bywyvern.util.TableLayout.Entry
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
TableLayout

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


Field Summary
protected  int[] alignment
          Horizontal and vertical alignment
protected  java.awt.Component component
          Component bound by the constraints
protected  int[] cr1
          Cell in which the upper-left corner of the component lies
protected  int[] cr2
          Cell in which the lower-right corner of the component lies
 
Constructor Summary
protected TableLayout.Entry(java.awt.Component component, TableLayoutConstraints constraint)
          Constructs an Entry that binds a component to a set of constraints.
 
Method Summary
 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

protected java.awt.Component component
Component bound by the constraints


cr1

protected int[] cr1
Cell in which the upper-left corner of the component lies


cr2

protected int[] cr2
Cell in which the lower-right corner of the component lies


alignment

protected int[] alignment
Horizontal and vertical alignment

Constructor Detail

TableLayout.Entry

protected 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

toString

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

Returns:
a string in the form "(col1, row1, col2, row2, vAlign, hAlign) component"