org.globus.cog.gui.grapheditor.util
Class EventDispatcher

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.globus.cog.gui.grapheditor.util.EventDispatcher
All Implemented Interfaces:
Runnable

public class EventDispatcher
extends Thread

Queues and dispatches events to objects. It is used to allow the swing/awt thread to continue execution when events are being handled.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
EventDispatcher()
           
 
Method Summary
static void queue(EventConsumer ec, EventObject e)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventDispatcher

public EventDispatcher()
Method Detail

queue

public static void queue(EventConsumer ec,
                         EventObject e)

run

public void run()