Class MultiAxisController<P,​A>


  • public class MultiAxisController<P,​A>
    extends MultiController<AxisController<P,​A>>
    MultiController that works with AxisController instances.
    Since:
    12 Feb 2016
    Author:
    Mark Taylor
    • Constructor Detail

      • MultiAxisController

        public MultiAxisController​(PlotTypeGui<P,​A> plotType,
                                   ZoneFactory zfact,
                                   MultiConfigger configger)
        Constructor.
        Parameters:
        plotType - plot type
        zfact - zone id factory
        configger - manages global and per-zone axis config items
    • Method Detail

      • setAspect

        public void setAspect​(uk.ac.starlink.ttools.plot2.Ganger<P,​A> ganger,
                              ZoneId zid,
                              A aspect)
        Sets the surface aspect to use for a given zone.
        Parameters:
        ganger - object that defines multi-zone positioning
        zid - zone whose aspect is to be updated; can, but probably shouldn't, be null
        aspect - new aspect
      • resetAspects

        public void resetAspects()
        Resets aspects of all the current per-zone controllers.