public static class

DomEvent.Type

extends GwtEvent.Type<H>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent.Type<H>
     ↳ com.google.gwt.event.dom.client.DomEvent.Type<H extends com.google.gwt.event.shared.EventHandler>

Class Overview

Type class used by dom event subclasses. Type is specialized for dom in order to carry information about the native event.

Summary

Public Constructors
DomEvent.Type(String eventName, DomEvent<H> flyweight)
This constructor allows dom event types to be triggered by the fireNativeEvent(com.google.gwt.dom.client.NativeEvent, HasHandlers) method.
Public Methods
String getName()
Gets the name associated with this event type.
[Expand]
Inherited Methods
From class com.google.gwt.event.shared.GwtEvent.Type
From class java.lang.Object

Public Constructors

public DomEvent.Type (String eventName, DomEvent<H> flyweight)

This constructor allows dom event types to be triggered by the 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.

Parameters
eventName the raw native event name
flyweight the instance that will be used as a flyweight to wrap a native event

Public Methods

public String getName ()

Gets the name associated with this event type.

Returns
  • the name of this event type