Class 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 Detail

      • SkyAxisController

        public SkyAxisController()
        Constructor.
    • Method Detail

      • configureForLayers

        public void configureForLayers​(LayerControl[] layerControls)
        No-op.
        Specified by:
        configureForLayers in class AxisController<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 class AxisController<uk.ac.starlink.ttools.plot2.geom.SkySurfaceFactory.Profile,​uk.ac.starlink.ttools.plot2.geom.SkyAspect>
        Parameters:
        oldProfile - profile before change
        newProfile - profile after change
        Returns:
        true if a new auto-ranging is required