Class PlanePlotType
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.PlanePlotType
- All Implemented Interfaces:
PlotType<PlaneSurfaceFactory.Profile, PlaneAspect>
- Direct Known Subclasses:
MatrixPlotType
public class PlanePlotType
extends Object
implements PlotType<PlaneSurfaceFactory.Profile, PlaneAspect>
Defines the characteristics of a plot on a 2-dimensional plane.
This is a singleton class, see getInstance().
- Since:
- 19 Feb 2013
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionPlanePlotType(PlaneSurfaceFactory surfFact, Plotter<?>[] plotters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object that controls how multi-zone plots are arranged.static PlanePlotTypeReturns the sole instance of this class.Returns an object which can provide graphics rendering functionality based on the required plot layers for this plot type.Plotter<?>[]Returns a list of plotters that can be used to paint data on the surface.DataGeom[]Returns a list of one or more geometry variants which describe how user-supplied point coordinates map to the data space.Returns an object that can construct the plot surface including axis painting and geometry information.toString()
-
Constructor Details
-
PlanePlotType
Constructor.- Parameters:
surfFact- surface factoryplotters- available plotters for use with this plot type
-
-
Method Details
-
getPointDataGeoms
Description copied from interface:PlotTypeReturns a list of one or more geometry variants which describe how user-supplied point coordinates map to the data space. If multiple values are returned, the first one may be used as some kind of default.- Specified by:
getPointDataGeomsin interfacePlotType<PlaneSurfaceFactory.Profile, PlaneAspect>- Returns:
- data geom option list
-
getPlotters
Description copied from interface:PlotTypeReturns a list of plotters that can be used to paint data on the surface.- Specified by:
getPlottersin interfacePlotType<PlaneSurfaceFactory.Profile, PlaneAspect>- Returns:
- plotter list
-
getSurfaceFactory
Description copied from interface:PlotTypeReturns an object that can construct the plot surface including axis painting and geometry information.- Specified by:
getSurfaceFactoryin interfacePlotType<PlaneSurfaceFactory.Profile, PlaneAspect>- Returns:
- surface factory
-
getGangerFactory
Description copied from interface:PlotTypeReturns the object that controls how multi-zone plots are arranged.- Specified by:
getGangerFactoryin interfacePlotType<PlaneSurfaceFactory.Profile, PlaneAspect>- Returns:
- ganger factory
-
getPaperTypeSelector
Description copied from interface:PlotTypeReturns an object which can provide graphics rendering functionality based on the required plot layers for this plot type.- Specified by:
getPaperTypeSelectorin interfacePlotType<PlaneSurfaceFactory.Profile, PlaneAspect>- Returns:
- paper type selector
-
toString
-
getInstance
Returns the sole instance of this class.- Returns:
- singleton instance
-