RadioButton.setTextAlign

Overview | Methods | This Package | All Packages

RadioButton.setTextAlign

Sets a value that indicates where the text for the RadioButton control is positioned relative to the circle that shows whether the option is turned on or off.

Syntax

public final void setTextAlign( int value )

Parameters

value

An integer that specifies the current position of the text relative to the circle. Possible values are constants defined in the LeftRightAlignment class. If the value is LeftRightAlignment.RIGHT (default), the text appears to the right of the circle. If the value is LeftRightAlignment.LEFT, the text appears to the left of the circle. The default value is LeftRightAlignment.RIGHT.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid LeftRightAlignment constant.

See Also   getTextAlign