Enum Constant and Description |
---|
AJAX |
DOM_CONTENT_LOADED |
KEYBOARD |
LOAD |
MOUSE |
OTHER |
TIMEOUT |
UNKNOWN |
UNLOAD |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.String> |
getAllEventTypeNames()
All event type names, e.g.
|
static java.util.Collection<java.lang.String> |
getEventHandlerAttributeNames(EventType type)
The DOM element attribute names that can trigger the event type, e.g.
|
static EventType |
getEventHandlerTypeFromAttributeName(java.lang.String eventName)
The event type that can be triggered by the DOM element attribute name, e.g.
|
static EventType |
getEventHandlerTypeFromString(java.lang.String typeString) |
java.lang.String |
getName() |
boolean |
isUserEvent() |
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 AJAX
public static final EventType DOM_CONTENT_LOADED
public static final EventType KEYBOARD
public static final EventType LOAD
public static final EventType MOUSE
public static final EventType OTHER
public static final EventType TIMEOUT
public static final EventType UNKNOWN
public static final EventType UNLOAD
public static java.util.Set<java.lang.String> getAllEventTypeNames()
public static java.util.Collection<java.lang.String> getEventHandlerAttributeNames(EventType type)
public static EventType getEventHandlerTypeFromAttributeName(java.lang.String eventName)
public static EventType getEventHandlerTypeFromString(java.lang.String typeString)
public java.lang.String getName()
public boolean isUserEvent()
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[] values()
for (EventType c : EventType.values()) System.out.println(c);
Copyright © 2009-2019 Aarhus University