All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class datarep.common.BottomLayout

java.lang.Object
   |
   +----datarep.common.BottomLayout

public class BottomLayout
extends Object
implements LayoutManager, Serializable
The BottomLayout lays out objects in a bottom justified, horizontal row.
They can be aligned left, right, or centered. It is also possible to set the horizontal gap, and whether the components should fill vertically any extra space.

Version:
1.2
Author:
Data Representations, Inc.

Variable Index

 o CENTER
 o LEFT
 o RIGHT

Constructor Index

 o BottomLayout()
creates a BottomLayout with the default values of gap=0, alignment=LEFT, vertical fill=false
 o BottomLayout(boolean)
creates a BottomLayout with specified value for vertical fill, and default values for gap and alignment.
 o BottomLayout(int)
creates a BottomLayout with the specified alignment, and default values for gap and vertical fill.
 o BottomLayout(int, int)
creates a BottomLayout with the specified alignment and gap, and the default value for vertical fill.
 o BottomLayout(int, int, boolean)
creates a BottomLayout with the specified values for alignment, gap, and vertical fill.

Method Index

 o addLayoutComponent(String, Component)
 o getAlignment()
 o getFill()
 o getHgap()
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)
 o setAlignment(int)
sets the aligments of objects in the bottom layout.
 o setFill(boolean)
Sets whether empty vertical space is filled or not.
 o setHgap(int)
sets the Horizontal gap between elements.

Variables

 o LEFT
 public static final int LEFT
 o CENTER
 public static final int CENTER
 o RIGHT
 public static final int RIGHT

Constructors

 o BottomLayout
 public BottomLayout()
creates a BottomLayout with the default values of gap=0, alignment=LEFT, vertical fill=false

 o BottomLayout
 public BottomLayout(int alignment)
creates a BottomLayout with the specified alignment, and default values for gap and vertical fill.

 o BottomLayout
 public BottomLayout(int alignment,
                     int gap)
creates a BottomLayout with the specified alignment and gap, and the default value for vertical fill.

 o BottomLayout
 public BottomLayout(boolean fill)
creates a BottomLayout with specified value for vertical fill, and default values for gap and alignment.

 o BottomLayout
 public BottomLayout(int alignment,
                     int gap,
                     boolean fill)
creates a BottomLayout with the specified values for alignment, gap, and vertical fill.

Methods

 o setAlignment
 public void setAlignment(int alignment)
sets the aligments of objects in the bottom layout.

 o getAlignment
 public int getAlignment()
 o setHgap
 public void setHgap(int gap)
sets the Horizontal gap between elements.

 o getHgap
 public int getHgap()
 o setFill
 public void setFill(boolean fill)
Sets whether empty vertical space is filled or not.

 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