public abstract class AbstractPlotter<S extends Style> extends java.lang.Object implements Plotter<S>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPlotter(java.lang.String name,
javax.swing.Icon icon)
Constructs a plotter with no data coordinates or reports.
|
protected |
AbstractPlotter(java.lang.String name,
javax.swing.Icon icon,
CoordGroup coordGrp,
boolean hasReports)
Constructs a plotter with a given coordinate group and indication
of reporting status.
|
protected |
AbstractPlotter(java.lang.String name,
javax.swing.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.
|
javax.swing.Icon |
getPlotterIcon()
Returns an icon for this plotter for use in user interface.
|
java.lang.String |
getPlotterName()
Returns the name of this plotter for use in user interface.
|
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(java.lang.String name,
javax.swing.Icon icon,
CoordGroup coordGrp,
boolean hasReports)
name - plotter nameicon - plotter iconcoordGrp - coordinate grouphasReports - whether plot reports are generatedprotected AbstractPlotter(java.lang.String name,
javax.swing.Icon icon)
name - plotter nameicon - plotter iconprotected AbstractPlotter(java.lang.String name,
javax.swing.Icon icon,
int npos,
Coord[] extraCoords)
name - plotter nameicon - plotter iconnpos - number of sets of positional coordinatesextraCoords - coordinates other than positional coordinatespublic java.lang.String getPlotterName()
PlottergetPlotterName in interface Plotter<S extends Style>public javax.swing.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)Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.