DhCheckBox.setTextAlign

Overview | Methods | This Package | All Packages

DhCheckBox.setTextAlign

Sets the current alignment.

Syntax

public void setTextAlign( int newAlignment )

Parameters

newAlignment

The new alignment, which can be either LeftRightAlignment.RIGHT or LeftRightAlignment.LEFT.

Remarks

The following example demonstrates check box alignment:

RIGHT:    Right Aligned Label 
LEFT:      Left Aligned Label 

See Also   getTextAlign