FlowLayout.FlowLayout
Class Overview | Class Members |
This Package |
All Packages
public FlowLayout()
Description
Constructs a new Flow Layout with a centered alignment and a
default 5-unit horizontal and vertical gap.
public FlowLayout( int align )
Parameters
- align
- the alignment value
Description
Constructs a new Flow Layout with the specified alignment and a
default 5-unit horizontal and vertical gap.
The value of the alignment argument must be one of
FlowLayout.LEFT, FlowLayout.RIGHT,
or FlowLayout.CENTER.
public FlowLayout( int align,
int hgap,
int vgap )
Parameters
- align
- the alignment value.
- hgap
- the horizontal gap between components.
- vgap
- the vertical gap between components.
Description
Creates a new flow layout manager with the indicated alignment
and the indicated horizontal and vertical gaps.
The value of the alignment argument must be one of
FlowLayout.LEFT, FlowLayout.RIGHT,
or FlowLayout.CENTER.