| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addEventListener(String
The event type for which the user is registering type, EventListener The listener, boolean listener parameter takes an interface
implemented by the user which contains the methods to be called
when the event occurs.If true, useCapture)useCapture indicates that the
user wishes to initiate capture. After initiating capture, all
events of the specified type will be dispatched to the registered
EventListener before being dispatched to any
EventTargets beneath them in the tree. Events which
are bubbling upward through the tree will not trigger an
EventListener designated to use capture.Implements org. This method allows the registration of event listeners on the event target. |
| pack-priv static native void | |
| pack-priv static EventTarget | |
| public boolean | dispatchEvent(Event
Specifies the event type, behavior, and contextual
information to be used in processing the event. event)Implements org. This method allows the dispatch of events into the implementations event model. |
| pack-priv static native boolean | |
| private static native void | |
| public boolean | equals(Object
the reference object with which to compare. that)Overrides java. Indicates whether some other object is "equal to" this one. |
| pack-priv static EventTarget | |
| pack-priv long | |
| pack-priv static long | |
| public int | |
| public void | removeEventListener(String
Specifies the event type of the type, EventListener EventListener
being removed.The listener, boolean EventListener parameter indicates the
EventListener to be removed.Specifies whether the useCapture)EventListener
being removed was registered as a capturing listener or not. If a
listener was registered twice, one with capture and one without,
each must be removed separately. Removal of a capturing listener
does not affect a non-capturing version of the same listener, and
vice versa.Implements org. This method allows the removal of event listeners from the event target. |
| pack-priv static native void |
| peer | back to summary |
|---|---|
| private final long peer | |
| EventTargetImpl | back to summary |
|---|---|
| pack-priv EventTargetImpl(long peer) | |
| addEventListener | back to summary |
|---|---|
| public void addEventListener(String type, EventListener listener, boolean useCapture) Implements org. Doc from org. This method allows the registration of event listeners on the event
target. If an
| |
| addEventListenerImpl | back to summary |
|---|---|
| pack-priv static native void addEventListenerImpl(long peer, String type, long listener, boolean useCapture) | |
| create | back to summary |
|---|---|
| pack-priv static EventTarget create(long peer) | |
| dispatchEvent | back to summary |
|---|---|
| public boolean dispatchEvent(Event event) throws DOMException Implements org. Doc from org. This method allows the dispatch of events into the implementations
event model. Events dispatched in this manner will have the same
capturing and bubbling behavior as events dispatched directly by the
implementation. The target of the event is the
| |
| dispatchEventImpl | back to summary |
|---|---|
| pack-priv static native boolean dispatchEventImpl(long peer, long event) | |
| dispose | back to summary |
|---|---|
| private static native void dispose(long peer) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object that) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getImpl | back to summary |
|---|---|
| pack-priv static EventTarget getImpl(long peer) | |
| getPeer | back to summary |
|---|---|
| pack-priv long getPeer() | |
| getPeer | back to summary |
|---|---|
| pack-priv static long getPeer(EventTarget arg) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| removeEventListener | back to summary |
|---|---|
| public void removeEventListener(String type, EventListener listener, boolean useCapture) Implements org. Doc from org. This method allows the removal of event listeners from the event
target. If an
| |
| removeEventListenerImpl | back to summary |
|---|---|
| pack-priv static native void removeEventListenerImpl(long peer, String type, long listener, boolean useCapture) | |
| Modifier and Type | Field and Description |
|---|---|
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| peer | back to summary |
|---|---|
| private final long peer | |
| SelfDisposer | back to summary |
|---|---|
| pack-priv SelfDisposer(final long peer) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com. | |