borland Packages Class Hierarchy jbcl.layout Package Index
java.lang.Object +----java.awt.FlowLayout +----borland.jbcl.layout.VerticalFlowLayout
Variables Constructors Properties Methods
Implements LayoutManager, Serializable
VerticalFlowLayout is similar to FlowLayout except that it lays out components vertically. It extends FlowLayout and mimics much of the behavior of the FlowLayout class.
VerticalFlowLayout allows you to specify a Fill to Edge flag, which causes the VerticalFlowLayout manager to resize all components to expand to the column width
Warning: This causes problems when the main panel has less space than it needs. It also prohibits multi-column output.
VerticalFlowLayout also has a verticalFill property, which fills the last component to the remaining height of the container.
public static final int BOTTOM = 2
public static final int MIDDLE = 1
public static final int TOP = 0
public VerticalFlowLayout()Constructs a new VerticalFlowLayout with a middle alignment, and the Fill to Edge flag set.
public VerticalFlowLayout(boolean hfill, boolean vfill)Constructs a new VerticalFlowLayout with a middle alignment.
Parameters:
public VerticalFlowLayout(int align)Constructs a new VerticalFlowLayout with a middle alignment.
Parameters:
public VerticalFlowLayout(int align, boolean hfill, boolean vfill)Constructs a new VerticalFlowLayout.
Parameters:
public VerticalFlowLayout(int align, int hgap, int vgap, boolean hfill, boolean vfill)Constructs a new VerticalFlowLayout.
Parameters:
public boolean getHorizontalFill() public void setHorizontalFill(boolean hfill)
public boolean getVerticalFill() public void setVerticalFill(boolean vfill)