public interface ProgressMeter
Modifier and Type | Method and Description |
---|---|
int |
getCurrent()
Returns the current value.
|
int |
getMax()
Returns the maximum value.
|
int |
getMin()
Returns the minimum value.
|
void |
setDescription(String des)
Sets the text of the progress meter.
|
void |
setIndeterminateMode(boolean bool)
Sets the indeterminate state (progress meter with no current value).
|
void |
setValue(int val)
Sets the current value of the meter.
|
void |
start(int min,
int current,
int max)
Starts the progress meter.
|
void |
start(int min,
int current,
int max,
boolean forceStart)
Starts the progress meter.
|
int getCurrent()
int getMax()
int getMin()
void setDescription(String des)
des
- the textvoid setIndeterminateMode(boolean bool)
bool
- if true, the meter will be set to indeterminate state, false otherwisevoid setValue(int val)
val
- the current value of the metervoid start(int min, int current, int max)
min
- the minimum value of the metercurrent
- the current value of the metermax
- the maximum value of the metervoid start(int min, int current, int max, boolean forceStart)
min
- the minimum value of the metercurrent
- the current value of the metermax
- the maximum value of the meterforceStart
- starts immediately