|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EnumStatus> com.web_visage.ichat.EnumStatus
public enum EnumStatus
Typesafe enumeration of the iChat user statuses.
Enum Constant Summary | |
---|---|
AWAY
|
|
DND
|
|
NO_MASS
|
|
NORMAL
normal (available) state |
Method Summary | |
---|---|
static EnumStatus |
getByValue(int aValue)
Find the status by its numeric value. |
int |
getValue()
Returns the numeric status value. |
static EnumStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EnumStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EnumStatus NORMAL
public static final EnumStatus AWAY
public static final EnumStatus NO_MASS
public static final EnumStatus DND
Method Detail |
---|
public static final EnumStatus[] values()
for(EnumStatus c : EnumStatus.values()) System.out.println(c);
public static EnumStatus 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 namepublic static EnumStatus getByValue(int aValue) throws EnumerationValueNotFoundException
aValue
-
EnumerationValueNotFoundException
public int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |