public static enum InfoSlotDisplayEvent.Position extends java.lang.Enum<InfoSlotDisplayEvent.Position> implements KeyedEnum
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
key |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Key is the label.
|
java.lang.String |
toString() |
static InfoSlotDisplayEvent.Position |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InfoSlotDisplayEvent.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfoSlotDisplayEvent.Position Top
public static final InfoSlotDisplayEvent.Position Bottom
public static InfoSlotDisplayEvent.Position[] values()
for (InfoSlotDisplayEvent.Position c : InfoSlotDisplayEvent.Position.values()) System.out.println(c);
public static InfoSlotDisplayEvent.Position 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 nullpublic java.lang.String getKey()
KeyedEnumpublic java.lang.String toString()
toString in class java.lang.Enum<InfoSlotDisplayEvent.Position>