Package com.aparapi.util.swing
Class MultiPassKernelSwingWorker
- All Implemented Interfaces:
Runnable
,Future<Void>
,RunnableFuture<Void>
Implementation of SwingWorker to assist in progress tracking and cancellation of multi-pass
Kernel
s.-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
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:
-
-
Method Details
-
cancelExecution
public void cancelExecution()Utility method which just invokesKernel.cancelMultiPass()
on the executing kernel.
-