Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.dialog
Interface ProgressWorkerDialogBuilder.BuilderFactory
- Enclosing interface:
ProgressWorkerDialogBuilder<T,V>
public static interface ProgressWorkerDialogBuilder.BuilderFactory
Provides builders for a given task type.
-
Method Summary
Modifier and TypeMethodDescription<T,V> ProgressWorkerDialogBuilder <T, V> task(ProgressWorker.ProgressResultTask<T, V> task) Note, also sets the progress bar type to 'determinate'.<V> ProgressWorkerDialogBuilder<?, V> task(ProgressWorker.ProgressTask<V> task) Note, also sets the progress bar type to 'determinate'.<T> ProgressWorkerDialogBuilder<T, ?> task(ProgressWorker.ResultTask<T> task) task(ProgressWorker.Task task)
-
Method Details
-
task
- Parameters:
task- the task to run- Returns:
- a new indeterminate
ProgressWorkerDialogBuilderinstance
-
task
- Type Parameters:
T- the worker result type- Parameters:
task- the task to run- Returns:
- a new indeterminate
ProgressWorkerDialogBuilderinstance
-
task
Note, also sets the progress bar type to 'determinate'.- Type Parameters:
V- the worker intermediate result type- Parameters:
task- the task to run- Returns:
- a new determinate
ProgressWorkerDialogBuilderinstance - See Also:
-
task
Note, also sets the progress bar type to 'determinate'.- Type Parameters:
T- the worker result typeV- the worker intermediate result type- Parameters:
task- the task to run- Returns:
- a new determinate
ProgressWorkerDialogBuilderinstance - See Also:
-