Class AbstractPlotLayer
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.AbstractPlotLayer
- All Implemented Interfaces:
PlotLayer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextendCoordinateRanges(Range[] ranges, Scale[] scales, DataStore dataStore) This implementation does nothing.This implementation returns a new empty map.Returns the data geometry used by this layer.Returns the data spec that defines the data used by this layer.getOpt()Returns an object that describes some facts about how this layer draws itself used for rendering.Plotter<?> Returns the plotter that generated this layer.getStyle()Returns the plot style used by this layer.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PlotLayer
createDrawing
-
Constructor Details
-
AbstractPlotLayer
-
-
Method Details
-
getPlotter
Description copied from interface:PlotLayerReturns the plotter that generated this layer. Used to help determine whether this layer is the same as another one.- Specified by:
getPlotterin interfacePlotLayer- Returns:
- parent plotter
-
getDataGeom
Description copied from interface:PlotLayerReturns the data geometry used by this layer. This can be used in conjunction with the DataSpec to determine the base positions in data space of what has been plotted. Depending on the nature of the returned object, these positions may be actual points in the data space, or some higher-dimensional object. If null is returned, no such information is available.- Specified by:
getDataGeomin interfacePlotLayer- Returns:
- data geom, or null
-
extendCoordinateRanges
This implementation does nothing.- Specified by:
extendCoordinateRangesin interfacePlotLayer- Parameters:
ranges- array of data space dimension ranges, may be adjustedscales- array of axis scalings corresponding torangesarraydataStore- data storage object
-
getDataSpec
Description copied from interface:PlotLayerReturns the data spec that defines the data used by this layer. May be null if no tabular data is required.- Specified by:
getDataSpecin interfacePlotLayer- Returns:
- data spec, or null
-
getStyle
-
getOpt
-
getAuxRangers
This implementation returns a new empty map. Subclasses overriding this implementation may call the superclass method, modify the resulting map, and pass it on.- Specified by:
getAuxRangersin interfacePlotLayer- Returns:
- range scales required for plot
-