public class MenuItemClickEvent extends AbstractSmartEvent<ClickHandler>
jsObj| Constructor and Description |
|---|
MenuItemClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
protected void | dispatch(ClickHandler handler) |
static <S extends HasClickHandlers & com.google.gwt.event.shared.HasHandlers> | fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj) Fires a open event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing. |
com.google.gwt.event.shared.GwtEvent.Type<ClickHandler> | getAssociatedType() |
int | getColNum() Index of the column the user clicked. |
MenuItem | getItem() The MenuItem that was clicked on. |
Menu | getMenu() |
Canvas | getTarget() for a menu shown as a context menu, the Canvas the menu was shown on. |
static com.google.gwt.event.shared.GwtEvent.Type<ClickHandler> | getType() Gets the type associated with this event. |
getFiringInstanceAsJavaScriptObjectassertLive, getSource, isLive, kill, revivepublic MenuItemClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasClickHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<ClickHandler> getType()
protected void dispatch(ClickHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<ClickHandler>public final com.google.gwt.event.shared.GwtEvent.Type<ClickHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ClickHandler>public Canvas getTarget()
public MenuItem getItem()
MenuItem that was clicked on.MenuItem that was clicked on.public int getColNum()