public class DummyTaskProgressListener extends java.lang.Object implements TaskProgressListener
Constructor and Description |
---|
DummyTaskProgressListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCanceled()
Indicates to the running task that it has been canceled and should stop
as soon as possible.
|
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.
|
public void setProgressMax(int max)
ProgressListener
setProgressMax
in interface ProgressListener
public void setProgress(int val)
ProgressListener
setProgress
in interface ProgressListener
public void setNote(java.lang.String note)
ProgressListener
setNote
in interface ProgressListener
public void setIndeterminate(boolean bool)
ProgressListener
setIndeterminate
in interface ProgressListener
public boolean isCanceled()
TaskProgressListener
isCanceled
in interface TaskProgressListener