Interface ITraceListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DataReduction2DTool, IntegrationTool, ITraceListener.Stub, TimeResolvedToolPage, XrfDeadTimeCorrectionTool

public interface ITraceListener extends EventListener
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Convenience class for creating listeners
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Fired whenever a new trace is added, the source of TraceEvent is the ITrace added.
    void
    Fired whenever a new trace is created, the source of TraceEvent is the ITrace created.
    void
    Fired whenever a trace is deleted, the source of TraceEvent is the ITrace.
    void
    Fired when new traces are plotted.
    void
    Called when all traces are cleared.
    void
    Notifies the listener that the plot technology requires the data to be resent back to the plot.
    void
    Fired whenever an existing trace is updated, the source of TraceEvent is the ITrace created.
    void
    Fired whenever a new trace is about to be plotted or replotted.
  • Method Details

    • traceCreated

      void traceCreated(TraceEvent evt)
      Fired whenever a new trace is created, the source of TraceEvent is the ITrace created.
      Parameters:
      evt -
    • traceUpdated

      void traceUpdated(TraceEvent evt)
      Fired whenever an existing trace is updated, the source of TraceEvent is the ITrace created.
      Parameters:
      evt -
    • traceAdded

      void traceAdded(TraceEvent evt)
      Fired whenever a new trace is added, the source of TraceEvent is the ITrace added.
      Parameters:
      evt -
    • traceRemoved

      void traceRemoved(TraceEvent evt)
      Fired whenever a trace is deleted, the source of TraceEvent is the ITrace.
      Parameters:
      evt -
    • tracesUpdated

      void tracesUpdated(TraceEvent evt)
      Notifies the listener that the plot technology requires the data to be resent back to the plot. For instance the user has reconfigured the plot and the data should be sent again. It is done this way to avoid caches of the plot data, which may be large, being made. Source of event is IPlottingSystem
      Parameters:
      evt -
    • tracesRemoved

      void tracesRemoved(TraceEvent evet)
      Called when all traces are cleared. Source of event is IPlottingSystem
      Parameters:
      evet -
    • tracesAdded

      void tracesAdded(TraceEvent evt)
      Fired when new traces are plotted. Source of event is ITrace or List
      Parameters:
      evt -
    • traceWillPlot

      void traceWillPlot(TraceWillPlotEvent evt)
      Fired whenever a new trace is about to be plotted or replotted. This is normally from add or update events. The event data will always be the ITrace which is about to be plotted. The source of TraceWillPlotEvent will be the Trace. There are getter and setter methods for the data. Use the setter methods to change the data in the trace which will be plotted.
      Parameters:
      evt -