public class SwingTaskViews extends Object
SwingTaskView instances.| Modifier and Type | Method and Description |
|---|---|
static SwingTaskView |
create(SwingTaskViewConfig swingTaskViewConfig)
Create a default
SwingTaskView with the given configuration. |
static SwingTaskView |
create(SwingTaskViewConfig swingTaskViewConfig,
JComponent accessory)
Create a default
SwingTaskView with the given configuration
and accessory component. |
static SwingTaskView |
create(SwingTaskViewConfig swingTaskViewConfig,
JComponent accessory,
boolean autoCloseWhenTaskFinished)
Create a default
SwingTaskView with the given configuration
and accessory component. |
public static SwingTaskView create(SwingTaskViewConfig swingTaskViewConfig)
SwingTaskView with the given configuration.swingTaskViewConfig - The SwingTaskViewConfigSwingTaskViewpublic static SwingTaskView create(SwingTaskViewConfig swingTaskViewConfig, JComponent accessory)
SwingTaskView with the given configuration
and accessory component.swingTaskViewConfig - The SwingTaskViewConfigaccessory - An optional accessory component. If this is not
null, then it will be shown in the center of the
resulting SwingTaskViewSwingTaskViewpublic static SwingTaskView create(SwingTaskViewConfig swingTaskViewConfig, JComponent accessory, boolean autoCloseWhenTaskFinished)
SwingTaskView with the given configuration
and accessory component.swingTaskViewConfig - The SwingTaskViewConfigaccessory - An optional accessory component. If this is not
null, then it will be shown in the center of the
resulting SwingTaskViewautoCloseWhenTaskFinished - Whether the view should be closed
when the task was finished.SwingTaskViewCopyright © 2016. All rights reserved.