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

Class gjt.RowLayout

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

public class RowLayout
extends Object
implements LayoutManager
RowLayout lays out components in a row. 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:
ColumnLayout, Orientation

Constructor Index

 o RowLayout()
 o RowLayout(int)
 o RowLayout(Orientation, Orientation)
 o RowLayout(Orientation, Orientation, int)

Method Index

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

Constructors

 o RowLayout
  public RowLayout()
 o RowLayout
  public RowLayout(int gap)
 o RowLayout
  public RowLayout(Orientation horizontalOrient,
                   Orientation verticalOrient)
 o RowLayout
  public RowLayout(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