public final class ProgressBar extends Object
[min, max]
.Constructor and Description |
---|
ProgressBar(long min,
long max)
Initialize progress bar with the given settings
|
ProgressBar(long min,
long max,
boolean doPrint)
Initialize progress bar with the given settings
|
Modifier and Type | Method and Description |
---|---|
boolean |
doPrint() |
long |
getMax() |
long |
getMin() |
void |
print(long pos)
print progress up to position
pos , if doPrint |
public ProgressBar(long min, long max)
public ProgressBar(long min, long max, boolean doPrint)
public long getMin()
public long getMax()
public boolean doPrint()
true
if the progress bar has printing enabledpublic void print(long pos)
pos
, if doPrint
Copyright © 2016. All rights reserved.