jchrest.architecture
Enum Emotion.EkmanBasicEmotion
java.lang.Object
java.lang.Enum<Emotion.EkmanBasicEmotion>
jchrest.architecture.Emotion.EkmanBasicEmotion
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Emotion.EkmanBasicEmotion>
- Enclosing class:
- Emotion
public static enum Emotion.EkmanBasicEmotion
- extends java.lang.Enum<Emotion.EkmanBasicEmotion>
Basic emotions according to (Ekman, 1999).
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 |
AMUSEMENT
public static final Emotion.EkmanBasicEmotion AMUSEMENT
ANGER
public static final Emotion.EkmanBasicEmotion ANGER
CONTEMPT
public static final Emotion.EkmanBasicEmotion CONTEMPT
CONTENTMENT
public static final Emotion.EkmanBasicEmotion CONTENTMENT
DISGUST
public static final Emotion.EkmanBasicEmotion DISGUST
EMBARASSMENT
public static final Emotion.EkmanBasicEmotion EMBARASSMENT
EXCITEMENT
public static final Emotion.EkmanBasicEmotion EXCITEMENT
FEAR
public static final Emotion.EkmanBasicEmotion FEAR
GUILT
public static final Emotion.EkmanBasicEmotion GUILT
PRIDEINACHIEVEMENT
public static final Emotion.EkmanBasicEmotion PRIDEINACHIEVEMENT
RELIEF
public static final Emotion.EkmanBasicEmotion RELIEF
SADNESSDISTRESS
public static final Emotion.EkmanBasicEmotion SADNESSDISTRESS
SATISFACTION
public static final Emotion.EkmanBasicEmotion SATISFACTION
SENSORYPLEASURE
public static final Emotion.EkmanBasicEmotion SENSORYPLEASURE
SHAME
public static final Emotion.EkmanBasicEmotion SHAME
theory
public Emotion.EmotionTheory theory
values
public static Emotion.EkmanBasicEmotion[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Emotion.EkmanBasicEmotion c : Emotion.EkmanBasicEmotion.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Emotion.EkmanBasicEmotion valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getTheory
public Emotion.EmotionTheory getTheory()
- retrieves the theory that the basic emotion is associated with