|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
javax.rad.ui.InvokeLaterThread
public class InvokeLaterThread
InvokeLaterThread supports invokeLater notification for GUI Controls, when the thread ends. This is necessary to guarantee that invokeLater GUI actions caused in this Thread occurs after finishing this thread. InvokeLater action can also be triggered immediately by executeInvokeLater. This call guarantees thread save execution of the invokeLater actions in this thread. All InvokeLater actions are executed in the technology dependent GUI Thread.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
InvokeLaterThread(IFactory pFactory,
java.lang.Runnable pRunnable)
Constructs a new InvokeLaterThread. |
Method Summary | |
---|---|
void |
executeInvokeLater()
Executes thread save all invokeLater actions immediate. |
void |
invokeLater(java.lang.Runnable pRunnable)
Executes the given Runnable after this Thread is finished. |
void |
run()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvokeLaterThread(IFactory pFactory, java.lang.Runnable pRunnable)
pFactory
- the Factory to execute invokeLater actions.pRunnable
- the Runnable of this thread.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void invokeLater(java.lang.Runnable pRunnable)
pRunnable
- the Runnable to be executed after the Thread is finished.public void executeInvokeLater()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |