|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayerType
Represents the type of a plot layer as selected by the user. This object does not correspond to anything very well-defined in the plot2 API: it may represent either a single Plotter object or a collection of Plotter objects from which one may be selected by use of associated parameters. However, it's a useful abstraction, to associate with a user-visible task parameter, since the number of Plotter objects that may be associated with a PlotType is typically too large for a comfortable selection from a single choice parameter.
Method Summary | |
---|---|
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. |
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. |
int |
getPositionCount()
Returns the number of coordinate positions associated with this layer. |
ConfigKey[] |
getStyleKeys()
Returns the style keys associated with this layer type. |
String |
getXmlDescription()
Returns an XML description of this layer type. |
Method Detail |
---|
String getName()
String getXmlDescription()
Parameter[] getAssociatedParameters(String suffix)
suffix
- layer suffix string for use in the execution environment
int getPositionCount()
Coord[] getExtraCoords()
ConfigKey[] getStyleKeys()
Plotter getPlotter(Environment env, String suffix) throws TaskException
env
- execution environmentsuffix
- layer suffix string
TaskException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |