java.lang.Object | |
↳ | org.apache.xerces.dom.events.EventImpl |
Known Direct Subclasses |
EventImpl is an implementation of the basic "generic" DOM Level 2 Event object. It may be subclassed by more specialized event sets. Note that in our implementation, events are re-dispatchable (dispatch clears the stopPropagation and preventDefault flags before it starts); I believe that is the DOM's intent but I don't see an explicit statement to this effect.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.w3c.dom.events.Event
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
bubbles | |||||||||||
cancelable | |||||||||||
currentTarget | |||||||||||
eventPhase | |||||||||||
initialized | |||||||||||
preventDefault | |||||||||||
stopPropagation | |||||||||||
target | |||||||||||
timeStamp | |||||||||||
type |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The DOM doesn't deal with constructors, so instead we have an
initializer call to set most of the read-only fields.
| |||||||||||
Prevents any default processing built into the target node from
occurring.
| |||||||||||
Causes exit from in-progress event dispatch before the next
currentTarget is selected.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.w3c.dom.events.Event
|
The DOM doesn't deal with constructors, so instead we have an initializer call to set most of the read-only fields. The others are set, and reset, by the event subsystem during dispatch.
Note that init() -- and the subclass-specific initWhatever() calls -- may be reinvoked. At least one initialization is required; repeated initializations overwrite the event with new values of their parameters.
Prevents any default processing built into the target node from occurring.
Causes exit from in-progress event dispatch before the next currentTarget is selected. Replaces the preventBubble() and preventCapture() methods which were present in early drafts; they may be reintroduced in future levels of the DOM.