Overview | Methods | This Package | All Packages
Retrieves a value indicating whether the text in the panel is left-aligned, right-aligned, or centered.
Syntax
public int getAlignment()
Return Value
Returns an integer that represents the alignment of the text in the panel. Possible return values are constants defined in the HorizontalAlignment class.
See Also setAlignment