wt.clients.tools.transfer
Class TransferProgressWatcher
java.lang.Object
java.lang.Thread
wt.util.WTThread
wt.clients.tools.transfer.TransferProgressWatcher
- All Implemented Interfaces:
- Runnable
- public class TransferProgressWatcher
- extends WTThread
Import/Export progress monitor and display
This class is used to display progress information about work being done on
the server. It also provides a means to cancel the operation.
Methods inherited from class wt.util.WTThread |
addPropertyChangeListener, cancel, currentProgressCount, currentProgressPercent, currentStatus, firePropertyChange, firePropertyChange, getProgressCount, getProgressPercent, getState, getStatus, interrupt, isInterrupted, ready, removePropertyChangeListener, run, 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, stop, stop, suspend, toString, yield |
varobject
public String varobject
task
public WTThread task
timer
public Timer timer
operation_message
public String operation_message
tpc
public TransferProgressCount tpc
tpo
public TransferFeedback tpo
progress_bar
public JProgressBar progress_bar
context
WTContext context
jd
JDialog jd
jdgb
GridBagLayout jdgb
constraints
GridBagConstraints constraints
progressButton
JButton progressButton
jdLabel
JLabel jdLabel
taskOutput
JTextArea taskOutput
toScrollPane
JScrollPane toScrollPane
oldMsg
String oldMsg
logFileWriter
FileWriter logFileWriter
location
Point location
TransferProgressWatcher
public TransferProgressWatcher()
TransferProgressWatcher
public TransferProgressWatcher(WTThread t,
String mess)
TransferProgressWatcher
public TransferProgressWatcher(WTThread t,
String mess,
FileWriter fw)
setThread
public void setThread(WTThread t)
setMessage
public void setMessage(String mess)
start
public void start()
done
public void done()
stop_me
public void stop_me()
update_display
public void update_display()
buildConstraints
void buildConstraints(GridBagConstraints gbc,
int x,
int y,
int w,
int h,
double wx,
double wy)
- Utility method to aid in the creation of gridbag layout
setLocation
public void setLocation(Point a_point)