Package uk.ac.starlink.ttools.plottask
Class PlotTask
java.lang.Object
uk.ac.starlink.ttools.plottask.PlotTask
- All Implemented Interfaces:
uk.ac.starlink.task.Task
- Direct Known Subclasses:
TableHistogram
,TablePlot2D
,TablePlot3D
Abstract superclass for tasks which generate plots from table data.
- Since:
- 22 Apr 2008
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionPlotTask
(String purpose, PlotStateFactory stateFactory, TablePlot plot) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionuk.ac.starlink.task.Executable
createExecutable
(uk.ac.starlink.task.Environment env) protected List<uk.ac.starlink.task.Parameter<?>>
uk.ac.starlink.task.Parameter<?>[]
uk.ac.starlink.task.Parameter<Integer>
Returns the parameter used for setting plot output X dimension.uk.ac.starlink.task.Parameter<Integer>
Returns the parameter used for setting plot output Y dimension.
-
Constructor Details
-
PlotTask
Constructor.- Parameters:
purpose
- short (one-line) task purposestateFactory
- PlotStateFactory for use with this plotplot
- plot component for use with this plot
-
-
Method Details
-
getParameterList
-
getPurpose
- Specified by:
getPurpose
in interfaceuk.ac.starlink.task.Task
-
getParameters
public uk.ac.starlink.task.Parameter<?>[] getParameters()- Specified by:
getParameters
in interfaceuk.ac.starlink.task.Task
-
getXpixParameter
Returns the parameter used for setting plot output X dimension.- Returns:
- xpix parameter
-
getYpixParameter
Returns the parameter used for setting plot output Y dimension.- Returns:
- ypix parameter
-
createExecutable
public uk.ac.starlink.task.Executable createExecutable(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException - Specified by:
createExecutable
in interfaceuk.ac.starlink.task.Task
- Throws:
uk.ac.starlink.task.TaskException
-