com.maryanovsky.gwtutils.client.event
Class ChangeListenerList

java.lang.Object
  extended by com.maryanovsky.gwtutils.client.event.ChangeListenerList

public class ChangeListenerList
extends Object

A convenience class for managing ChangeListeners.

Author:
Maryanovsky Alexander

Constructor Summary
ChangeListenerList()
           
 
Method Summary
 void add(ChangeListener listener)
          Adds the specified ChangeListener to the list.
 void fireStateChanged(Object source)
          Notifies all registered ChangeListeners of a change in the specified source object.
 void remove(ChangeListener listener)
          Removes the specified ChangeListener to the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeListenerList

public ChangeListenerList()
Method Detail

add

public void add(ChangeListener listener)
Adds the specified ChangeListener to the list.


remove

public void remove(ChangeListener listener)
Removes the specified ChangeListener to the list.


fireStateChanged

public void fireStateChanged(Object source)
Notifies all registered ChangeListeners of a change in the specified source object.