Overview | Methods | This Package | All Packages
Sets a value indicating whether the text in the panel is left-aligned, right-aligned, or centered.
Syntax
public void setAlignment( int value )
Parameters
value
An integer that represents the alignment of the text in the panel. Possible values are constants defined in the HorizontalAlignment class. The default value is HorizontalAlignment.LEFT.
Exceptions
WFCInvalidEnumException thrown if the specified value is not a valid HorizontalAlignment constant.
See Also getAlignment