Class TabListenerCollection

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<TabListener>
com.google.gwt.user.client.ui.TabListenerCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<TabListener>, Collection<TabListener>, List<TabListener>, RandomAccess

@Deprecated public class TabListenerCollection extends ArrayList<TabListener>
Deprecated.
Widgets should now manage their own handlers via Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)
A helper class for implementers of the SourcesTabEvents interface. This subclass of ArrayList assumes that all objects added to it will be of type TabListener.
See Also:
  • Constructor Details

    • TabListenerCollection

      public TabListenerCollection()
      Deprecated.
  • Method Details

    • fireBeforeTabSelected

      public boolean fireBeforeTabSelected(SourcesTabEvents sender, int tabIndex)
      Deprecated.
      Fires a beforeTabSelected event to all listeners.
      Parameters:
      sender - the widget sending the event
      tabIndex - the index of the tab being selected
    • fireTabSelected

      public void fireTabSelected(SourcesTabEvents sender, int tabIndex)
      Deprecated.
      Fires a tabSelected event to all listeners.
      Parameters:
      sender - the widget sending the event
      tabIndex - the index of the tab being selected