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 | ) | [inline, package] |
Constructor.
| t | Thread current worker thread |
| synchronized Thread javawrapper::SwingWorker::ThreadVar::get | ( | ) | [inline, package] |
Get the current worker thread.
| void javawrapper::SwingWorker::ThreadVar::sleep | ( | long | millis | ) | throws java.lang.InterruptedException [inline] |
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 [inline] |
Waits the thread.
| InterruptedException | if the thread cannot wait |
1.4.7