Package uk.ac.starlink.topcat.plot2
Class MatrixAxesController
java.lang.Object
uk.ac.starlink.topcat.plot2.AbstractAxesController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.PlaneAspect>
uk.ac.starlink.topcat.plot2.MatrixAxesController
- All Implemented Interfaces:
AxesController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,
,uk.ac.starlink.ttools.plot2.geom.PlaneAspect> Configger
public class MatrixAxesController
extends AbstractAxesController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.PlaneAspect>
AxesController implementation for the matrix plot.
- Since:
- 19 Sep 2023
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureForLayers
(LayerControl[] layerControls) Provides a hook for implementations to adjust their GUI state based on the layer controls which will be supplying layers for them to plot.uk.ac.starlink.ttools.plot2.config.ConfigMap
Returns a configuration map.List
<ZoneController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile, uk.ac.starlink.ttools.plot2.geom.PlaneAspect>> getZoneControllers
(uk.ac.starlink.ttools.plot2.Ganger<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile, uk.ac.starlink.ttools.plot2.geom.PlaneAspect> ganger) Returns a list of zone contollers, one for each zone defined by a supplied ganger.Methods inherited from class uk.ac.starlink.topcat.plot2.AbstractAxesController
addActionListener, addControl, getActionForwarder, getStackControls, removeActionListener
-
Constructor Details
-
MatrixAxesController
public MatrixAxesController()Constructor.
-
-
Method Details
-
configureForLayers
Description copied from interface:AxesController
Provides a hook for implementations to adjust their GUI state based on the layer controls which will be supplying layers for them to plot.- Parameters:
layerControls
- layer controls expected to provide layers to be plotted on these axes
-
getConfig
public uk.ac.starlink.ttools.plot2.config.ConfigMap getConfig()Description copied from interface:Configger
Returns a configuration map. Calling this method will typically gather information from a GUI to return.- Returns:
- config map
-
getZoneControllers
public List<ZoneController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.PlaneAspect>> getZoneControllers(uk.ac.starlink.ttools.plot2.Ganger<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile, uk.ac.starlink.ttools.plot2.geom.PlaneAspect> ganger) Description copied from interface:AxesController
Returns a list of zone contollers, one for each zone defined by a supplied ganger.- Parameters:
ganger
- ganger, assumed to be compatible with this controller- Returns:
- list of zone controllers, one for each zone defined by the ganger
-