org.yasl.layout
Class YASLVerticalFlowLayout
java.lang.Object
org.yasl.layout.YASLVerticalFlowLayout
- All Implemented Interfaces:
- LayoutManager
- public class YASLVerticalFlowLayout
- extends Object
- implements LayoutManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NORMALIZE_CTRL_SIZE
public static final int NORMALIZE_CTRL_SIZE
- See Also:
- Constant Field Values
MAXIMIZE_CTRL_SIZE
public static final int MAXIMIZE_CTRL_SIZE
- See Also:
- Constant Field Values
STANDARD_CTRL_SIZE
public static final int STANDARD_CTRL_SIZE
- See Also:
- Constant Field Values
YASLVerticalFlowLayout
public YASLVerticalFlowLayout()
YASLVerticalFlowLayout
public YASLVerticalFlowLayout(int align,
int hgap,
int vgap)
YASLVerticalFlowLayout
public YASLVerticalFlowLayout(int align,
int hgap,
int vgap,
int controlSize)
getAlign
public int getAlign()
setAlign
public void setAlign(int _align)
getHgap
public int getHgap()
setHgap
public void setHgap(int _hgap)
getVgap
public int getVgap()
setVgap
public void setVgap(int _vgap)
getControlSize
public int getControlSize()
setControlSize
public void setControlSize(int _controlSize)
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
- Specified by:
addLayoutComponent in interface LayoutManager
removeLayoutComponent
public void removeLayoutComponent(Component comp)
- Specified by:
removeLayoutComponent in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize in interface LayoutManager
layoutContainer
public void layoutContainer(Container parent)
- Lays out the container from top to bottom. The items are aligned from
the top. Items are positioned horizontally according to alignment.
If expandControls is set to true, then all components will be resized to
be the same width.
- Specified by:
layoutContainer in interface LayoutManager
- Parameters:
parent - Container