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