com.sas.awt
Class ModalDispatchThread

com.sas.awt.ModalDispatchThread
All Implemented Interfaces:
java.lang.Runnable

public class ModalDispatchThread

Derived from the code in java.awt.EventDispatchThread. Used to implement modal dialogs. It prevents InputEvents from reaching anything that is not a child (at some level) of the Container passed into the constructor or is not an instance of Window that becomes visible after this dispatcher starts running.


Constructor Summary
ModalDispatchThread(java.awt.Container container)
           
 
Method Summary
 void addChildWindow(java.awt.Window w)
           
 void run()
           
 void stopDispatching()
           
 

Constructor Detail

ModalDispatchThread

public ModalDispatchThread(java.awt.Container container)
Method Detail

stopDispatching

public void stopDispatching()

addChildWindow

public void addChildWindow(java.awt.Window w)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread



Copyright © 2009 SAS Institute Inc. All Rights Reserved.