javax.rad.ui
Class InvokeLaterThread
java.lang.Object
java.lang.Thread
javax.rad.ui.InvokeLaterThread
- All Implemented Interfaces:
- Runnable
public class InvokeLaterThread
- extends Thread
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.
Method Summary |
void |
executeInvokeLater()
Executes thread save all invokeLater actions immediate. |
void |
invokeLater(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 |
InvokeLaterThread
public InvokeLaterThread(IFactory pFactory,
Runnable pRunnable)
- Constructs a new InvokeLaterThread.
- Parameters:
pFactory
- the Factory to execute invokeLater actions.pRunnable
- the Runnable of this thread.
run
public void run()
-
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
invokeLater
public void invokeLater(Runnable pRunnable)
- Executes the given Runnable after this Thread is finished.
- Parameters:
pRunnable
- the Runnable to be executed after the Thread is finished.
executeInvokeLater
public void executeInvokeLater()
- Executes thread save all invokeLater actions immediate.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.