Example usage for Java org.w3c.dom.events Event fields, constructors, methods, implement or subclass
The text is from its open source code.
short | CAPTURING_PHASE The current event phase is the capturing phase. |
short | AT_TARGET The event is currently being evaluated at the target EventTarget . |
short | BUBBLING_PHASE The current event phase is the bubbling phase. |
boolean | getCancelable() Used to indicate whether or not an event can have its default action prevented. |
EventTarget | getCurrentTarget() Used to indicate the EventTarget whose EventListeners are currently being processed. |
short | getEventPhase() Used to indicate which phase of event flow is currently being evaluated. |
EventTarget | getTarget() Used to indicate the EventTarget to which the event was originally dispatched. |
String | getType() The name of the event (case-insensitive). |
void | preventDefault() If an event is cancelable, the preventDefault method is used to signify that the event is to be canceled, meaning any default action normally taken by the implementation as a result of the event will not occur. |
void | stopPropagation() The stopPropagation method is used prevent further propagation of an event during event flow. |