|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProgressListener
| Method Summary | |
|---|---|
void |
finish()
Finishes the display of progress by a progress listener, e.g. |
int |
getProgress()
Returns the latest value set by the update method. |
void |
init(java.lang.String message)
Sets or resets this listener to indeterminate mode and labels it with the given message. |
void |
init(java.lang.String message,
int min,
int max)
Sets or resets this listener to determinate mode using the specified message, minimum and maximum values. |
void |
label(java.lang.String label)
Labels the current task with the specified string. |
void |
update(int progress)
Updates the progress to the specified value. |
| Method Detail |
|---|
void init(java.lang.String message)
void init(java.lang.String message,
int min,
int max)
void update(int progress)
progress - the new progress valueint getProgress()
void label(java.lang.String label)
label - a label describing the current taskvoid finish()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||