Java Code Examples for org.jfree.chart.plot.Crosshair#removePropertyChangeListener()
The following examples show how to use
org.jfree.chart.plot.Crosshair#removePropertyChangeListener() .
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: CrosshairOverlay.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Clears all the domain crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearDomainCrosshairs() { if (this.xCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getDomainCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.xCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 2
Source File: CrosshairOverlay.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Clears all the domain crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearDomainCrosshairs() { if (this.xCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getDomainCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.xCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 3
Source File: CrosshairOverlay.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Clears all the domain crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearDomainCrosshairs() { if (this.xCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getDomainCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.xCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 4
Source File: CrosshairOverlay.java From ECG-Viewer with GNU General Public License v2.0 | 5 votes |
/** * Clears all the range crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearRangeCrosshairs() { if (this.yCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getRangeCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.yCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 5
Source File: MultiAxesCrosshairOverlay.java From rapidminer-studio with GNU Affero General Public License v3.0 | 5 votes |
/** * Clears all range crosshairs on all axes. */ @Override public void clearRangeCrosshairs() { for (List<Crosshair> crosshairsForRange : rangeCrosshairs) { for (Crosshair crosshair : crosshairsForRange) { crosshair.removePropertyChangeListener(this); } } rangeCrosshairs.clear(); }
Example 6
Source File: MultiAxesCrosshairOverlay.java From rapidminer-studio with GNU Affero General Public License v3.0 | 5 votes |
public void removeRangeCrosshair(int axisIdx, Crosshair crosshair) { if (rangeCrosshairs.size() > axisIdx) { ArrayList<Crosshair> crosshairsForRange = rangeCrosshairs.get(axisIdx); crosshairsForRange.remove(crosshair); crosshair.removePropertyChangeListener(this); } }
Example 7
Source File: CrosshairOverlay.java From SIMVA-SoS with Apache License 2.0 | 5 votes |
/** * Clears all the range crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearRangeCrosshairs() { if (this.yCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getRangeCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.yCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 8
Source File: CrosshairOverlay.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Clears all the range crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearRangeCrosshairs() { if (this.yCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getRangeCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.yCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 9
Source File: CrosshairOverlay.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Clears all the range crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearRangeCrosshairs() { if (this.yCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getRangeCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.yCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 10
Source File: CrosshairOverlay.java From ccu-historian with GNU General Public License v3.0 | 5 votes |
/** * Clears all the range crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearRangeCrosshairs() { if (this.yCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getRangeCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.yCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 11
Source File: CrosshairOverlay.java From ccu-historian with GNU General Public License v3.0 | 5 votes |
/** * Clears all the domain crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearDomainCrosshairs() { if (this.xCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getDomainCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.xCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 12
Source File: CrosshairOverlay.java From openstock with GNU General Public License v3.0 | 5 votes |
/** * Clears all the range crosshairs from the overlay and sends an * {@link OverlayChangeEvent} to all registered listeners. */ public void clearRangeCrosshairs() { if (this.yCrosshairs.isEmpty()) { return; // nothing to do } List crosshairs = getRangeCrosshairs(); for (int i = 0; i < crosshairs.size(); i++) { Crosshair c = (Crosshair) crosshairs.get(i); this.yCrosshairs.remove(c); c.removePropertyChangeListener(this); } fireOverlayChanged(); }
Example 13
Source File: CrosshairOverlay.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Removes a range axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addRangeCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeRangeCrosshair(Crosshair crosshair) { if (crosshair == null) { throw new IllegalArgumentException("Null 'crosshair' argument."); } if (this.yCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }
Example 14
Source File: CrosshairOverlay.java From SIMVA-SoS with Apache License 2.0 | 3 votes |
/** * Removes a domain axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addDomainCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeDomainCrosshair(Crosshair crosshair) { ParamChecks.nullNotPermitted(crosshair, "crosshair"); if (this.xCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }
Example 15
Source File: CrosshairOverlay.java From ccu-historian with GNU General Public License v3.0 | 3 votes |
/** * Removes a range axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addRangeCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeRangeCrosshair(Crosshair crosshair) { ParamChecks.nullNotPermitted(crosshair, "crosshair"); if (this.yCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }
Example 16
Source File: CrosshairOverlay.java From ccu-historian with GNU General Public License v3.0 | 3 votes |
/** * Removes a domain axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addDomainCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeDomainCrosshair(Crosshair crosshair) { ParamChecks.nullNotPermitted(crosshair, "crosshair"); if (this.xCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }
Example 17
Source File: CrosshairOverlay.java From ECG-Viewer with GNU General Public License v2.0 | 3 votes |
/** * Removes a domain axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addDomainCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeDomainCrosshair(Crosshair crosshair) { ParamChecks.nullNotPermitted(crosshair, "crosshair"); if (this.xCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }
Example 18
Source File: CrosshairOverlay.java From buffer_bci with GNU General Public License v3.0 | 3 votes |
/** * Removes a domain axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addDomainCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeDomainCrosshair(Crosshair crosshair) { ParamChecks.nullNotPermitted(crosshair, "crosshair"); if (this.xCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }
Example 19
Source File: CrosshairOverlay.java From buffer_bci with GNU General Public License v3.0 | 3 votes |
/** * Removes a domain axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addDomainCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeDomainCrosshair(Crosshair crosshair) { ParamChecks.nullNotPermitted(crosshair, "crosshair"); if (this.xCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }
Example 20
Source File: CrosshairOverlay.java From openstock with GNU General Public License v3.0 | 3 votes |
/** * Removes a range axis crosshair and sends an {@link OverlayChangeEvent} * to all registered listeners. * * @param crosshair the crosshair (<code>null</code> not permitted). * * @see #addRangeCrosshair(org.jfree.chart.plot.Crosshair) */ public void removeRangeCrosshair(Crosshair crosshair) { ParamChecks.nullNotPermitted(crosshair, "crosshair"); if (this.yCrosshairs.remove(crosshair)) { crosshair.removePropertyChangeListener(this); fireOverlayChanged(); } }