org.montsuqi.widgets
Class TableConstraints

java.lang.Object
  extended by org.montsuqi.widgets.TableConstraints

public class TableConstraints
extends java.lang.Object

The layout constraints used by TableLayout.

As TableLayout uses GridBagConstraints internally, this class provides interfaces to convert itself from/to GridBagConstraints.


Field Summary
 int bottomAttach
           
 int leftAttach
           
 int rightAttach
           
 int topAttach
           
 boolean xExpand
           
 boolean xFill
           
 int xPadding
           
 boolean xShrink
           
 boolean yExpand
           
 boolean yFill
           
 int yPadding
           
 boolean yShrink
           
 
Constructor Summary
TableConstraints()
          Constructs a TableConstaints with the default parameters.
TableConstraints(java.awt.GridBagConstraints gbc)
          Constructs a TableConstaints by converting a GridBagConstraints.
 
Method Summary
 java.awt.GridBagConstraints toGridBagConstraints()
          Converts self to the equivalent GridBagConstraints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

leftAttach

public int leftAttach

rightAttach

public int rightAttach

topAttach

public int topAttach

bottomAttach

public int bottomAttach

xPadding

public int xPadding

yPadding

public int yPadding

xExpand

public boolean xExpand

yExpand

public boolean yExpand

xShrink

public boolean xShrink

yShrink

public boolean yShrink

xFill

public boolean xFill

yFill

public boolean yFill
Constructor Detail

TableConstraints

public TableConstraints()

Constructs a TableConstaints with the default parameters.


TableConstraints

public TableConstraints(java.awt.GridBagConstraints gbc)

Constructs a TableConstaints by converting a GridBagConstraints.

Method Detail

toGridBagConstraints

public java.awt.GridBagConstraints toGridBagConstraints()

Converts self to the equivalent GridBagConstraints.