wt.clients.step
Class StackLayout

java.lang.Object
  extended bywt.clients.step.StackLayout
All Implemented Interfaces:
LayoutManager

public class StackLayout
extends Object
implements LayoutManager

A layoutManager which stacks components one on top of the other, regardless of their size.


Field Summary
private  int _border
           
private  int _vgap
           
 
Constructor Summary
StackLayout()
           
StackLayout(int vgap)
           
StackLayout(int border, int vgap)
           
 
Method Summary
 void addLayoutComponent(String name, Component comp)
           
 void layoutContainer(Container parent)
           
 Dimension minimumLayoutSize(Container parent)
           
 Dimension preferredLayoutSize(Container parent)
           
 void removeLayoutComponent(Component comp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_vgap

private int _vgap

_border

private int _border
Constructor Detail

StackLayout

public StackLayout()

StackLayout

public StackLayout(int border,
                   int vgap)

StackLayout

public StackLayout(int vgap)
Method Detail

addLayoutComponent

public void addLayoutComponent(String name,
                               Component comp)
Specified by:
addLayoutComponent in interface LayoutManager

preferredLayoutSize

public Dimension preferredLayoutSize(Container parent)
Specified by:
preferredLayoutSize in interface LayoutManager

layoutContainer

public void layoutContainer(Container parent)
Specified by:
layoutContainer in interface LayoutManager

minimumLayoutSize

public Dimension minimumLayoutSize(Container parent)
Specified by:
minimumLayoutSize in interface LayoutManager

removeLayoutComponent

public void removeLayoutComponent(Component comp)
Specified by:
removeLayoutComponent in interface LayoutManager