Uses of Interface
is.codion.swing.common.model.worker.ProgressWorker.Builder
Packages that use ProgressWorker.Builder
Package
Description
SwingWorker-based implementations for executing background tasks with progress reporting.
-
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) Adds a handler called on the Event Dispatch Thread if the background task is cancelled viaSwingWorker.cancel(boolean)or if it throws aCancelException.Adds a handler called on the Event Dispatch Thread when the task is done running, successfully or not, before the result is processed.ProgressWorker.Builder.onException(Consumer<Exception> onException) Adds a handler called on the Event Dispatch Thread if an exception occurred.ProgressWorker.Builder.onInterrupted(Runnable onInterrupted) Adds a handler called on the Event Dispatch Thread if the background task was interrupted.ProgressWorker.Builder.onProgress(Consumer<Integer> onProgress) Adds a handler called on the Event Dispatch Thread when progress is reported.Adds a handler called on the Event Dispatch Thread when chunks are available for publishing.Adds a handler called on the Event Dispatch Thread when the result of a successful run is available, after anyonSuccess(Runnable)handlers.Adds a handler called on the EDT before background processing is started.Adds a handler called on the Event Dispatch Thread after a successful task run, before anyonResult(Consumer)handlers.<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)