public class ContextMenuEvent extends DomEvent<ContextMenuHandler>
DomEvent.Type<H extends EventHandler>| Modifier | Constructor and Description |
|---|---|
protected |
ContextMenuEvent()
Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire context menu events. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(ContextMenuHandler handler)
Should only be called by
HandlerManager. |
DomEvent.Type<ContextMenuHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<ContextMenuHandler> |
getType()
Gets the event type associated with context menu events.
|
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagationassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringprotected ContextMenuEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire context menu events.public static DomEvent.Type<ContextMenuHandler> getType()
public final DomEvent.Type<ContextMenuHandler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.getAssociatedType in class DomEvent<ContextMenuHandler>protected void dispatch(ContextMenuHandler handler)
GwtEventHandlerManager. In other words, do not use
or call.dispatch in class GwtEvent<ContextMenuHandler>handler - handlerEventBus.dispatchEvent(Event, Object)