Package org.aavso.tools.vstar.ui.task
Class PhasePlotTask
- All Implemented Interfaces:
Runnable,Future<Void>,RunnableFuture<Void>
A concurrent task in which a phase plot operation is executed.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue -
Constructor Summary
ConstructorsConstructorDescriptionPhasePlotTask(double period, double epoch, Map<SeriesType, Boolean> seriesVisibilityMap) 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
-
PhasePlotTask
Constructor- Parameters:
period- The requested period of the phase plot.epoch- The epoch (first Julian Date) for the phase plot.seriesVisibilityMap- A mapping from series number to visibility status.
-
-
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>
-