Uses of Interface
is.codion.swing.common.model.worker.ProgressWorker.Builder
Packages that use ProgressWorker.Builder
-
Uses of ProgressWorker.Builder in is.codion.swing.common.model.worker
Methods in is.codion.swing.common.model.worker that return ProgressWorker.BuilderModifier and TypeMethodDescriptionProgressWorker.Builder.maximum
(int maximum) Overrides any maximum progress specified by the task itself.ProgressWorker.Builder.onCancelled
(Runnable onCancelled) Called in case the background task is cancelled viaSwingWorker.cancel(boolean)
or if it throws aCancelException
ProgressWorker.Builder.onException
(Consumer<Exception> onException) ProgressWorker.Builder.onInterrupted
(Runnable onInterrupted) ProgressWorker.Builder.onProgress
(Consumer<Integer> onProgress) Note that this handler does not get called in case the background task finishes before theSwingWorker.StateValue.STARTED
change event is fired.<T,
V> ProgressWorker.Builder <T, V> ProgressWorker.BuilderFactory.task
(ProgressWorker.ProgressResultTask<T, V> task) <V> ProgressWorker.Builder
<?, V> ProgressWorker.BuilderFactory.task
(ProgressWorker.ProgressTask<V> task) <T> ProgressWorker.Builder
<T, ?> ProgressWorker.BuilderFactory.task
(ProgressWorker.ResultTask<T> task) ProgressWorker.BuilderFactory.task
(ProgressWorker.Task task)