public interface ProgressMonitor
| Modifier and Type | Method and Description |
|---|---|
void |
beginTask()
Informs the Progress Monitor about the start of a new job with an unknown
or unspecified amount of work to be done.
|
void |
beginTask(int overallWorkUnits)
Informs the Progress Monitor about the start of a new job and provides an
approximation for the amount of work to be done.
|
void |
endTask()
Informs the progress monitor about the termination of the current
task.
|
void |
progress()
Increments the counter for the units of work that has already been
processed.
|
void |
setTaskState(TaskState taskState)
Notify the progress monitor about the current state of the task.
|
void beginTask()
beginTask(int).void beginTask(int overallWorkUnits)
beginTask().overallWorkUnits - The amount of work units to be done during the job.void progress()
void endTask()
void setTaskState(TaskState taskState)
taskState - the state of the task