public interface HasCloseClickHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addCloseClickHandler(CloseClickHandler handler)
When
canCloseTabs is set, this notification method fired
when the user clicks the "close" icon for a tab. |
com.google.gwt.event.shared.HandlerRegistration addCloseClickHandler(CloseClickHandler handler)
canCloseTabs
is set, this notification method fired
when the user clicks the "close" icon for a tab. Call TabCloseClickEvent.cancel()
from within CloseClickHandler.onCloseClick(com.smartgwt.client.widgets.tab.events.TabCloseClickEvent)
to cancel default behavior of removing the tab from the
TabSethandler
- the closeClick handlerHandlerRegistration
used to remove this handler