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