com.smartgwt.client.widgets.tab.events

## Interface HasCloseClickHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    TabSet

      public interface HasCloseClickHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    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.

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

      `fireEvent`

- - ### Method Detail

    - #### 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