org.jlab.groot.ui
Class ProgressBar
- java.lang.Object
-
- org.jlab.groot.ui.ProgressBar
-
public class ProgressBar extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description ProgressBar()initialize progress bar properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidsetOut(java.io.PrintStream out)called whenever the progress bar needs to be updated.voidupdate(int done, int total)
-
-
-
Method Detail
-
setOut
public void setOut(java.io.PrintStream out)
called whenever the progress bar needs to be updated. that is whenever progress was made.- Parameters:
done- an int representing the work done so fartotal- an int representing the total work
-
update
public void update(int done, int total)
-
-
DMelt 3.0 © DataMelt by jWork.ORG