public class

TreeListenerCollection

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

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 SourcesClickEvents interface. This subclass of ArrayList assumes that all objects added to it will be of type ClickListener.

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
TreeListenerCollection()
Public Methods
void fireItemSelected(TreeItem item)
Fires a "tree item selected" event to all listeners.
void fireItemStateChanged(TreeItem item)
Fires a "tree item state changed" 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 TreeListenerCollection ()

Public Methods

public void fireItemSelected (TreeItem item)

Fires a "tree item selected" event to all listeners.

Parameters
item the tree item being selected.

public void fireItemStateChanged (TreeItem item)

Fires a "tree item state changed" event to all listeners.

Parameters
item the tree item whose state has changed.