org.exoplatform.gwtframework.ui.client.tab.event
Class CloseTabEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<CloseTabHandler>
org.exoplatform.gwtframework.ui.client.tab.event.CloseTabEvent
public class CloseTabEvent
- extends com.google.gwt.event.shared.GwtEvent<CloseTabHandler>
This event fires before closing tab.
Created by The eXo Platform SAS .
- Version:
- $
- Author:
- Vitaliy Gulyy
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
|
Field Summary |
static com.google.gwt.event.shared.GwtEvent.Type<CloseTabHandler> |
TYPE
Event type. |
|
Constructor Summary |
CloseTabEvent(java.lang.String tabId)
Creates a new instance of this event. |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, getSource, isLive, kill, revive |
| Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<CloseTabHandler> TYPE
- Event type.
CloseTabEvent
public CloseTabEvent(java.lang.String tabId)
- Creates a new instance of this event.
- Parameters:
tabId -
getTabId
public java.lang.String getTabId()
- Gets ID of tab to be closed.
- Returns:
cancelClosing
public void cancelClosing()
- Cancels closing the tab.
isClosingCanceled
public boolean isClosingCanceled()
- Returns:
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<CloseTabHandler> getAssociatedType()
- Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<CloseTabHandler>
- See Also:
GwtEvent.getAssociatedType()
dispatch
protected void dispatch(CloseTabHandler handler)
- Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<CloseTabHandler>
- See Also:
GwtEvent.dispatch(com.google.gwt.event.shared.EventHandler)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.