Package org.aavso.tools.vstar.ui.task
Class UndoableActionTask
- All Implemented Interfaces:
Runnable,Future<Void>,RunnableFuture<Void>
A concurrent task in which a potentially long-running observation task is
executed.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue -
Constructor Summary
ConstructorsConstructorDescriptionUndoableActionTask(IUndoableAction action, UndoableActionType type) Constructor -
Method Summary
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
-
Constructor Details
-
UndoableActionTask
Constructor
-
-
Method Details
-
doInBackground
- Specified by:
doInBackgroundin classSwingWorker<Void,Void> - Throws:
Exception- See Also:
-
done
public void done()Executed in event dispatching thread.- Overrides:
donein classSwingWorker<Void,Void>
-