com.google.gwt.user.client.ui

## Interface SourcesTabEvents

- All Known Implementing Classes:
    DecoratedTabBar, DecoratedTabPanel, TabBar, TabPanel

  Deprecated.
  use `HasSelectionHandlers` and `HasBeforeSelectionHandlers` instead

      @Deprecated
      public interface SourcesTabEvents

  A widget that implements this interface sources the events defined by the `TabListener` interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTabListener(TabListener listener)` Deprecated. use `HasBeforeSelectionHandlers.addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler<T>)` and `HasSelectionHandlers.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<T>)` instead
    `void` | `removeTabListener(TabListener listener)` Deprecated. Use the `HandlerRegistration.removeHandler()` method on the object returned by and add*Handler method instead

- - ### Method Detail

    - #### addTabListener

          @Deprecated
          void addTabListener(TabListener listener)

      Deprecated. use `HasBeforeSelectionHandlers.addBeforeSelectionHandler(com.google.gwt.event.logical.shared.BeforeSelectionHandler<T>)` and `HasSelectionHandlers.addSelectionHandler(com.google.gwt.event.logical.shared.SelectionHandler<T>)` instead
      Adds a listener interface to receive click events.
      Parameters:
        `listener` - the listener interface to add

    - #### removeTabListener

          @Deprecated
          void removeTabListener(TabListener listener)

      Deprecated. Use the `HandlerRegistration.removeHandler()` method on the object returned by and add*Handler method instead
      Removes a previously added listener interface.
      Parameters:
        `listener` - the listener interface to remove