public enum StringAlignment extends java.lang.Enum<StringAlignment>
This enumeration class defines the multi-line text layout type constant.
| Enum Constant and Description |
|---|
CENTER |
DISTRIBUTED |
LEFT |
RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static StringAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringAlignment[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final StringAlignment CENTER
public static final StringAlignment DISTRIBUTED
public static final StringAlignment LEFT
public static final StringAlignment RIGHT
public static StringAlignment[] values()
for (StringAlignment c : StringAlignment.values())
System.out.println(c);
public static StringAlignment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null