public interface IProgressObserver
Modifier and Type | Method and Description |
---|---|
void |
addWaypoints(int additionalWayPoints)
Adds additional waypoints to the progress bar.
|
int |
getCurrentWaypoint()
Get the current waypoint
|
void |
incrementProgress(String status)
Increments progress to next waypoint and shows new status.
|
boolean |
isCancelled()
Can be used to preemptively abort a long-running task.
|
void |
taskCanceled()
Deal with progress display in case the task is cancelled.
|
void |
taskFinished()
Call this method to indicate that the task is finished.
|
void |
updateProgress(int waypoint,
String status)
Updates progress to given waypoint, displaying the given status.
|
void addWaypoints(int additionalWayPoints)
void incrementProgress(String status)
void updateProgress(int waypoint, String status)
waypoint
- the current waypointstatus
- the statusint getCurrentWaypoint()
void taskFinished()
boolean isCancelled()
void taskCanceled()
Copyright © 2013. All Rights Reserved.