CheckBox.getTextAlign

Overview | Methods | This Package | All Packages

CheckBox.getTextAlign

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

Syntax

public final int getTextAlign()

Return Value

Returns an integer that specifies the current position of the text relative to the box. Possible return 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.

See Also   setTextAlign