public enum TextAlign extends Enum<TextAlign>
| Enum Constant and Description |
|---|
CENTER
The text is centered.
|
END
The text is aligned at the normal end of the line (right-aligned for left-to-right locales,
left-aligned for right-to-left locales).
|
LEFT
The text is left-aligned.
|
RIGHT
The text is right-aligned.
|
START
The text is aligned at the normal start of the line (left-aligned for left-to-right locales,
right-aligned for right-to-left locales).
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TextAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAlign CENTER
public static final TextAlign END
public static final TextAlign LEFT
public static final TextAlign RIGHT
public static final TextAlign START
public static TextAlign[] values()
for (TextAlign c : TextAlign.values()) System.out.println(c);
public static TextAlign valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.