public class TextAlignment extends Object
| Modifier and Type | Field and Description |
|---|---|
static TextAlignment |
TA_CENTER
The human-readable part is centered.
|
static TextAlignment |
TA_JUSTIFY
The human-readable part is justified.
|
static TextAlignment |
TA_LEFT
The human-readable part is left-aligned.
|
static TextAlignment |
TA_RIGHT
The human-readable part is right-aligned.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TextAlignment(String name)
Creates a new TextAlignment instance.
|
| Modifier and Type | Method and Description |
|---|---|
static TextAlignment |
byName(String name)
Returns a TextAlignment instance by name.
|
String |
getName() |
public static final TextAlignment TA_LEFT
public static final TextAlignment TA_CENTER
public static final TextAlignment TA_RIGHT
public static final TextAlignment TA_JUSTIFY
protected TextAlignment(String name)
name - the name for the instancepublic String getName()
public static TextAlignment byName(String name)
name - the name of the instanceCopyright © 2003–2023. All rights reserved.