public static enum Emotion.PlutchikBasicEmotion extends java.lang.Enum<Emotion.PlutchikBasicEmotion>
Enum Constant and Description |
---|
ANGER |
ANTICIPATION |
DISGUST |
FEAR |
JOY |
SADNESS |
SURPRISE |
TRUST |
Modifier and Type | Field and Description |
---|---|
Emotion.EmotionTheory |
theory |
Modifier and Type | Method and Description |
---|---|
Emotion.EmotionTheory |
getTheory()
retrieves the theory that the basic emotion is associated with
|
static Emotion.PlutchikBasicEmotion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Emotion.PlutchikBasicEmotion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Emotion.PlutchikBasicEmotion JOY
public static final Emotion.PlutchikBasicEmotion TRUST
public static final Emotion.PlutchikBasicEmotion FEAR
public static final Emotion.PlutchikBasicEmotion SURPRISE
public static final Emotion.PlutchikBasicEmotion SADNESS
public static final Emotion.PlutchikBasicEmotion DISGUST
public static final Emotion.PlutchikBasicEmotion ANGER
public static final Emotion.PlutchikBasicEmotion ANTICIPATION
public Emotion.EmotionTheory theory
public static Emotion.PlutchikBasicEmotion[] values()
for (Emotion.PlutchikBasicEmotion c : Emotion.PlutchikBasicEmotion.values()) System.out.println(c);
public static Emotion.PlutchikBasicEmotion 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 Emotion.EmotionTheory getTheory()