net.sf.rej.gui.event
Class EventDispatcher

java.lang.Object
  extended by net.sf.rej.gui.event.EventDispatcher

public class EventDispatcher
extends java.lang.Object

Class that holds a collection of observers and a notify method which notifies all registered observers.

Author:
Sami Koivu

Constructor Summary
EventDispatcher()
           
 
Method Summary
 void notifyObservers(Event event)
           
 void registerObserver(EventObserver observer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventDispatcher

public EventDispatcher()
Method Detail

registerObserver

public void registerObserver(EventObserver observer)

notifyObservers

public void notifyObservers(Event event)