public abstract class AbstractPlotter<S extends Style> extends Object implements Plotter<S>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPlotter(String name,
Icon icon)
Constructs a plotter with no data coordinates or reports.
|
protected |
AbstractPlotter(String name,
Icon icon,
CoordGroup coordGrp,
boolean hasReports)
Constructs a plotter with a given coordinate group and indication
of reporting status.
|
protected |
AbstractPlotter(String name,
Icon icon,
int npos,
Coord[] extraCoords)
Constructs a plotter with specified data positions and additional
coordinates, no report keys.
|
| Modifier and Type | Method and Description |
|---|---|
CoordGroup |
getCoordGroup()
Returns an object describing which data coordinates are used for
this plotter and how they are arranged in supplied DataSpec objects.
|
Icon |
getPlotterIcon()
Returns an icon for this plotter for use in user interface.
|
String |
getPlotterName()
Returns the name of this plotter for use in user interface.
|
Object |
getRangeStyleKey(S style)
The AbstractPlotter implementation returns null.
|
boolean |
hasReports()
Indicates whether the drawings produced by this plotter will
return general interest report information to upstream plotting code.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateLayer, createStyle, getPlotterDescription, getStyleKeysprotected AbstractPlotter(String name, Icon icon, CoordGroup coordGrp, boolean hasReports)
name - plotter nameicon - plotter iconcoordGrp - coordinate grouphasReports - whether plot reports are generatedprotected AbstractPlotter(String name, Icon icon)
name - plotter nameicon - plotter iconprotected AbstractPlotter(String name, Icon icon, int npos, Coord[] extraCoords)
name - plotter nameicon - plotter iconnpos - number of sets of positional coordinatesextraCoords - coordinates other than positional coordinatespublic String getPlotterName()
PlottergetPlotterName in interface Plotter<S extends Style>public Icon getPlotterIcon()
PlottergetPlotterIcon in interface Plotter<S extends Style>public CoordGroup getCoordGroup()
PlottergetCoordGroup in interface Plotter<S extends Style>public boolean hasReports()
PlotterhasReports in interface Plotter<S extends Style>Drawing.getReport(java.lang.Object)public Object getRangeStyleKey(S style)
getRangeStyleKey in interface Plotter<S extends Style>style - plot style to assessCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.