See: Description
| Interface | Description |
|---|---|
| ProgressRunnable<T> |
Callable used by ProgressUtils.showProgressDialogAndRun to do background
work while a modal progress dialog is shown blocking all application windows.
|
| Class | Description |
|---|---|
| ProgressHandle |
Instances provided by the ProgressHandleFactory allow the users of the API to
notify the progress bar UI about changes in the state of the running task.
|
| ProgressHandleFactory |
Factory to create various ProgressHandle instances that allow long lasting
tasks to show their progress using various progress UIs.
|
| ProgressUtils |
Useful static methods
|
The usual usecase goes like this:
ProgressHandle handle = ProgressHandleFactory.createHandle("My custom task");
...
// we have 100 workunits
// at this point the task appears in status bar.
handle.start(100);
...
handle.progress(10);
...
handle.progress(50);
...
// at this point the task is finished and removed from status bar
handle.finish();
ProgressHandle class. Additionally
it's possible to include textual information about current progress.
Cancellable interface and pass it to the ProgressHandleFactory
when creating the handle.Built on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.