SimpleProgressMonitor
public interface ProgressMonitor
Modifier and Type | Method | Description |
---|---|---|
void |
beginTask(java.lang.String task,
int totalWork) |
Notifies that the main task is beginning.
|
void |
cancel() |
Cancel the running task.
|
void |
done() |
Notifies that the work is done; that is, either the main task is completed or the
user canceled it.
|
long |
getStartTime() |
Get the time when beginTask() has been called.
|
boolean |
isCanceled() |
Returns whether cancelation of current operation has been requested.
|
void |
worked(int work) |
Notifies that a given number of work unit of the main task has been completed.
|
void beginTask(java.lang.String task, int totalWork)
task
- nametotalWork
- void worked(int work)
work
- void cancel()
boolean isCanceled()
void done()
long getStartTime()