Class MarkCombineArrayPlotter
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.AbstractPlotter<S>
-
- 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 Classes Modifier and Type Class Description static class
MarkCombineArrayPlotter.MarkCombineArrayStyle
Style for use with this plotter.-
Nested classes/interfaces inherited from class uk.ac.starlink.ttools.plot2.layer.CombineArrayPlotter
CombineArrayPlotter.CombineArrayStyle
-
-
Field Summary
Fields Modifier and Type Field Description static MarkCombineArrayPlotter
INSTANCE
Sole instance of this class.static ConfigKey<java.lang.Integer>
SIZE_KEY
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarkCombineArrayPlotter.MarkCombineArrayStyle
createStyle(ConfigMap config)
Creates a style that can be used when creating a plot layer.java.lang.String
getPlotterDescription()
Returns an XML description of this plotter.ConfigKey<?>[]
getStyleKeys()
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 Detail
-
INSTANCE
public static final MarkCombineArrayPlotter INSTANCE
Sole instance of this class.
-
SIZE_KEY
public static final ConfigKey<java.lang.Integer> SIZE_KEY
Config key for marker size.
-
-
Method Detail
-
getPlotterDescription
public java.lang.String 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
public ConfigKey<?>[] 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
public MarkCombineArrayPlotter.MarkCombineArrayStyle createStyle(ConfigMap config)
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
-
-