public class GenericPlot2Task extends AbstractPlot2Task
DOC_ZONE_SUFFIX, DOMAINMAPPER_SUFFIX, EXAMPLE_LAYER_SUFFIX, EXAMPLE_ZONE_SUFFIX, LAYER_PREFIX, ZONE_PREFIX
Constructor and Description |
---|
GenericPlot2Task(boolean allowAnimate,
boolean hasZoneSuffixes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected <T> String |
getConfigParamDefault(Environment env,
ConfigKey<T> key,
String[] suffixes)
May provide a default value for a given config parameter that is
sensitive to the content of the execution environment.
|
Parameter<?>[] |
getParameters()
Returns the list of parameters which may be used by this task.
|
PlotContext<?,?> |
getPlotContext(Environment env)
Concrete subclasses must implement this method to provide
the PlotType and other information from the environment
that may not be available at construction time.
|
String |
getPurpose()
Returns a short (one-line) description of the purpose of this task.
|
createAuxCrowdParameter, createAuxLabelParameter, createAuxVisibleParameter, createAuxWidthParameter, createBasicConfigMap, createCaptioner, createConfigMap, createCustomConfigMap, createDataParameter, createDomainMapperParameter, createExecutable, createFilterParameter, createLabelParameter, createLayerSuffixedConfigMap, createLayerTypeParameter, createLegend, createLegendPositionParameter, createPaintModeParameter, createPlotComponent, createPlotConfiguration, createPlotIcon, createPlotIcon, createShadeAxisFactory, createTableParameter, createTitleParameter, createZoneParameter, getBasicParameters, getBitmapParameter, getCompositorParameter, getContextParameters, getCoordValue, getDataStoreParameter, getInputTable, getLegendBorderParameter, getLegendOpaqueParameter, getLegendParameter, getLegendSequenceParameter, getPaddingParameter, getParameterByName, getPlotters, getSequenceParameter, getXpixParameter, getYpixParameter, getZoneKeyParams, hasDomainMappers, hasZoneSuffixes, testEnv
public GenericPlot2Task(boolean allowAnimate, boolean hasZoneSuffixes)
allowAnimate
- true iff animation options should be providedhasZoneSuffixes
- true iff zone content can be controlled
explicitly by use of parameter suffixespublic String getPurpose()
Task
public Parameter<?>[] getParameters()
Task
public PlotContext<?,?> getPlotContext(Environment env) throws TaskException
AbstractPlot2Task
getPlotContext
in class AbstractPlot2Task
env
- execution environmentTaskException
protected <T> String getConfigParamDefault(Environment env, ConfigKey<T> key, String[] suffixes)
AbstractPlot2Task
getConfigParamDefault
in class AbstractPlot2Task
env
- execution environmentkey
- config key for which a parameter is requiredsuffixes
- ordered list of the plot layer suffixes
in use for the plot being performedkey
,
or null if none is obviousCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.