Package | Description |
---|---|
org.netbeans.api.progress |
This API allows to visualize tracking for progress of long lasting tasks.
|
Modifier and Type | Method and Description |
---|---|
static ProgressHandle |
ProgressHandleFactory.createHandle(String displayName)
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandleFactory.createHandle(String displayName,
Action linkOutput)
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandleFactory.createHandle(String displayName,
Cancellable allowToCancel)
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandleFactory.createHandle(String displayName,
Cancellable allowToCancel,
Action linkOutput)
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandleFactory.createSystemHandle(String displayName)
Create a handle for a long lasting task that is not triggered by explicit user action.
|
static ProgressHandle |
ProgressHandleFactory.createSystemHandle(String displayName,
Cancellable allowToCancel)
Create a cancelable handle for a task that is not triggered by explicit user action.
|
static ProgressHandle |
ProgressHandleFactory.createSystemHandle(String displayName,
Cancellable allowToCancel,
Action linkOutput)
Create a progress ui handle for a task that is not triggered by explicit user action.
|
Modifier and Type | Method and Description |
---|---|
static JLabel |
ProgressHandleFactory.createDetailLabelComponent(ProgressHandle handle)
Get the detail messages component for use in custom dialogs, the task won't
show in the progress bar anymore.
|
static JLabel |
ProgressHandleFactory.createMainLabelComponent(ProgressHandle handle)
Get the task title component for use in custom dialogs, the task won't
show in the progress bar anymore.
|
static JComponent |
ProgressHandleFactory.createProgressComponent(ProgressHandle handle)
Get the progress bar component for use in custom dialogs, the task won't
show in the progress bar anymore.
|
T |
ProgressRunnable.run(ProgressHandle handle)
Perform the background work
|
static void |
ProgressUtils.showProgressDialogAndRun(Runnable operation,
ProgressHandle progress,
boolean includeDetailLabel)
Show a modal progress dialog that blocks the main window, while running
the passed runnable on a background thread.
|
static <T> Future<T> |
ProgressUtils.showProgressDialogAndRunLater(ProgressRunnable<T> operation,
ProgressHandle handle,
boolean includeDetailLabel)
Show a modal progress dialog that blocks the main window while running
a background process.
|
Built on February 25 2013. | Portions Copyright 1997-2013 Sun Microsystems, Inc. All rights reserved.