Add progress listener.
Add progress listener.
Add progress listener.
listener to add.
Report what fraction of the processing task was already completed.
Report what fraction of the processing task was already completed. Progress value is between 0 and 1 (meaning 100% completed). For instance, 0.25 means that 25% con the processing was completed.
current progress.
Set new progress value and notify listeners.
Set new progress value and notify listeners. Progress is calculated from count
and max
values:
progress = count.toDouble / max.toDouble
message that will be send to listeners within ProgressEvent
Set new progress value and notify listeners.
Set new progress value and notify listeners.
new value of currentProgress
. The value must be not less than 0 and not more than 1.
message that will be send to listeners within ProgressEvent
Notify listeners of current value of progress.
Notify listeners of current value of progress. Progress message is an empty string.
#notifyProgressListeners(double)
Remove all progress listener.
Remove specific progress listener.
Remove specific progress listener.
listener to remove.
Reports progress of an operation to its listeners. Progress starts at 0.0 and finishes at 1.0, so 0.3 means 30% progress.
Example usage: