public interface HasCloseClickHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addCloseClickHandler(CloseClickHandler handler)
When
canCloseTabs is set, this notification method fired
when the user clicks the "close" icon for a tab. |
fireEvent
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