org.argouml.swingext
Class SerialLayout
java.lang.Object
org.argouml.swingext.LineLayout
org.argouml.swingext.SerialLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
- public class SerialLayout
- extends LineLayout
Lays out components in a single row or column starting from any
side and aligning components to eachother.
Components can be set to start draw from, LEFTTORIGHT, TOPTOBOTTOM,
RIGHTTOLEFT or BOTTOMTOTOP.
Components will line up with eachother by edge or follow a common
central line.
The gap to leave before the first component and the following gaps
between each component can be set.
Constructor Summary |
SerialLayout()
|
SerialLayout(Orientation orientation)
|
SerialLayout(Orientation orientation,
java.lang.String position)
|
SerialLayout(Orientation orientation,
java.lang.String position,
int direction)
|
SerialLayout(Orientation orientation,
java.lang.String position,
int direction,
int alignment)
|
SerialLayout(Orientation orientation,
java.lang.String position,
int direction,
int alignment,
int gap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
protected static org.apache.log4j.Category cat
LEFTTORIGHT
public static final int LEFTTORIGHT
- See Also:
- Constant Field Values
TOPTOBOTTOM
public static final int TOPTOBOTTOM
- See Also:
- Constant Field Values
RIGHTTOLEFT
public static final int RIGHTTOLEFT
- See Also:
- Constant Field Values
BOTTOMTOTOP
public static final int BOTTOMTOTOP
- See Also:
- Constant Field Values
NORTH
public static final java.lang.String NORTH
- See Also:
- Constant Field Values
SOUTH
public static final java.lang.String SOUTH
- See Also:
- Constant Field Values
EAST
public static final java.lang.String EAST
- See Also:
- Constant Field Values
WEST
public static final java.lang.String WEST
- See Also:
- Constant Field Values
NORTHEAST
public static final java.lang.String NORTHEAST
- See Also:
- Constant Field Values
NORTHWEST
public static final java.lang.String NORTHWEST
- See Also:
- Constant Field Values
SOUTHEAST
public static final java.lang.String SOUTHEAST
- See Also:
- Constant Field Values
SOUTHWEST
public static final java.lang.String SOUTHWEST
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
TOP
public static final int TOP
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
CENTER
public static final int CENTER
- See Also:
- Constant Field Values
FILL
public static final int FILL
- See Also:
- Constant Field Values
SerialLayout
public SerialLayout()
SerialLayout
public SerialLayout(Orientation orientation)
SerialLayout
public SerialLayout(Orientation orientation,
java.lang.String position)
SerialLayout
public SerialLayout(Orientation orientation,
java.lang.String position,
int direction)
SerialLayout
public SerialLayout(Orientation orientation,
java.lang.String position,
int direction,
int alignment)
SerialLayout
public SerialLayout(Orientation orientation,
java.lang.String position,
int direction,
int alignment,
int gap)
layoutContainer
public void layoutContainer(java.awt.Container parent)