Class ITraceListener.Stub
java.lang.Object
org.eclipse.dawnsci.plotting.api.trace.ITraceListener.Stub
- All Implemented Interfaces:
EventListener,ITraceListener
- Enclosing interface:
ITraceListener
Convenience class for creating listeners
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.dawnsci.plotting.api.trace.ITraceListener
ITraceListener.Stub -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtraceAdded(TraceEvent evt) Fired whenever a new trace is added, the source of TraceEvent is the ITrace added.voidtraceCreated(TraceEvent evt) Fired whenever a new trace is created, the source of TraceEvent is the ITrace created.voidtraceRemoved(TraceEvent evt) Fired whenever a trace is deleted, the source of TraceEvent is the ITrace.voidtracesAdded(TraceEvent evt) Fired when new traces are plotted.voidtracesRemoved(TraceEvent evt) Called when all traces are cleared.voidtracesUpdated(TraceEvent evt) Notifies the listener that the plot technology requires the data to be resent back to the plot.voidtraceUpdated(TraceEvent evt) Fired whenever an existing trace is updated, the source of TraceEvent is the ITrace created.voidFired whenever a new trace is about to be plotted or replotted.protected voidupdate(TraceEvent evt)
-
Constructor Details
-
Stub
public Stub()
-
-
Method Details
-
traceWillPlot
Description copied from interface:ITraceListenerFired 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.- Specified by:
traceWillPlotin interfaceITraceListener- Parameters:
evt-
-
tracesUpdated
Description copied from interface:ITraceListenerNotifies 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- Specified by:
tracesUpdatedin interfaceITraceListener- Parameters:
evt-
-
tracesRemoved
Description copied from interface:ITraceListenerCalled when all traces are cleared. Source of event is IPlottingSystem- Specified by:
tracesRemovedin interfaceITraceListener- Parameters:
evt-
-
tracesAdded
Description copied from interface:ITraceListenerFired when new traces are plotted. Source of event is ITrace or List- Specified by:
tracesAddedin interfaceITraceListener- Parameters:
evt-
-
traceCreated
Description copied from interface:ITraceListenerFired whenever a new trace is created, the source of TraceEvent is the ITrace created.- Specified by:
traceCreatedin interfaceITraceListener- Parameters:
evt-
-
traceUpdated
Description copied from interface:ITraceListenerFired whenever an existing trace is updated, the source of TraceEvent is the ITrace created.- Specified by:
traceUpdatedin interfaceITraceListener- Parameters:
evt-
-
traceAdded
Description copied from interface:ITraceListenerFired whenever a new trace is added, the source of TraceEvent is the ITrace added.- Specified by:
traceAddedin interfaceITraceListener- Parameters:
evt-
-
traceRemoved
Description copied from interface:ITraceListenerFired whenever a trace is deleted, the source of TraceEvent is the ITrace.- Specified by:
traceRemovedin interfaceITraceListener- Parameters:
evt-
-
update
-