util
Class Dispatcher

java.lang.Object
  extended by java.util.Observable
      extended by util.Dispatcher

public class Dispatcher
extends Observable

A simplified Observable class that immediately notifies its Observers when its notifyAll() method is called. The changed state of the Dispatcher does not need to be separately set.


Constructor Summary
Dispatcher()
           
 
Method Summary
 void notifyAll(Object param)
          Immediately notifies all the Observers held.
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dispatcher

public Dispatcher()
Method Detail

notifyAll

public void notifyAll(Object param)
Immediately notifies all the Observers held.

Parameters:
param - An input parameter that is passed on to all the Observers.