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()
LayerType
public java.lang.String getXmlDescription()
LayerType
getXmlDescription
in interface LayerType
public uk.ac.starlink.task.Parameter[] getAssociatedParameters(java.lang.String suffix)
LayerType
getAssociatedParameters
in interface LayerType
suffix
- 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
LayerType
getPlotter
in interface LayerType
env
- execution environmentsuffix
- layer suffix stringuk.ac.starlink.task.TaskException
public int getPositionCount()
LayerType
getPositionCount
in interface LayerType
public Coord[] getExtraCoords()
LayerType
getExtraCoords
in interface LayerType
public ConfigKey[] getStyleKeys()
LayerType
getStyleKeys
in interface LayerType
public uk.ac.starlink.task.ChoiceParameter<ShapeMode> createShapeModeParameter(java.lang.String suffix)
suffix
- layer suffixCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.