Interface IAxisSystem

All Known Subinterfaces:
IPlottingSystem<T>, IPlottingSystemViewer<T>
All Known Implementing Classes:
AbstractHyperPlotViewer, AbstractPlottingSystem, ArpesSlicePlotViewer, DatasetTablePlotViewer, HyperPlotViewer, IPlottingSystemViewer.Stub, JRealityPlotViewer, LightWeightPlotViewer, PlottingSystemImpl, ThreadSafePlottingSystem

public interface IAxisSystem
No methods in this interface are thread safe.
  • Method Details

    • resetAxes

      void resetAxes()
      Called to reset the axes
    • createAxis

      IAxis createAxis(String title, boolean isYAxis, int side)
      Use this method to create axes other than the default y and x axes.
      Parameters:
      title -
      isYAxis - , normally it is.
      side - - either SWT.LEFT, SWT.RIGHT, SWT.TOP, SWT.BOTTOM
      Returns:
    • removeAxis

      IAxis removeAxis(IAxis axis)
      Use this method to delete any extra axes which have been created. You may not delete the primary axes using this method, only those which you have created using createAxis(...)
      Parameters:
      title -
      Returns:
    • getAxes

      List<IAxis> getAxes()
      Get the list of all axes
      Returns:
    • getAxis

      IAxis getAxis(String name)
      Look up the axis from the list of axes by the name used when createAxis(...) was called.
      Parameters:
      name -
      Returns:
    • getSelectedYAxis

      IAxis getSelectedYAxis()
      The current y axis to plot to. Intended for 1D plotting with multiple axes.
      Returns:
    • setSelectedYAxis

      void setSelectedYAxis(IAxis yAxis)
      Set the current plotting yAxis. Intended for 1D plotting with multiple axes. May be called with null to reset to the primary axis.
      Parameters:
      yAxis -
    • getSelectedXAxis

      IAxis getSelectedXAxis()
      The current x axis to plot to. Intended for 1D plotting with multiple axes.
      Returns:
    • setSelectedXAxis

      void setSelectedXAxis(IAxis xAxis)
      Set the current plotting xAxis. Intended for 1D plotting with multiple axes. May be called with null to reset to the primary axis.
      Parameters:
      xAxis -
    • autoscaleAxes

      void autoscaleAxes()
      Call to rescale the axes, for instance after changing data of a few axes you want the data to be scaled properly. Not thread safe.
    • addPositionListener

      void addPositionListener(IPositionListener l)
      A listener to be notified of mouse position.
      Parameters:
      l -
    • removePositionListener

      void removePositionListener(IPositionListener l)
      A listener to stop being notified of mouse position.
      Parameters:
      l -
    • addClickListener

      void addClickListener(IClickListener l)
      A listener to be notified of mouse position.
      Parameters:
      l -
    • removeClickListener

      void removeClickListener(IClickListener l)
      A listener to stop being notified of mouse position.
      Parameters:
      l -