All Packages Class Hierarchy This Package Previous Next Index
Class datarep.common.LeftSideLayout
java.lang.Object
|
+----datarep.common.LeftSideLayout
- public class LeftSideLayout
- extends Object
- implements LayoutManager, Serializable
The Left Side Layout places parts in a left justified vertical column. The aligment can be
TOP, CENTER, or BOTTOM. The vertical gaps can be specified. Another property is whether the
components should fill horizontally any empty space.
- Version:
- 1.2
- Author:
- Data Representations, Inc.
-
BOTTOM
-
-
CENTER
-
-
TOP
-
-
LeftSideLayout()
-
-
LeftSideLayout(boolean)
- Creates a new LeftSideLayout with the given horizontal fill setting, the default vertical
gap, and the default alignment (TOP).
-
LeftSideLayout(int)
- Creates a new LeftSideLayout with the given alignment, the default vertical gap (0), and
the default horizontal fill setting (false).
-
LeftSideLayout(int, int)
-
-
LeftSideLayout(int, int, boolean)
-
-
addLayoutComponent(String, Component)
-
-
getAlignment()
-
-
getFill()
-
-
getVgap()
-
-
layoutContainer(Container)
-
-
minimumLayoutSize(Container)
-
-
preferredLayoutSize(Container)
-
-
removeLayoutComponent(Component)
-
-
setAlignment(int)
- Sets the alignment.
-
setFill(boolean)
- Sets the horizontal fill property to the given value.
-
setVgap(int)
- Sets the vertical gap.
TOP
public static final int TOP
CENTER
public static final int CENTER
BOTTOM
public static final int BOTTOM
LeftSideLayout
public LeftSideLayout()
LeftSideLayout
public LeftSideLayout(int alignment)
- Creates a new LeftSideLayout with the given alignment, the default vertical gap (0), and
the default horizontal fill setting (false).
LeftSideLayout
public LeftSideLayout(int alignment,
int gap)
LeftSideLayout
public LeftSideLayout(boolean fill)
- Creates a new LeftSideLayout with the given horizontal fill setting, the default vertical
gap, and the default alignment (TOP).
LeftSideLayout
public LeftSideLayout(int alignment,
int gap,
boolean fill)
setAlignment
public void setAlignment(int alignment)
- Sets the alignment. The alignment should be TOP, CENTER, or BOTTOM.
getAlignment
public int getAlignment()
setVgap
public void setVgap(int gap)
- Sets the vertical gap.
getVgap
public int getVgap()
setFill
public void setFill(boolean fill)
- Sets the horizontal fill property to the given value.
getFill
public boolean getFill()
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
removeLayoutComponent
public void removeLayoutComponent(Component comp)
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
layoutContainer
public void layoutContainer(Container parent)
All Packages Class Hierarchy This Package Previous Next Index