Class MarkCombineArrayPlotter
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.AbstractPlotter<MarkCombineArrayPlotter.MarkCombineArrayStyle>
uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter<MarkCombineArrayPlotter.MarkCombineArrayStyle>
uk.ac.starlink.ttools.plot2.layer.MarkCombineArrayPlotter
- All Implemented Interfaces:
Plotter<MarkCombineArrayPlotter.MarkCombineArrayStyle>
public class MarkCombineArrayPlotter
extends CombineArrayPlotter<MarkCombineArrayPlotter.MarkCombineArrayStyle>
CombineArrayPlotter that plots a marker at each aggregated position.
- Since:
- 25 Jan 2022
- Author:
- Mark Taylor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Style for use with this plotter.Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter
CombineArrayPlotter.CombineArrayStyle
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MarkCombineArrayPlotter
Sole instance of this class.Config key for marker size.Fields inherited from class uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter
XCOMBINER_KEY, XS_REPKEY, YCOMBINER_KEY, YS_REPKEY
-
Method Summary
Modifier and TypeMethodDescriptioncreateStyle
(ConfigMap config) Creates a style that can be used when creating a plot layer.Returns an XML description of this plotter.ConfigKey<?>[]
Returns the configuration keys used to configure style for this plotter.Methods inherited from class uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter
createLayer, getRangeStyleKey
Methods inherited from class uk.ac.starlink.ttools.plot2.layer.AbstractPlotter
getCoordGroup, getPlotterIcon, getPlotterName, hasReports
-
Field Details
-
INSTANCE
Sole instance of this class. -
SIZE_KEY
Config key for marker size.
-
-
Method Details
-
getPlotterDescription
Description copied from interface:Plotter
Returns an XML description of this plotter.Note: really this should appear at the LayerType level.
- Returns:
- one or more <p> elements
-
getStyleKeys
Description copied from interface:Plotter
Returns the configuration keys used to configure style for this plotter. The keys in the return value are used in the map supplied to thePlotter.createStyle(uk.ac.starlink.ttools.plot2.config.ConfigMap)
method.- Returns:
- keys used when creating a style for this plotter.
-
createStyle
Description copied from interface:Plotter
Creates a style that can be used when creating a plot layer. The keys that are significant in the supplied config map are those returned byPlotter.getStyleKeys()
. The return value can be used as input toPlotter.createLayer(uk.ac.starlink.ttools.plot2.DataGeom, uk.ac.starlink.ttools.plot2.data.DataSpec, S)
.- Parameters:
config
- map of style configuration items- Returns:
- plotter-specific plot style
-