public class TabCloseClickEvent extends BrowserEvent<CloseClickHandler> implements Cancellable
jsObj
Constructor and Description |
---|
TabCloseClickEvent(com.google.gwt.core.client.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 & 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<CloseClickHandler> |
getAssociatedType() |
Tab |
getTab()
the tab to be removed
|
static com.google.gwt.event.shared.GwtEvent.Type<CloseClickHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
public TabCloseClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasCloseClickHandlers & 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<CloseClickHandler> getType()
protected void dispatch(CloseClickHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<CloseClickHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<CloseClickHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<CloseClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public Tab getTab()