public enum EnumRulesGuiState extends java.lang.Enum<EnumRulesGuiState>
| Enum Constant and Description |
|---|
Accept |
Propose |
WaitAccept |
WaitChange |
WaitPropose |
| Modifier and Type | Method and Description |
|---|---|
static EnumRulesGuiState |
getFromOrdinal(int ordinal)
Gets the state corresponding to an enum ordinal.
|
static EnumRulesGuiState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumRulesGuiState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumRulesGuiState Propose
public static final EnumRulesGuiState Accept
public static final EnumRulesGuiState WaitPropose
public static final EnumRulesGuiState WaitAccept
public static final EnumRulesGuiState WaitChange
public static EnumRulesGuiState[] values()
for (EnumRulesGuiState c : EnumRulesGuiState.values()) System.out.println(c);
public static EnumRulesGuiState 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 static EnumRulesGuiState getFromOrdinal(int ordinal)
ordinal - The ordinal of the enum to get.