Plotter<S>
ContourPlotter
, FillPlotter
, FunctionPlotter
, HealpixPlotter
, LabelPlotter
, LinearFitPlotter
, ShapePlotter
, SimpleDecalPlotter
, SkyGridPlotter
, SpotPlotter
, TracePlotter
public abstract class AbstractPlotter<S extends Style> extends java.lang.Object implements Plotter<S>
Modifier | Constructor | 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,
int npos,
Coord[] extraCoords) |
Constructs a plotter with specified data positions and additional
coordinates, no report keys.
|
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.
|
Modifier and Type | Method | 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, wait
createLayer, createStyle, getPlotterDescription, getStyleKeys
protected 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()
Plotter
getPlotterName
in interface Plotter<S extends Style>
public javax.swing.Icon getPlotterIcon()
Plotter
getPlotterIcon
in interface Plotter<S extends Style>
public CoordGroup getCoordGroup()
Plotter
getCoordGroup
in interface Plotter<S extends Style>
public boolean hasReports()
Plotter
hasReports
in interface Plotter<S extends Style>
Drawing.getReport(java.lang.Object)
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.