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