public enum EEye extends java.lang.Enum<EEye>
JGDFixation
and
JGDSingleSample
.Enum Constant and Description |
---|
LEFT
Left eye
|
RIGHT
Right eye
|
UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static int |
parse(EEye e)
Parse input EGDEye enumeration value into integer representation
|
static EEye |
parse(int i)
Parse input integer value trying to identify the eye
|
static EEye |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EEye[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EEye LEFT
public static final EEye RIGHT
public static final EEye UNKNOWN
public static EEye[] values()
for (EEye c : EEye.values()) System.out.println(c);
public static EEye 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 static int parse(EEye e)
e
- - EGDEye value, representing eyeparse(int)
public static EEye parse(int i)
i
- - integer value, representing eyeparse(EEye)