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.

Variable Index

 o BOTTOM
 o CENTER
 o TOP

Constructor Index

 o LeftSideLayout()
 o LeftSideLayout(boolean)
Creates a new LeftSideLayout with the given horizontal fill setting, the default vertical gap, and the default alignment (TOP).
 o LeftSideLayout(int)
Creates a new LeftSideLayout with the given alignment, the default vertical gap (0), and the default horizontal fill setting (false).
 o LeftSideLayout(int, int)
 o LeftSideLayout(int, int, boolean)

Method Index

 o addLayoutComponent(String, Component)
 o getAlignment()
 o getFill()
 o getVgap()
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)
 o setAlignment(int)
Sets the alignment.
 o setFill(boolean)
Sets the horizontal fill property to the given value.
 o setVgap(int)
Sets the vertical gap.

Variables

 o TOP
 public static final int TOP
 o CENTER
 public static final int CENTER
 o BOTTOM
 public static final int BOTTOM

Constructors

 o LeftSideLayout
 public LeftSideLayout()
 o 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).

 o LeftSideLayout
 public LeftSideLayout(int alignment,
                       int gap)
 o LeftSideLayout
 public LeftSideLayout(boolean fill)
Creates a new LeftSideLayout with the given horizontal fill setting, the default vertical gap, and the default alignment (TOP).

 o LeftSideLayout
 public LeftSideLayout(int alignment,
                       int gap,
                       boolean fill)

Methods

 o setAlignment
 public void setAlignment(int alignment)
Sets the alignment. The alignment should be TOP, CENTER, or BOTTOM.

 o getAlignment
 public int getAlignment()
 o setVgap
 public void setVgap(int gap)
Sets the vertical gap.

 o getVgap
 public int getVgap()
 o setFill
 public void setFill(boolean fill)
Sets the horizontal fill property to the given value.

 o getFill
 public boolean getFill()
 o addLayoutComponent
 public void addLayoutComponent(String name,
                                Component comp)
 o removeLayoutComponent
 public void removeLayoutComponent(Component comp)
 o minimumLayoutSize
 public Dimension minimumLayoutSize(Container parent)
 o preferredLayoutSize
 public Dimension preferredLayoutSize(Container parent)
 o layoutContainer
 public void layoutContainer(Container parent)

All Packages  Class Hierarchy  This Package  Previous  Next  Index