|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.layer.AbstractPlotLayer
public abstract class AbstractPlotLayer
Partial PlotLayer implementation. This implementation just supplies straightforward implementations of the interface accessor methods.
Constructor Summary | |
---|---|
protected |
AbstractPlotLayer(Plotter plotter,
DataGeom geom,
DataSpec dataSpec,
Style style,
LayerOpt opt)
Constructor. |
Method Summary | |
---|---|
void |
extendCoordinateRanges(Range[] ranges,
boolean[] logFlags,
DataStore dataStore)
This implementation does nothing. |
Map<AuxScale,AuxReader> |
getAuxRangers()
This implementation returns a new empty map. |
DataGeom |
getDataGeom()
Returns the data geometry used by this layer. |
DataSpec |
getDataSpec()
Returns the data spec that defines the data used by this layer. |
LayerOpt |
getOpt()
Returns an object that describes some facts about how this layer draws itself used for rendering. |
Plotter |
getPlotter()
Returns the plotter that generated this layer. |
Style |
getStyle()
Returns the plot style used by this layer. |
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.PlotLayer |
---|
createDrawing |
Constructor Detail |
---|
protected AbstractPlotLayer(Plotter plotter, DataGeom geom, DataSpec dataSpec, Style style, LayerOpt opt)
plotter
- plotter that created this layergeom
- defines data spacedataSpec
- required data valuesstyle
- plotting styleopt
- layer optimisation optionMethod Detail |
---|
public Plotter getPlotter()
PlotLayer
getPlotter
in interface PlotLayer
public DataGeom getDataGeom()
PlotLayer
getDataGeom
in interface PlotLayer
public void extendCoordinateRanges(Range[] ranges, boolean[] logFlags, DataStore dataStore)
extendCoordinateRanges
in interface PlotLayer
ranges
- array of data space dimension ranges, may be adjustedlogFlags
- array of scaling flags (false=linear, true=log)
corresponding to ranges
arraydataStore
- data storage objectpublic DataSpec getDataSpec()
PlotLayer
getDataSpec
in interface PlotLayer
public Style getStyle()
PlotLayer
getStyle
in interface PlotLayer
public LayerOpt getOpt()
PlotLayer
getOpt
in interface PlotLayer
public Map<AuxScale,AuxReader> getAuxRangers()
getAuxRangers
in interface PlotLayer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |