com.panayotis.jupidator.gui
Class UpdateWatcher

java.lang.Object
  extended by java.util.TimerTask
      extended by com.panayotis.jupidator.gui.UpdateWatcher
All Implemented Interfaces:
BufferListener, java.lang.Runnable

public class UpdateWatcher
extends java.util.TimerTask
implements BufferListener


Constructor Summary
UpdateWatcher()
           
 
Method Summary
 void addBytes(long bytes)
           
 void run()
           
 void setAllBytes(long bytes)
           
 void setCallBack(JupidatorGUI callback)
           
 void startWatcher()
           
 void stopWatcher()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateWatcher

public UpdateWatcher()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask

setCallBack

public void setCallBack(JupidatorGUI callback)

startWatcher

public void startWatcher()

stopWatcher

public void stopWatcher()

addBytes

public void addBytes(long bytes)
Specified by:
addBytes in interface BufferListener

setAllBytes

public void setAllBytes(long bytes)
Specified by:
setAllBytes in interface BufferListener