| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SHADING_PREFIX
Base name of associated Shading parameter.
|
| Constructor and Description |
|---|
ShapeFamilyLayerType(ShapeForm form,
java.util.List<ShapePlotter.ShapeModePlotter> plotters)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
uk.ac.starlink.task.ChoiceParameter<ShapeMode> |
createShapeModeParameter(java.lang.String suffix)
Returns the ShapeMode parameter that is required alongside this
LayerType in order to determine the Plotter to use.
|
uk.ac.starlink.task.Parameter[] |
getAssociatedParameters(java.lang.String suffix)
Returns a list of zero or more additional parameters associated
with this layer type that may be required to turn it into the
specification of an actual Plotter object.
|
Coord[] |
getExtraCoords()
Returns a list of any non-positional coordinates associated
with this layer.
|
java.lang.String |
getName()
Returns the name of this layer type.
|
Plotter |
getPlotter(uk.ac.starlink.task.Environment env,
java.lang.String suffix)
Acquires a Plotter for this layer type.
|
int |
getPositionCount()
Returns the number of coordinate positions associated with this layer.
|
ShapeForm |
getShapeForm()
Returns the fixed form associated with this layer type.
|
ShapePlotter.ShapeModePlotter[] |
getShapeModePlotters()
Returns the family of plotters associated with this layer type.
|
ConfigKey[] |
getStyleKeys()
Returns the style keys associated with this layer type.
|
java.lang.String |
getXmlDescription()
Returns an XML description of this layer type.
|
public static final java.lang.String SHADING_PREFIX
public ShapeFamilyLayerType(ShapeForm form, java.util.List<ShapePlotter.ShapeModePlotter> plotters)
form - shape formplotters - list of plotters with the given Form;
this list may be adjusted during the life of the
object (with care)public ShapeForm getShapeForm()
public ShapePlotter.ShapeModePlotter[] getShapeModePlotters()
public java.lang.String getName()
LayerTypepublic java.lang.String getXmlDescription()
LayerTypegetXmlDescription in interface LayerTypepublic uk.ac.starlink.task.Parameter[] getAssociatedParameters(java.lang.String suffix)
LayerTypegetAssociatedParameters in interface LayerTypesuffix - layer suffix string for use in the execution environmentpublic Plotter getPlotter(uk.ac.starlink.task.Environment env, java.lang.String suffix) throws uk.ac.starlink.task.TaskException
LayerTypegetPlotter in interface LayerTypeenv - execution environmentsuffix - layer suffix stringuk.ac.starlink.task.TaskExceptionpublic int getPositionCount()
LayerTypegetPositionCount in interface LayerTypepublic Coord[] getExtraCoords()
LayerTypegetExtraCoords in interface LayerTypepublic ConfigKey[] getStyleKeys()
LayerTypegetStyleKeys in interface LayerTypepublic uk.ac.starlink.task.ChoiceParameter<ShapeMode> createShapeModeParameter(java.lang.String suffix)
suffix - layer suffixCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.