Label.setAlignment

Label.setAlignment

Class Overview | Class Members | This Package | All Packages

Syntax
public synchronized void setAlignment( int alignment )
Parameters
alignment
the alignment to be set.
Description
Sets the alignment for this label to the specified alignment. Possible values are Label.LEFT, Label.RIGHT, and Label.CENTER.

Exceptions
IllegalArgumentException if an improper value for alignment is given.
See Also
getAlignment