H - handler typepublic static class DomEvent.Type<H extends EventHandler> extends GwtEvent.Type<H>
| Constructor and Description |
|---|
Type(java.lang.String eventName,
DomEvent<H> flyweight)
This constructor allows dom event types to be triggered by the
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, HasHandlers)
method. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name associated with this event type.
|
hashCode, toStringpublic Type(java.lang.String eventName,
DomEvent<H> flyweight)
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, HasHandlers)
method. It should only be used by implementors supporting new dom events.
Any such dom event type must act as a flyweight around a native event object.
eventName - the raw native event nameflyweight - the instance that will be used as a flyweight to wrap a
native event