javawrapper::SwingWorker::ThreadVar Class Reference

Class to maintain reference to current worker thread under separate synchronization control. More...

List of all members.

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.


Detailed Description

Class to maintain reference to current worker thread under separate synchronization control.

12-8-2004 (LEM) - made this protected so I could have access to it in the children


Constructor & Destructor Documentation

javawrapper::SwingWorker::ThreadVar::ThreadVar ( Thread  t  )  [inline, package]

Constructor.

Parameters:
t Thread current worker thread


Member Function Documentation

synchronized Thread javawrapper::SwingWorker::ThreadVar::get (  )  [inline, package]

Get the current worker thread.

Returns:
Thread Current worker thread.

void javawrapper::SwingWorker::ThreadVar::sleep ( long  millis  )  throws java.lang.InterruptedException [inline]

Sleeps the thread.

Parameters:
millis How long to sleep the thread.
Exceptions:
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.

Exceptions:
InterruptedException if the thread cannot wait


The documentation for this class was generated from the following file:
Generated on Fri Jan 5 14:00:39 2007 for SORTIE Java Interface by  doxygen 1.4.7