java.awt
Class EventDispatchThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--java.awt.EventDispatchThread

class EventDispatchThread
extends Thread

EventDispatchThread is a package-private AWT class which takes events off the EventQueue and dispatches them to the appropriate AWT components.


Inner Class Summary
(package private)  class EventDispatchThread.EmptyEvent
           
 
Field Summary
private  boolean doDispatch
           
private  EventQueue theQueue
           
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadQ, values
 
Constructor Summary
(package private) EventDispatchThread(String name, EventQueue queue)
           
 
Method Summary
(package private)  EventQueue getEventQueue()
           
(package private)  boolean isDispatching(EventQueue eq)
           
 void run()
           
 void stopDispatching()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

theQueue

private EventQueue theQueue

doDispatch

private boolean doDispatch
Constructor Detail

EventDispatchThread

EventDispatchThread(String name,
                    EventQueue queue)
Method Detail

stopDispatching

public void stopDispatching()

run

public void run()
Overrides:
run in class Thread

isDispatching

boolean isDispatching(EventQueue eq)

getEventQueue

EventQueue getEventQueue()