public interface ProgressListener
Modifier and Type | Method and Description |
---|---|
boolean |
notifyProgress(double position,
double length)
Notify progression of the current task
|
boolean notifyProgress(double position, double length)
position
- current position of completionlength
- final position of completionfalse
if the cancellation of the task has been requested, true
otherwise