com.izforge.izpack.gui
Class TwoColumnConstraints

java.lang.Object
  extended by com.izforge.izpack.gui.TwoColumnConstraints
All Implemented Interfaces:
java.lang.Cloneable

public class TwoColumnConstraints
extends java.lang.Object
implements java.lang.Cloneable

The constraints class to use with TwoColumnLayout.

Version:
0.0.1 / 11/15/02
Author:
Elmar Grom
See Also:
TwoColumnLayout

Field Summary
 int align
          How to align the associated component, LEFT, CENTER or RIGHT.
static int BOTH
           
static int CENTER
           
(package private)  java.awt.Component component
          for private use by the layout manager
static int EAST
           
static int EASTONLY
           
 boolean indent
          If set to true, the indent setting in the layout manager will be applied.
static int LEFT
           
static int NORTH
           
 int position
          Indicates where to place the associated component.
static int RIGHT
           
 boolean stretch
          If set to true the associated component will be allowed to stretch to the width of the entire avaiable space.
static int WEST
           
static int WESTONLY
           
 
Constructor Summary
TwoColumnConstraints()
           
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this two column constraint.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORTH

public static final int NORTH
See Also:
Constant Field Values

WEST

public static final int WEST
See Also:
Constant Field Values

WESTONLY

public static final int WESTONLY
See Also:
Constant Field Values

EAST

public static final int EAST
See Also:
Constant Field Values

EASTONLY

public static final int EASTONLY
See Also:
Constant Field Values

BOTH

public static final int BOTH
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

CENTER

public static final int CENTER
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values

position

public int position
Indicates where to place the associated component. NORTH will place the component in the title margin. WEST will place the component in the left column and EAST will place it in the right column. If BOTH is used, the component will straddle both columns. WESTONLY and EASTONLY will place the element accordingly but make sure that nothing is placed in the opposite column.


align

public int align
How to align the associated component, LEFT, CENTER or RIGHT. Note that this setting only taks effect in the component is placed in the title margin.


indent

public boolean indent
If set to true, the indent setting in the layout manager will be applied.


stretch

public boolean stretch
If set to true the associated component will be allowed to stretch to the width of the entire avaiable space.


component

java.awt.Component component
for private use by the layout manager

Constructor Detail

TwoColumnConstraints

public TwoColumnConstraints()
Method Detail

clone

public java.lang.Object clone()
Creates a copy of this two column constraint.

Overrides:
clone in class java.lang.Object
Returns:
a copy of this TwoColumnConstraints