Enum Constant and Description |
---|
ENTER |
EXIT |
FAR |
IMMEDIATE |
NEAR |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
text |
Modifier and Type | Method and Description |
---|---|
static EventType |
fromString(java.lang.String typeString) |
boolean |
isRangingEvent() |
java.lang.String |
toString() |
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType ENTER
public static final EventType EXIT
public static final EventType IMMEDIATE
public static final EventType NEAR
public static final EventType FAR
public static final EventType UNKNOWN
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 EventType fromString(java.lang.String typeString)
public java.lang.String toString()
toString
in class java.lang.Enum<EventType>
public boolean isRangingEvent()