borland Packages  Class Hierarchy  jbcl.layout Package  Index 

VerticalFlowLayout component

java.lang.Object
   +----java.awt.FlowLayout
           +----borland.jbcl.layout.VerticalFlowLayout

About the VerticalFlowLayout component

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.


VerticalFlowLayout variables

Variables implemented in this class

Variables implemented in java.awt.FlowLayout

VerticalFlowLayout constructors

VerticalFlowLayout properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.awt.FlowLayout

Properties implemented in java.lang.Object

VerticalFlowLayout methods

Methods implemented in this class

Methods implemented in java.awt.FlowLayout

Methods implemented in java.lang.Object


VerticalFlowLayout variables

BOTTOM

  public static final int BOTTOM = 2

MIDDLE

  public static final int MIDDLE = 1

TOP

  public static final int TOP = 0

VerticalFlowLayout constructors

VerticalFlowLayout()

  public VerticalFlowLayout()
Constructs a new VerticalFlowLayout with a middle alignment, and the Fill to Edge flag set.

VerticalFlowLayout(boolean, boolean)

  public VerticalFlowLayout(boolean hfill, boolean vfill)
Constructs a new VerticalFlowLayout with a middle alignment.

Parameters:

hfill
The horizontal Fill to Edge flag.
vfill
The vertical Fill to Edge flag.

VerticalFlowLayout(int)

  public VerticalFlowLayout(int align)
Constructs a new VerticalFlowLayout with a middle alignment.

Parameters:

align
The alignment value. See Alignment variables for valid values.

VerticalFlowLayout(int, boolean, boolean)

  public VerticalFlowLayout(int align, boolean hfill, boolean vfill)
Constructs a new VerticalFlowLayout.

Parameters:

align
The alignment value. See Alignment variables for valid values.
hfill
The horizontal gap to fill.
vfill
The veritical gap to fill.

VerticalFlowLayout(int, int, int, boolean, boolean)

  public VerticalFlowLayout(int align, int hgap, int vgap, boolean hfill, boolean vfill)
Constructs a new VerticalFlowLayout.

Parameters:

align
The alignment value.
hgap
The horizontal gap variable.
vgap
The vertical gap variable.
hfill
The horizontal Fill to Edge flag.
vfill
The vertical Fill to Edge flag.

VerticalFlowLayout properties

horizontalFill

 public boolean getHorizontalFill()
 public void setHorizontalFill(boolean hfill)

verticalFill

 public boolean getVerticalFill()
 public void setVerticalFill(boolean vfill)