public class

ContextMenuEvent

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

Class Overview

Represents a native context menu event.

Summary

Protected Constructors
ContextMenuEvent()
Public Methods
final Type<ContextMenuHandler> getAssociatedType()
Returns the type used to register this event.
static Type<ContextMenuHandler> getType()
Gets the event type associated with context menu events.
Protected Methods
void dispatch(ContextMenuHandler handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.dom.client.DomEvent
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object
From interface com.google.gwt.event.dom.client.HasNativeEvent

Protected Constructors

protected ContextMenuEvent ()

Public Methods

public final Type<ContextMenuHandler> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public static Type<ContextMenuHandler> getType ()

Gets the event type associated with context menu events.

Returns
  • the handler type

Protected Methods

protected void dispatch (ContextMenuHandler handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler