public class BarStyleFactory extends StyleFactory
Constructor and Description |
---|
BarStyleFactory(java.lang.String prefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
uk.ac.starlink.task.Parameter[] |
getParameters(java.lang.String stSuffix)
Returns the parameters used by this factory.
|
Style |
getStyle(uk.ac.starlink.task.Environment env,
java.lang.String stSuffix)
Obtains a Style object from the environment by examining parameters.
|
getStyleIndex, paramName
public BarStyleFactory(java.lang.String prefix)
prefix
- prefix to be prepended to all parameters used by this
factorypublic uk.ac.starlink.task.Parameter[] getParameters(java.lang.String stSuffix)
StyleFactory
getParameters
in class StyleFactory
stSuffix
- label identifying the data set for which the style
will be requiredpublic Style getStyle(uk.ac.starlink.task.Environment env, java.lang.String stSuffix) throws uk.ac.starlink.task.TaskException
StyleFactory
getStyle
in class StyleFactory
env
- execution environmentstSuffix
- label identifying the data set for which the style
is requireduk.ac.starlink.task.TaskException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.