public static enum Leader.Alignment extends Enum<Leader.Alignment>
Enum Constant and Description |
---|
CENTER
Alignment CENTER signify that text is centered around the leader position
|
LEFT
Alignment LEFT signify that text should run to the right of the leader position
|
RIGHT
Alignment RIGHT signify that text should run to the left of the leader position
|
Modifier and Type | Method and Description |
---|---|
static Leader.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Leader.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Leader.Alignment LEFT
public static final Leader.Alignment RIGHT
public static final Leader.Alignment CENTER
public static Leader.Alignment[] values()
for (Leader.Alignment c : Leader.Alignment.values()) System.out.println(c);
public static Leader.Alignment 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 null