Package com.aparapi.util.swing
Class MultiPassKernelSwingWorker
- All Implemented Interfaces:
Runnable
,Future<Void>
,RunnableFuture<Void>
public abstract class MultiPassKernelSwingWorker extends SwingWorker<Void,Void>
Implementation of SwingWorker to assist in progress tracking and cancellation of multi-pass
Kernel
s.-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_POLL_INTERVAL
-
Method Summary
Modifier and Type Method Description void
cancelExecution()
Utility method which just invokesKernel.cancelMultiPass()
on the executing kernel.Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, removePropertyChangeListener, run
-
Field Details
-
DEFAULT_POLL_INTERVAL
public static final int DEFAULT_POLL_INTERVAL- See Also:
- Constant Field Values
-
-
Method Details
-
cancelExecution
public void cancelExecution()Utility method which just invokesKernel.cancelMultiPass()
on the executing kernel.
-