public enum EmotionalState extends java.lang.Enum<EmotionalState>
Enum Constant and Description |
---|
AFRAID |
ANGER |
BAD |
BORED |
CALM |
CONFIDENT |
COURAGEOUS |
CRYING |
DISLIKE |
ECSTATIC |
GOOD |
GREAT |
HAPPY |
HATE |
LAUGHTER |
LIKE |
LOVE |
NONE |
PANIC |
RAGE |
SAD |
SERENE |
SERIOUS |
SURPRISE |
TERRIBLE |
Modifier and Type | Method and Description |
---|---|
void |
apply(Vertex vertex)
Apply the emotion to the vertex.
|
Primitive |
primitive() |
static EmotionalState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmotionalState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmotionalState NONE
public static final EmotionalState LOVE
public static final EmotionalState LIKE
public static final EmotionalState DISLIKE
public static final EmotionalState HATE
public static final EmotionalState RAGE
public static final EmotionalState ANGER
public static final EmotionalState CALM
public static final EmotionalState SERENE
public static final EmotionalState ECSTATIC
public static final EmotionalState HAPPY
public static final EmotionalState SAD
public static final EmotionalState CRYING
public static final EmotionalState PANIC
public static final EmotionalState AFRAID
public static final EmotionalState CONFIDENT
public static final EmotionalState COURAGEOUS
public static final EmotionalState SURPRISE
public static final EmotionalState BORED
public static final EmotionalState LAUGHTER
public static final EmotionalState SERIOUS
public static final EmotionalState GOOD
public static final EmotionalState GREAT
public static final EmotionalState TERRIBLE
public static final EmotionalState BAD
public static EmotionalState[] values()
for (EmotionalState c : EmotionalState.values()) System.out.println(c);
public static EmotionalState 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 Primitive primitive()
public void apply(Vertex vertex)