Class gjt.ColumnLayout
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.ColumnLayout

java.lang.Object
   |
   +----gjt.ColumnLayout

public class ColumnLayout
extends Object
implements LayoutManager
ColumnLayout lays out components in a column. At construction time, both horizontal orientation and vertical orientation may be specified, along with the gap to use between components.

Horizontal orientation must be one of the following:

LEFT
CENTER
RIGHT
Vertical orientation must be one of the following:
TOP
CENTER
BOTTOM
See Also:
Orientation, RowLayout

Constructor Index

 o ColumnLayout()
 o ColumnLayout(int)
 o ColumnLayout(Orientation, Orientation)
 o ColumnLayout(Orientation, Orientation, int)

Method Index

 o addLayoutComponent(String, Component)
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)

Constructors

 o ColumnLayout
  public ColumnLayout()
 o ColumnLayout
  public ColumnLayout(int gap)
 o ColumnLayout
  public ColumnLayout(Orientation horizontalOrient,
                      Orientation verticalOrient)
 o ColumnLayout
  public ColumnLayout(Orientation horizontalOrient,
                      Orientation verticalOrient,
                      int gap)

Methods

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index