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