|
|||||||||
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>
public abstract class AbstractPlotter<S extends Style>
Skeleton implementation of Plotter. This doesn't do anything clever, just manages the basic members supplied at construction time.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
boolean |
hasReports()
Indicates whether the drawings produced by this plotter will return general interest report information to upstream plotting code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface uk.ac.starlink.ttools.plot2.Plotter |
---|
createLayer, createStyle, getPlotterDescription, getStyleKeys |
Constructor Detail |
---|
protected 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 coordinatesMethod Detail |
---|
public String getPlotterName()
Plotter
getPlotterName
in interface Plotter<S extends Style>
public 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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |