Package com.smartgwt.client.widgets.tab.events

# Interface HasCloseClickHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `TabSet`

public interface HasCloseClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addCloseClickHandler(CloseClickHandler handler)`
  When `canCloseTabs` is set, this notification method fired when the user clicks the "close" icon for a tab.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addCloseClickHandler

    HandlerRegistration addCloseClickHandler(CloseClickHandler handler)
    When `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 TabSet
    Parameters:
      `handler` - the closeClick handler
    Returns:
      `HandlerRegistration` used to remove this handler