FlowLayout.FlowLayout

FlowLayout.FlowLayout

Class Overview | Class Members | This Package | All Packages

Syntax 1
public FlowLayout()
Description
Constructs a new Flow Layout with a centered alignment and a default 5-unit horizontal and vertical gap.



Syntax 2
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.



Syntax 3
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.


Send feedback to MSDN.Look here for MSDN Online resources.