public class TabCloseClickEvent extends BrowserEvent<CloseClickHandler> implements Cancellable
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
TabCloseClickEvent(JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Call this method to suppress removal of the tab
|
protected void |
dispatch(CloseClickHandler handler) |
static <S extends HasCloseClickHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<CloseClickHandler> |
getAssociatedType() |
Tab |
getTab()
the tab to be removed
|
static GwtEvent.Type<CloseClickHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDownassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic TabCloseClickEvent(JavaScriptObject jsObj)
public static <S extends HasCloseClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<CloseClickHandler> getType()
protected void dispatch(CloseClickHandler handler)
dispatch in class GwtEvent<CloseClickHandler>public final GwtEvent.Type<CloseClickHandler> getAssociatedType()
getAssociatedType in class GwtEvent<CloseClickHandler>public void cancel()
cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic Tab getTab()