public interface ProgressListener
It also supports an indeterminate mode, where the object can tell how progress is going.
If you want to be able to cancel the operation, use TaskProgressListener
instead.
Modifier and Type | Method and Description |
---|---|
void |
setIndeterminate(boolean bool)
Allows the object performing the action to indicate that it won't be able to report back progress information.
|
void |
setNote(java.lang.String note)
Sets some sort of note or information about the current position.
|
void |
setProgress(int val)
Used to update the current progress value, should be between 0 and the value sent to setProgressMax.
|
void |
setProgressMax(int max)
Used to indicate the upper bound of value that will be passed to setProgress.
|
void setProgressMax(int max)
void setProgress(int val)
void setNote(java.lang.String note)
void setIndeterminate(boolean bool)