List of usage examples for org.jfree.chart.plot Crosshair removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
From source file:com.rapidminer.gui.new_plotter.engine.jfreechart.MultiAxesCrosshairOverlay.java
/** * Clears all range crosshairs on all axes. *///from w w w. jav a2 s . c om @Override public void clearRangeCrosshairs() { for (List<Crosshair> crosshairsForRange : rangeCrosshairs) { for (Crosshair crosshair : crosshairsForRange) { crosshair.removePropertyChangeListener(this); } } rangeCrosshairs.clear(); }
From source file:com.rapidminer.gui.new_plotter.engine.jfreechart.MultiAxesCrosshairOverlay.java
public void removeRangeCrosshair(int axisIdx, Crosshair crosshair) { if (rangeCrosshairs.size() > axisIdx) { ArrayList<Crosshair> crosshairsForRange = rangeCrosshairs.get(axisIdx); crosshairsForRange.remove(crosshair); crosshair.removePropertyChangeListener(this); }/* w w w .j a v a 2 s. c om*/ }