public enum Horizontal extends Enum<Horizontal>
| Enum Constant and Description |
|---|
CENTER
Aligned to both the left and right margin.
|
LEFT
Aligned to the left margin.
|
RIGHT
Aligned to the right margin.
|
| Modifier and Type | Method and Description |
|---|---|
static Horizontal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Horizontal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Horizontal LEFT
public static final Horizontal CENTER
public static final Horizontal RIGHT
public static Horizontal[] values()
for (Horizontal c : Horizontal.values()) System.out.println(c);
public static Horizontal 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