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