borland Packages  Class Hierarchy  dbswing Package 

ColumnLayout component

java.lang.Object
   +----com.borland.dbswing.ColumnLayout

About the ColumnLayout component

Variables  Constructors  Properties  Methods  

Implements LayoutManager, Serializable

Note: This is a feature of JBuilder Professional and Enterprise.

The ColumnLayout layout manager lays out components vertically in a single column. It is a convenient layout for building columns of display labels with adjacent entry fields.

It has the following properties:


ColumnLayout variables

Variables implemented in this class

ColumnLayout constructors

ColumnLayout properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

ColumnLayout methods

Methods implemented in this class

Methods implemented in java.lang.Object


ColumnLayout variables

BOTTOM

  public static final int BOTTOM = 2

LEFT

  public static final int LEFT = 0

MIDDLE

  public static final int MIDDLE = 1

RIGHT

  public static final int RIGHT = 2

TOP

  public static final int TOP = 0

ColumnLayout constructors

ColumnLayout()

  public ColumnLayout()
Constructs a default ColumnLayout with TOP LEFT alignment, and horizontal and vertical fill set to false.

ColumnLayout(int, int, int, boolean, boolean)

  public ColumnLayout(int verticalAlignment, int hgap, int vgap, boolean fillWidth, boolean fillHeight)
Construct a new ColumnLayout with the following parameters.

Parameters:

verticalAlignment
The alignment value
hgap
The horizontal gap value
vgap
The vertical gap value
fillWidth
Whether (last component extends) to fill width
fillHeight
Whether (last component extends) to fill height

ColumnLayout properties

hgap

 public int getHgap()
 public void setHgap(int hgap)
Returns and sets the horizontal gap between components.

horizontalAlignment

 public int getHorizontalAlignment()
 public void setHorizontalAlignment(int horizontalAlignment)
Returns and sets the horizontal alignment (either ColumnLayout.LEFT, ColumnLayout.MIDDLE, or ColumnLayout.RIGHT) of components managed by ColumnLayout.

horizontalFill

 public boolean getHorizontalFill()
 public void setHorizontalFill(boolean fillWidth)
Returns and sets whether every component added to the layout should be extended horizontally to fill the width of the container.

verticalAlignment

 public int getVerticalAlignment()
 public void setVerticalAlignment(int verticalAlignment)
Returns and sets the vertical alignment (either ColumnLayout.TOP, ColumnLayout.MIDDLE, or ColumnLayout.BOTTOM) of components managed by ColumnLayout.

verticalFill

 public boolean getVerticalFill()
 public void setVerticalFill(boolean fillHeight)
Returns and sets whether the last component added to the layout should be extended vertically to fill the height of the container.

vgap

 public int getVgap()
 public void setVgap(int vgap)
Returns and sets the vertical gap between components.