wt.clients.step
Class StackLayout
java.lang.Object
wt.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_vgap
private int _vgap
_border
private int _border
StackLayout
public StackLayout()
StackLayout
public StackLayout(int border,
int vgap)
StackLayout
public StackLayout(int vgap)
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