Overview | Methods | This Package | All Packages
Sets the current alignment.
Syntax
public void setTextAlign( int newAlignment )
Parameters
newAlignment
This can be either right-aligned (LeftRightAlignment.RIGHT) or left-aligned (LeftRightAlignment.LEFT).
Exceptions
WFCInvalidEnumException thrown if newAlignment is not a valid alignment.
Remarks
The following example demonstrates radio button alignment:
RIGHT: Right-Aligned Label
LEFT: Left-Aligned Label
See Also getTextAlign