Package uk.ac.starlink.ttools.plottask
Class MarkStyleFactory
java.lang.Object
uk.ac.starlink.ttools.plottask.StyleFactory
uk.ac.starlink.ttools.plottask.MarkStyleFactory
StyleFactory for obtaining
MarkStyle
instances suitable for use with a scatter plot.- Since:
- 8 Aug 2008
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class uk.ac.starlink.ttools.plottask.StyleFactory
getStyleIndex, paramName
-
Constructor Details
-
MarkStyleFactory
Constructor.- Parameters:
prefix
- prefix to be prepended to all parameters used by this factoryerrNdim
- number of dimensions in which errors may be displayed
-
-
Method Details
-
getParameters
Description copied from class:StyleFactory
Returns the parameters used by this factory.- Specified by:
getParameters
in classStyleFactory
- Parameters:
stSuffix
- label identifying the data set for which the style will be required
-
getStyle
public Style getStyle(uk.ac.starlink.task.Environment env, String stSuffix) throws uk.ac.starlink.task.TaskException Returns aMarkStyle
instance.- Specified by:
getStyle
in classStyleFactory
- Parameters:
env
- execution environmentstSuffix
- label identifying the data set for which the style is required- Returns:
- plotting style
- Throws:
uk.ac.starlink.task.TaskException
-