Package uk.ac.starlink.topcat.plot2
Class SkyAxisController
java.lang.Object
uk.ac.starlink.topcat.plot2.AxisController<uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.SkyAspect>
uk.ac.starlink.topcat.plot2.SkyAxisController
- All Implemented Interfaces:
Configger
public class SkyAxisController
extends AxisController<uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.SkyAspect>
AxisController for sky plot.
- Since:
- 14 Mar 2013
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureForLayers
(LayerControl[] layerControls) No-op.protected boolean
forceClearRange
(uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile oldProfile, uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile newProfile) Determines whether the change between two profiles forces an unconditional re-range of the plotting surface.uk.ac.starlink.ttools.plot2.geom.SkySys
Returns the sky view system currently selected for this control.Methods inherited from class uk.ac.starlink.topcat.plot2.AxisController
addActionListener, addAspectConfigTab, addControl, addNavigatorTab, assertHasKeys, clearAspect, clearRange, getActionForwarder, getAspect, getConfig, getControls, getMainControl, getNavigator, getRanges, getSurfaceFactory, removeActionListener, setAspect, setLatestSurface, setRanges, submitReports, updateState
-
Constructor Details
-
SkyAxisController
public SkyAxisController()Constructor.
-
-
Method Details
-
configureForLayers
No-op.- Specified by:
configureForLayers
in classAxisController<uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile,
uk.ac.starlink.ttools.plot2.geom.SkyAspect> - Parameters:
layerControls
- layer controls expected to provide layers to be plotted on these axes
-
getViewSystem
public uk.ac.starlink.ttools.plot2.geom.SkySys getViewSystem()Returns the sky view system currently selected for this control.- Returns:
- view system
-
forceClearRange
protected boolean forceClearRange(uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile oldProfile, uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile newProfile) Description copied from class:AxisController
Determines whether the change between two profiles forces an unconditional re-range of the plotting surface. This method should return true if the plotting surface will change between the old and new supplied profiles sufficiently to invalidate previously calculated auto range data.- Specified by:
forceClearRange
in classAxisController<uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile,
uk.ac.starlink.ttools.plot2.geom.SkyAspect> - Parameters:
oldProfile
- profile before changenewProfile
- profile after change- Returns:
- true if a new auto-ranging is required
-