public interface LProgressBarInterface
Modifier and Type | Method and Description |
---|---|
void |
done()
Sets the current value to the max value (100%).
|
int |
getBar() |
int |
getMax() |
void |
incrementBar()
Increments the progress bar one unit.
|
void |
pause(boolean on)
Block the progress bar from updating.
|
boolean |
paused() |
void |
reset()
Resets the progress bar to zero of max.
|
void |
setBar(int in) |
void |
setMax(int in) |
void |
setMax(int in,
java.lang.String status) |
void |
setStatus(java.lang.String status) |
void |
setStatusNumbered(int cur,
int max,
java.lang.String status)
Updates the progress bar status text to display:
([cur]/[max]) [status] |
void |
setStatusNumbered(java.lang.String status)
Updates the progress bar status text to display the current step in the form of:
([cur]/[max]) [status] |
void setMax(int in)
in
- Value to set as the max unit value of the progress bar.void setMax(int in, java.lang.String status)
in
- Value to set as the max unit value of the progress bar.status
- String to set as the status of the progress bar.void setStatus(java.lang.String status)
status
- String to set as the status of the progress bar.void setStatusNumbered(int cur, int max, java.lang.String status)
cur
- max
- status
- void setStatusNumbered(java.lang.String status)
status
- void incrementBar()
void reset()
void setBar(int in)
in
- value to set the progress bar at.int getBar()
int getMax()
void pause(boolean on)
on
- boolean paused()
void done()