public class

TabListenerCollection

extends ArrayList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.ArrayList<E>
         ↳ com.google.gwt.user.client.ui.TabListenerCollection

This class is deprecated.
Widgets should now manage their own handlers via addDomHandler(H, DomEvent.Type)

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
TabListenerCollection()
Public Methods
boolean fireBeforeTabSelected(SourcesTabEvents sender, int tabIndex)
Fires a beforeTabSelected event to all listeners.
void fireTabSelected(SourcesTabEvents sender, int tabIndex)
Fires a tabSelected event to all listeners.
[Expand]
Inherited Methods
From class java.util.ArrayList
From class java.util.AbstractList
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.List

Public Constructors

public TabListenerCollection ()

Public Methods

public boolean fireBeforeTabSelected (SourcesTabEvents sender, int tabIndex)

Fires a beforeTabSelected event to all listeners.

Parameters
sender the widget sending the event
tabIndex the index of the tab being selected

public void fireTabSelected (SourcesTabEvents sender, int tabIndex)

Fires a tabSelected event to all listeners.

Parameters
sender the widget sending the event
tabIndex the index of the tab being selected