henplus.view.util
Class ProgressWriter

java.lang.Object
  extended by henplus.view.util.ProgressWriter

public class ProgressWriter
extends Object

A utility class that can write the progress of an operation to the screen.


Constructor Summary
ProgressWriter(long expectedTargetValue, OutputDevice out)
           
 
Method Summary
 void finish()
           
 int getScreenWidth()
           
 void setScreenWidth(int screenWidth)
           
 void update(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressWriter

public ProgressWriter(long expectedTargetValue,
                      OutputDevice out)
Method Detail

setScreenWidth

public void setScreenWidth(int screenWidth)

getScreenWidth

public int getScreenWidth()

update

public void update(long value)

finish

public void finish()


? 1997..2006 Henner Zeller