Class MultiAxisController<P,A>

java.lang.Object
uk.ac.starlink.topcat.plot2.MultiController<AxisController<P,A>>
uk.ac.starlink.topcat.plot2.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 Details

    • MultiAxisController

      public MultiAxisController(PlotTypeGui<P,A> plotType, uk.ac.starlink.ttools.plot2.SurfaceFactory<P,A> surfFact, ZoneFactory zfact, MultiConfigger configger)
      Constructor.
      Parameters:
      plotType - plot type
      zfact - zone id factory
      configger - manages global and per-zone axis config items
  • Method Details

    • 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.