public class TabContextMenuEvent extends BrowserEvent<TabContextMenuHandler> implements Cancellable
jsObj
Constructor and Description |
---|
TabContextMenuEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel default right-click behavior
|
protected void |
dispatch(TabContextMenuHandler handler) |
static <S extends HasTabContextMenuHandlers & 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<TabContextMenuHandler> |
getAssociatedType() |
Tab |
getTab()
the tab object that recieved the context click event
|
TabSet |
getTabSet()
This tabset
|
static com.google.gwt.event.shared.GwtEvent.Type<TabContextMenuHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
public TabContextMenuEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasTabContextMenuHandlers & 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<TabContextMenuHandler> getType()
protected void dispatch(TabContextMenuHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<TabContextMenuHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<TabContextMenuHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<TabContextMenuHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public TabSet getTabSet()
public Tab getTab()