Enum Constant and Description |
---|
ALLIANCE |
FACTION |
MOD |
PUBLIC |
TRUCE |
Modifier and Type | Method and Description |
---|---|
ChatMode |
getNext() |
boolean |
isAtLeast(ChatMode role) |
boolean |
isAtMost(ChatMode role) |
java.lang.String |
toString() |
static ChatMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatMode MOD
public static final ChatMode FACTION
public static final ChatMode ALLIANCE
public static final ChatMode TRUCE
public static final ChatMode PUBLIC
public final int value
public final TL nicename
public static ChatMode[] values()
for (ChatMode c : ChatMode.values()) System.out.println(c);
public static ChatMode 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 boolean isAtLeast(ChatMode role)
public boolean isAtMost(ChatMode role)
public java.lang.String toString()
toString
in class java.lang.Enum<ChatMode>
public ChatMode getNext()