Java org.w3c.dom.events Event fields, constructors, methods, implement or subclass

Example usage for Java org.w3c.dom.events Event fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.w3c.dom.events Event.

The text is from its open source code.

Field

shortCAPTURING_PHASE
The current event phase is the capturing phase.
shortAT_TARGET
The event is currently being evaluated at the target EventTarget.
shortBUBBLING_PHASE
The current event phase is the bubbling phase.

Method

booleangetCancelable()
Used to indicate whether or not an event can have its default action prevented.
EventTargetgetCurrentTarget()
Used to indicate the EventTarget whose EventListeners are currently being processed.
shortgetEventPhase()
Used to indicate which phase of event flow is currently being evaluated.
EventTargetgetTarget()
Used to indicate the EventTarget to which the event was originally dispatched.
StringgetType()
The name of the event (case-insensitive).
voidpreventDefault()
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.
voidstopPropagation()
The stopPropagation method is used prevent further propagation of an event during event flow.