|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.layer.AbstractPlotter<S>
uk.ac.starlink.ttools.plot2.layer.SimpleDecalPlotter<LineStyle>
uk.ac.starlink.ttools.plot2.layer.LinePlotter
public class LinePlotter
Plotter that plots a line between data points.
Constructor Summary | |
---|---|
LinePlotter()
Constructor. |
Method Summary | |
---|---|
LineStyle |
createStyle(ConfigMap config)
Creates a style that can be used when creating a plot layer. |
protected LayerOpt |
getLayerOpt(LineStyle style)
Indicates the layer optimisation options that apply to a given style. |
String |
getPlotterDescription()
Returns an XML description of this plotter. |
ConfigKey[] |
getStyleKeys()
Returns the configuration keys used to configure style for this plotter. |
protected void |
paintData2D(Surface surface,
DataStore dataStore,
DataGeom geom,
DataSpec dataSpec,
LineStyle style,
Graphics g,
PaperType paperType)
Called during Decal painting to perform the actual plot. |
Methods inherited from class uk.ac.starlink.ttools.plot2.layer.SimpleDecalPlotter |
---|
createLayer |
Methods inherited from class uk.ac.starlink.ttools.plot2.layer.AbstractPlotter |
---|
getCoordGroup, getPlotterIcon, getPlotterName, hasReports |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinePlotter()
Method Detail |
---|
public String getPlotterDescription()
Plotter
Note: really this should appear at the LayerType level.
public ConfigKey[] getStyleKeys()
Plotter
Plotter.createStyle(uk.ac.starlink.ttools.plot2.config.ConfigMap)
method.
public LineStyle createStyle(ConfigMap config)
Plotter
Plotter.getStyleKeys()
.
The return value can be used as input to Plotter.createLayer(uk.ac.starlink.ttools.plot2.DataGeom, uk.ac.starlink.ttools.plot2.data.DataSpec, S)
.
config
- map of style configuration items
protected LayerOpt getLayerOpt(LineStyle style)
SimpleDecalPlotter
getLayerOpt
in class SimpleDecalPlotter<LineStyle>
style
- plot style
protected void paintData2D(Surface surface, DataStore dataStore, DataGeom geom, DataSpec dataSpec, LineStyle style, Graphics g, PaperType paperType)
SimpleDecalPlotter
paintData2D
in class SimpleDecalPlotter<LineStyle>
surface
- plot surfacedataStore
- data storage objectgeom
- data geometrystyle
- plot styleg
- graphics contextpaperType
- paper type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |