H
- handler typepublic static class DomEvent.Type<H extends EventHandler> extends GwtEvent.Type<H>
Constructor and Description |
---|
Type(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 |
---|---|
String |
getName()
Gets the name associated with this event type.
|
public Type(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 eventpublic String getName()
Copyright © 2018. All rights reserved.