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