|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Notoriety> net.sf.juoserver.model.Notoriety
public enum Notoriety
Enum Constant Summary | |
---|---|
AttackableNotCriminal
Gray. |
|
Criminal
Gray. |
|
Enemy
Orange. |
|
Guilded
Ally (green). |
|
Innocent
Blue. |
|
Invalid
Across server line. |
|
Murderer
Red. |
|
Unknown
Translucent, like 0x4000 hue. |
Method Summary | |
---|---|
int |
getCode()
|
static Notoriety |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Notoriety[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 Notoriety Invalid
public static final Notoriety Innocent
public static final Notoriety Guilded
public static final Notoriety AttackableNotCriminal
public static final Notoriety Criminal
public static final Notoriety Enemy
public static final Notoriety Murderer
public static final Notoriety Unknown
Method Detail |
---|
public static Notoriety[] values()
for (Notoriety c : Notoriety.values()) System.out.println(c);
public static Notoriety valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getCode()
getCode
in interface Coded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |