Public Member Functions | |
void | sleep (long millis) throws java.lang.InterruptedException |
Sleeps the thread. | |
void | threadWait () throws java.lang.InterruptedException |
Waits the thread. | |
Package Functions | |
ThreadVar (Thread t) | |
Constructor. | |
synchronized Thread | get () |
Get the current worker thread. | |
synchronized void | clear () |
Clear the current worker thread. | |
Private Attributes | |
Thread | thread |
Worker thread. |
12-8-2004 (LEM) - made this protected so I could have access to it in the children
javawrapper.SwingWorker.ThreadVar.ThreadVar | ( | Thread | t | ) | [package] |
Constructor.
t | Thread current worker thread |
synchronized Thread javawrapper.SwingWorker.ThreadVar.get | ( | ) | [package] |
Get the current worker thread.
synchronized void javawrapper.SwingWorker.ThreadVar.clear | ( | ) | [package] |
Clear the current worker thread.
void javawrapper.SwingWorker.ThreadVar.sleep | ( | long | millis | ) | throws java.lang.InterruptedException |
Sleeps the thread.
millis | How long to sleep the thread. |
InterruptedException | if the thread cannot be slept Created 12-8-2004 (LEM) |
void javawrapper.SwingWorker.ThreadVar.threadWait | ( | ) | throws java.lang.InterruptedException |
Waits the thread.
InterruptedException | if the thread cannot wait |
Thread javawrapper.SwingWorker.ThreadVar.thread [private] |
Worker thread.