public enum ChatMode extends Enum<ChatMode>
| Enum Constant and Description | 
|---|
ALL
All users can send message. 
 | 
ANCHOR
Only the master can send message. 
 | 
LOGIN
Only login user can send message. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
MODE_ALL  | 
static String | 
MODE_ANCHOR  | 
static String | 
MODE_LOGIN  | 
| Modifier and Type | Method and Description | 
|---|---|
static ChatMode | 
parseString(String modeStr)  | 
String | 
toString()  | 
static ChatMode | 
valueOf(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 ALL
public static final ChatMode LOGIN
public static final ChatMode ANCHOR
public static final String MODE_ALL
public static final String MODE_LOGIN
public static final String MODE_ANCHOR
public static ChatMode[] values()
for (ChatMode c : ChatMode.values()) System.out.println(c);
public static ChatMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null