|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.layer.TuplePlotter<S>
public abstract class TuplePlotter<S extends Style>
Skeleton implementation of Plotter used for plotters that plot positional data.
Constructor Summary | |
---|---|
protected |
TuplePlotter(String name,
Icon icon,
Coord[] extraCoords)
Constructor. |
Method Summary | |
---|---|
Coord[] |
getExtraCoords()
Returns any coordinates used by this plotter additional to the base positions (those returned by DataGeom.getPosCoords()
if hasPosition is true). |
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 |
hasPosition()
Returns true. |
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, getStyleKeys |
Constructor Detail |
---|
protected TuplePlotter(String name, Icon icon, Coord[] extraCoords)
name
- plotter nameicon
- plotter iconextraCoords
- 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 boolean hasPosition()
hasPosition
in interface Plotter<S extends Style>
createLayer
uses a DataGeom
public Coord[] getExtraCoords()
Plotter
DataGeom.getPosCoords()
if hasPosition
is true).
getExtraCoords
in interface Plotter<S extends Style>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |