|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.tomshut.util.text.AsciiProgressBar
public final class AsciiProgressBar
| Constructor Summary | |
|---|---|
AsciiProgressBar(float maxValue)
Construct an AsciiProgressBar that prints to System.out |
|
AsciiProgressBar(int lessThanValue)
Construct an AsciiProgressBar that prints to System.out. |
|
AsciiProgressBar(java.io.PrintStream out,
float maxValue)
Construct an AsciiProgressBar that prints to the PrintStream given in out |
|
AsciiProgressBar(java.io.PrintStream out,
int lessThanValue)
Construct an AsciiProgressBar that prints to the PrintStream given in out. |
|
| Method Summary | |
|---|---|
void |
progress(float value)
Draw the progress bar up to the current value. |
void |
progressInteger(int value)
Draw the progress bar up to the current value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsciiProgressBar(float maxValue)
maxValue - the maximum value that will be passed to the progress method
public AsciiProgressBar(java.io.PrintStream out,
float maxValue)
out - the PrintStream to print the progress bar tomaxValue - the maximum value that will be passed to the progress methodpublic AsciiProgressBar(int lessThanValue)
lessThanValue - the value which is one greater than the maximum value that
will be passed to the progress method
public AsciiProgressBar(java.io.PrintStream out,
int lessThanValue)
out - the PrintStream to print the progress bar tolessThanValue - the value which is one greater than the maximum value that
will be passed to the progress method| Method Detail |
|---|
public void progress(float value)
value - the current progress.public void progressInteger(int value)
value - the current progress.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||