org.jfree.chart.event.OverlayChangeListener Java Examples
The following examples show how to use
org.jfree.chart.event.OverlayChangeListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractOverlay.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Sends a {@link ChartChangeEvent} to all registered listeners. * * @param event information about the event that triggered the * notification. */ protected void notifyListeners(OverlayChangeEvent event) { Object[] listeners = this.changeListeners.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) { if (listeners[i] == OverlayChangeListener.class) { ((OverlayChangeListener) listeners[i + 1]).overlayChanged( event); } } }
Example #2
Source File: AbstractOverlay.java From ECG-Viewer with GNU General Public License v2.0 | 5 votes |
/** * Sends a {@link ChartChangeEvent} to all registered listeners. * * @param event information about the event that triggered the * notification. */ protected void notifyListeners(OverlayChangeEvent event) { Object[] listeners = this.changeListeners.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) { if (listeners[i] == OverlayChangeListener.class) { ((OverlayChangeListener) listeners[i + 1]).overlayChanged( event); } } }
Example #3
Source File: AbstractOverlay.java From SIMVA-SoS with Apache License 2.0 | 5 votes |
/** * Sends a {@link ChartChangeEvent} to all registered listeners. * * @param event information about the event that triggered the * notification. */ protected void notifyListeners(OverlayChangeEvent event) { Object[] listeners = this.changeListeners.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) { if (listeners[i] == OverlayChangeListener.class) { ((OverlayChangeListener) listeners[i + 1]).overlayChanged( event); } } }
Example #4
Source File: AbstractOverlay.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Sends a {@link ChartChangeEvent} to all registered listeners. * * @param event information about the event that triggered the * notification. */ protected void notifyListeners(OverlayChangeEvent event) { Object[] listeners = this.changeListeners.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) { if (listeners[i] == OverlayChangeListener.class) { ((OverlayChangeListener) listeners[i + 1]).overlayChanged( event); } } }
Example #5
Source File: AbstractOverlay.java From ccu-historian with GNU General Public License v3.0 | 5 votes |
/** * Sends a {@link ChartChangeEvent} to all registered listeners. * * @param event information about the event that triggered the * notification. */ protected void notifyListeners(OverlayChangeEvent event) { Object[] listeners = this.changeListeners.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) { if (listeners[i] == OverlayChangeListener.class) { ((OverlayChangeListener) listeners[i + 1]).overlayChanged( event); } } }
Example #6
Source File: AbstractOverlay.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Sends a {@link ChartChangeEvent} to all registered listeners. * * @param event information about the event that triggered the * notification. */ protected void notifyListeners(OverlayChangeEvent event) { Object[] listeners = this.changeListeners.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) { if (listeners[i] == OverlayChangeListener.class) { ((OverlayChangeListener) listeners[i + 1]).overlayChanged( event); } } }
Example #7
Source File: AbstractOverlay.java From openstock with GNU General Public License v3.0 | 5 votes |
/** * Sends a {@link ChartChangeEvent} to all registered listeners. * * @param event information about the event that triggered the * notification. */ protected void notifyListeners(OverlayChangeEvent event) { Object[] listeners = this.changeListeners.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) { if (listeners[i] == OverlayChangeListener.class) { ((OverlayChangeListener) listeners[i + 1]).overlayChanged( event); } } }
Example #8
Source File: AbstractOverlay.java From astor with GNU General Public License v2.0 | 3 votes |
/** * Deregisters an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted) * * @see #addChangeListener(OverlayChangeListener) */ public void removeChangeListener(OverlayChangeListener listener) { if (listener == null) { throw new IllegalArgumentException("Null 'listener' argument."); } this.changeListeners.remove(OverlayChangeListener.class, listener); }
Example #9
Source File: AbstractOverlay.java From astor with GNU General Public License v2.0 | 3 votes |
/** * Registers an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted). * * @see #removeChangeListener(OverlayChangeListener) */ public void addChangeListener(OverlayChangeListener listener) { if (listener == null) { throw new IllegalArgumentException("Null 'listener' argument."); } this.changeListeners.add(OverlayChangeListener.class, listener); }
Example #10
Source File: Overlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Registers a change listener with the overlay. * * @param listener the listener. */ public void addChangeListener(OverlayChangeListener listener);
Example #11
Source File: Overlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Deregisters a listener from the overlay. * * @param listener the listener. */ public void removeChangeListener(OverlayChangeListener listener);
Example #12
Source File: AbstractOverlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Deregisters an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted) * * @see #addChangeListener(OverlayChangeListener) */ public void removeChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.remove(OverlayChangeListener.class, listener); }
Example #13
Source File: AbstractOverlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Registers an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted). * * @see #removeChangeListener(OverlayChangeListener) */ public void addChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.add(OverlayChangeListener.class, listener); }
Example #14
Source File: Overlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Deregisters a listener from the overlay. * * @param listener the listener. */ public void removeChangeListener(OverlayChangeListener listener);
Example #15
Source File: Overlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Registers a change listener with the overlay. * * @param listener the listener. */ public void addChangeListener(OverlayChangeListener listener);
Example #16
Source File: AbstractOverlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Registers an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted). * * @see #removeChangeListener(OverlayChangeListener) */ public void addChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.add(OverlayChangeListener.class, listener); }
Example #17
Source File: AbstractOverlay.java From buffer_bci with GNU General Public License v3.0 | 2 votes |
/** * Deregisters an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted) * * @see #addChangeListener(OverlayChangeListener) */ public void removeChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.remove(OverlayChangeListener.class, listener); }
Example #18
Source File: Overlay.java From astor with GNU General Public License v2.0 | 2 votes |
/** * Deregisters a listener from the overlay. * * @param listener the listener. */ public void removeChangeListener(OverlayChangeListener listener);
Example #19
Source File: Overlay.java From astor with GNU General Public License v2.0 | 2 votes |
/** * Registers a change listener with the overlay. * * @param listener the listener. */ public void addChangeListener(OverlayChangeListener listener);
Example #20
Source File: AbstractOverlay.java From ECG-Viewer with GNU General Public License v2.0 | 2 votes |
/** * Registers an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted). * * @see #removeChangeListener(OverlayChangeListener) */ public void addChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.add(OverlayChangeListener.class, listener); }
Example #21
Source File: AbstractOverlay.java From ECG-Viewer with GNU General Public License v2.0 | 2 votes |
/** * Deregisters an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted) * * @see #addChangeListener(OverlayChangeListener) */ public void removeChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.remove(OverlayChangeListener.class, listener); }
Example #22
Source File: Overlay.java From openstock with GNU General Public License v3.0 | 2 votes |
/** * Registers a change listener with the overlay. * * @param listener the listener. */ public void addChangeListener(OverlayChangeListener listener);
Example #23
Source File: Overlay.java From ECG-Viewer with GNU General Public License v2.0 | 2 votes |
/** * Deregisters a listener from the overlay. * * @param listener the listener. */ public void removeChangeListener(OverlayChangeListener listener);
Example #24
Source File: Overlay.java From ECG-Viewer with GNU General Public License v2.0 | 2 votes |
/** * Registers a change listener with the overlay. * * @param listener the listener. */ public void addChangeListener(OverlayChangeListener listener);
Example #25
Source File: AbstractOverlay.java From SIMVA-SoS with Apache License 2.0 | 2 votes |
/** * Deregisters an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted) * * @see #addChangeListener(OverlayChangeListener) */ public void removeChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.remove(OverlayChangeListener.class, listener); }
Example #26
Source File: AbstractOverlay.java From SIMVA-SoS with Apache License 2.0 | 2 votes |
/** * Registers an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted). * * @see #removeChangeListener(OverlayChangeListener) */ public void addChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.add(OverlayChangeListener.class, listener); }
Example #27
Source File: Overlay.java From SIMVA-SoS with Apache License 2.0 | 2 votes |
/** * Deregisters a listener from the overlay. * * @param listener the listener. */ public void removeChangeListener(OverlayChangeListener listener);
Example #28
Source File: Overlay.java From SIMVA-SoS with Apache License 2.0 | 2 votes |
/** * Registers a change listener with the overlay. * * @param listener the listener. */ public void addChangeListener(OverlayChangeListener listener);
Example #29
Source File: AbstractOverlay.java From ccu-historian with GNU General Public License v3.0 | 2 votes |
/** * Deregisters an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted) * * @see #addChangeListener(OverlayChangeListener) */ public void removeChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.remove(OverlayChangeListener.class, listener); }
Example #30
Source File: AbstractOverlay.java From ccu-historian with GNU General Public License v3.0 | 2 votes |
/** * Registers an object for notification of changes to the overlay. * * @param listener the listener (<code>null</code> not permitted). * * @see #removeChangeListener(OverlayChangeListener) */ public void addChangeListener(OverlayChangeListener listener) { ParamChecks.nullNotPermitted(listener, "listener"); this.changeListeners.add(OverlayChangeListener.class, listener); }