CheckBox.setTextAlign

Overview | Methods | This Package | All Packages

CheckBox.setTextAlign

Sets a value that indicates where the text for the CheckBox control is positioned relative to the checkable box.

Syntax

public final void setTextAlign( int value )

Parameters

value

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

Exceptions

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

See Also   getTextAlign