org.apache.slide.event
Class EventDispatcher

java.lang.Object
  extended byorg.apache.slide.event.EventDispatcher
All Implemented Interfaces:
Configurable

public class EventDispatcher
extends java.lang.Object
implements Configurable

Event dispatcher class

Version:
$Revision: 1.5 $

Method Summary
 void addEventListener(java.util.EventListener listener)
           
 void configure(Configuration config)
           
 void fireEvent(EventMethod eventMethod, java.util.EventObject event)
           
 void fireVetoableEvent(VetoableEventMethod eventMethod, java.util.EventObject event)
           
static EventDispatcher getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static EventDispatcher getInstance()

addEventListener

public void addEventListener(java.util.EventListener listener)

fireVetoableEvent

public void fireVetoableEvent(VetoableEventMethod eventMethod,
                              java.util.EventObject event)
                       throws VetoException
Throws:
VetoException

fireEvent

public void fireEvent(EventMethod eventMethod,
                      java.util.EventObject event)

configure

public void configure(Configuration config)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException