Package com.google.gwt.dom.client
Class EventTarget
- java.lang.Object
-
- com.google.gwt.core.client.JavaScriptObject
-
- com.google.gwt.dom.client.EventTarget
-
public class EventTarget extends JavaScriptObject
Represents the target of a JavaScript event.This type is returned from methods such as
NativeEvent.getEventTarget()
, and must usually be cast to another type using methods such asElement.is(JavaScriptObject)
andElement.as(JavaScriptObject)
.This class intentionally does not specify the methods from the DOM IDL (dispatchEvent, addEventListener, and removeEventListener).
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EventTarget()
-
Method Summary
-
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
-