wt.clients.beans.lifecycle
Class ProjectPanel.WorkThread

java.lang.Object
  extended byjava.lang.Thread
      extended bywt.util.WTThread
          extended bywt.clients.beans.lifecycle.ProjectPanel.WorkThread
All Implemented Interfaces:
Runnable
Enclosing class:
ProjectPanel

class ProjectPanel.WorkThread
extends WTThread


Field Summary
(package private)  int action
           
 
Fields inherited from class wt.util.WTThread
CREATED, DONE, PROGRESS_COUNT, PROGRESS_PERCENT, RUNNING, STATE, STATUS
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProjectPanel.WorkThread(int action)
          Constructor for the work thread.
 
Method Summary
 void run()
          Executes the action specified in the constructor of this WorkThread.
 
Methods inherited from class wt.util.WTThread
addPropertyChangeListener, cancel, currentProgressCount, currentProgressPercent, currentStatus, firePropertyChange, firePropertyChange, getProgressCount, getProgressPercent, getState, getStatus, interrupt, isInterrupted, ready, removePropertyChangeListener, setInterruptHandler, setProgressCount, setProgressPercent, setStatus, start
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupted, isAlive, isDaemon, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

action

int action
Constructor Detail

ProjectPanel.WorkThread

public ProjectPanel.WorkThread(int action)
Constructor for the work thread. The action of the thread can be specified using the action parameter.

Parameters:
action - the action for this thread
Method Detail

run

public void run()
Executes the action specified in the constructor of this WorkThread.

Specified by:
run in interface Runnable
Overrides:
run in class WTThread