org.exoplatform.gwtframework.ui.client.tab.event
Class CloseTabEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<CloseTabHandler>
          extended by 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 Class Summary
 
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.
 
Method Summary
 void cancelClosing()
          Cancels closing the tab.
protected  void dispatch(CloseTabHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<CloseTabHandler> getAssociatedType()
           
 java.lang.String getTabId()
          Gets ID of tab to be closed.
 boolean isClosingCanceled()
           
 
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
 

Field Detail

TYPE

public static final com.google.gwt.event.shared.GwtEvent.Type<CloseTabHandler> TYPE
Event type.

Constructor Detail

CloseTabEvent

public CloseTabEvent(java.lang.String tabId)
Creates a new instance of this event.

Parameters:
tabId -
Method Detail

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.