wt.clients.lifecycle.administrator
Class LifeCycleAdminApplet.WorkThread
java.lang.Object
java.lang.Thread
wt.util.WTThread
wt.clients.lifecycle.administrator.LifeCycleAdminApplet.WorkThread
- All Implemented Interfaces:
- EventListener, PropertyChangeListener, Runnable
- Enclosing class:
- LifeCycleAdminApplet
- class LifeCycleAdminApplet.WorkThread
- extends WTThread
- implements PropertyChangeListener
The work thread for this Applet.
The work thread is used to place long operations in a separate WTThread
so the AWT thread isn't tied up.
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 |
action
String action
LifeCycleAdminApplet.WorkThread
public LifeCycleAdminApplet.WorkThread(String 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
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
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Property change listener
- Specified by:
propertyChange
in interface PropertyChangeListener