/** @param newListener SpectrumCursorListener */ public void removeSpectrumCursorListener(SpectrumCursorListener newListener) { aSpectrumCursorListener = SpectrumCursorEventMulticaster.remove(aSpectrumCursorListener, newListener); return; }
/** @param newListener SpectrumCursorListener */ public void addSpectrumCursorListener(SpectrumCursorListener newListener) { aSpectrumCursorListener = SpectrumCursorEventMulticaster.add(aSpectrumCursorListener, newListener); fireCursorPositionChanged(new SpectrumCursorEvent(this)); return; }