Modifier and Type | Field and Description |
---|---|
static String |
SHADING_PREFIX
Base name of associated Shading parameter.
|
Constructor and Description |
---|
ShapeFamilyLayerType(ShapeForm form,
List<ShapeModePlotter> plotters)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ChoiceParameter<ShapeMode> |
createShapeModeParameter(String suffix)
Returns the ShapeMode parameter that is required alongside this
LayerType in order to determine the Plotter to use.
|
Parameter<?>[] |
getAssociatedParameters(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.
|
CoordGroup |
getCoordGroup()
Returns a CoordGroup characteristic of this layer type.
|
Coord[] |
getExtraCoords()
Returns a list of any non-positional coordinates associated
with this layer.
|
String |
getName()
Returns the name of this layer type.
|
Plotter<?> |
getPlotter(Environment env,
String suffix)
Acquires a Plotter for this layer type.
|
ShapeForm |
getShapeForm()
Returns the fixed form associated with this layer type.
|
ShapeModePlotter[] |
getShapeModePlotters()
Returns the family of plotters associated with this layer type.
|
ConfigKey<?>[] |
getStyleKeys()
Returns the style keys associated with this layer type.
|
String |
getXmlDescription()
Returns an XML description of this layer type.
|
public static final String SHADING_PREFIX
public ShapeFamilyLayerType(ShapeForm form, List<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 ShapeModePlotter[] getShapeModePlotters()
public String getName()
LayerType
public String getXmlDescription()
LayerType
getXmlDescription
in interface LayerType
public Parameter<?>[] getAssociatedParameters(String suffix)
LayerType
getAssociatedParameters
in interface LayerType
suffix
- layer suffix string for use in the execution environmentpublic Plotter<?> getPlotter(Environment env, String suffix) throws TaskException
LayerType
getPlotter
in interface LayerType
env
- execution environmentsuffix
- layer suffix stringTaskException
public CoordGroup getCoordGroup()
LayerType
getCoordGroup
in interface LayerType
public Coord[] getExtraCoords()
LayerType
getExtraCoords
in interface LayerType
public ConfigKey<?>[] getStyleKeys()
LayerType
getStyleKeys
in interface LayerType
public ChoiceParameter<ShapeMode> createShapeModeParameter(String suffix)
suffix
- layer suffixCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.