uk.ac.starlink.ttools.plottask
Class BarStyleFactory
java.lang.Object
uk.ac.starlink.ttools.plottask.StyleFactory
uk.ac.starlink.ttools.plottask.BarStyleFactory
public class BarStyleFactory
- extends StyleFactory
StyleFactory for BarStyle objects suitable for use with a histogram.
- Since:
- 14 Aug 2008
- Author:
- Mark Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BarStyleFactory
public BarStyleFactory(String prefix)
- Constructor.
- Parameters:
prefix
- prefix to be prepended to all parameters used by this
factory
getParameters
public Parameter[] getParameters(String stSuffix)
- Description copied from class:
StyleFactory
- Returns the parameters used by this factory.
- Specified by:
getParameters
in class StyleFactory
- Parameters:
stSuffix
- label identifying the data set for which the style
will be required
getStyle
public Style getStyle(Environment env,
String stSuffix)
throws TaskException
- Description copied from class:
StyleFactory
- Obtains a Style object from the environment by examining parameters.
- Specified by:
getStyle
in class StyleFactory
- Parameters:
env
- execution environmentstSuffix
- label identifying the data set for which the style
is required
- Returns:
- plotting style
- Throws:
TaskException
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.