Example #1
0
  /**
   * Removes the ChangeListener from the FileBase object.
   *
   * @param l the ProgressChangeListener object
   */
  public void removeProgressChangeListener(ProgressChangeListener l) {
    listenerList.remove(ProgressChangeListener.class, l);

    if (l instanceof ViewJProgressBar) {
      ((ViewJProgressBar) l).removeActionListener(this);
    }
  }
Example #2
0
  /**
   * Remove a filetree listener.
   *
   * @param fl the filetree listener to remove.
   */
  public void removeFileTreeListener(IFileTreeListener fl) {

    if ((fl == null) || (fileListenerList == null)) {
      return;
    }

    fileListenerList.remove(IFileTreeListener.class, fl);
  }
Example #3
0
  protected void removeAllListeners() {
    // Guaranteed to return a non-null array
    Object[] list = listeners.getListenerList();

    for (int i = list.length - 2; i >= 0; i -= 2) {
      listeners.remove((Class) list[i], (EventListener) list[i + 1]);
    }
  }
Example #4
0
 /** Remove all registered components from the Solver change event listener list. */
 public void removeAllChangeListeners() {
   EventListener[] listeners = listenerList.getListeners(ChangeListener.class);
   ChangeListener cl;
   for (int i = 0; i < listeners.length; i++) {
     // Added a typecast to pass Xlint: ROS 2/3/05
     cl = (ChangeListener) listeners[i];
     listenerList.remove(ChangeListener.class, cl);
   }
 } // end removeAllChangeListeners
Example #5
0
 public void removeOutgoingListener(OutgoingListener listener) {
   listeners.remove(OutgoingListener.class, listener);
 }
 @Override
 public void removeChangeListener(ChangeListener ol) {
   listenerList.remove(ChangeListener.class, ol);
 }
Example #7
0
 @Override
 public void removeTreeModelListener(TreeModelListener l) {
   listenerList.remove(TreeModelListener.class, l);
 }
 @Override
 public void removeItemListener(ItemListener listener) {
   listenerList.remove(ItemListener.class, listener);
 }
 public void removeReaderChangedListener(CardReaderChangeListener pcl) {
   listenerList.remove(CardReaderChangeListener.class, pcl);
 }
Example #10
0
 public void removeListener(PropertyChangeListener l) {
   listenerList.remove(PropertyChangeListener.class, l);
 }
 @Override
 public void removeListDataListener(ListDataListener l) {
   listeners.remove(ListDataListener.class, l);
 }
 @Override
 public final void removeHintListener(@NotNull final HintListener listener) {
   myListenerList.remove(HintListener.class, listener);
 }
 /** Removes specified listener */
 @Override
 public void removeLafManagerListener(@NotNull final LafManagerListener l) {
   myListenerList.remove(LafManagerListener.class, l);
 }
 /** unsubscribes from listening for all messages from all connections */
 public void removeMessageListener(GnutellaMessageListener l) {
   msglistenerlist.remove(GnutellaMessageListener.class, l);
 }
 /**
  * Remove a listener
  *
  * @param listener
  */
 public void removeListener(IcyColorMapListener listener) {
   listeners.remove(IcyColorMapListener.class, listener);
 }
 /**
  * Removes a listener from the list that's notified
  *
  * @param l the CellEditorListener
  */
 public void removeCellEditorListener(final CellEditorListener l) {
   eventListenerList.remove(CellEditorListener.class, l);
 }
 @Override
 public void removeChangeListener(ChangeListener l) {
   listeners.remove(ChangeListener.class, l);
 }
Example #18
0
 @Override
 public void removeTableModelListener(javax.swing.event.TableModelListener l) {
   listenerList.remove(javax.swing.event.TableModelListener.class, l);
 }
 /** @param l */
 @Override
 public void removeActionListener(ActionListener l) {
   listeners.remove(ActionListener.class, l);
 }
Example #20
0
File: Job.java Project: myrmik/home
 public void removeClickListener(DownloadCompleteListener l) {
   listenerList.remove(DownloadCompleteListener.class, l);
 }
Example #21
0
 /**
  * Remove the specified component from the Solver change event listener list.
  *
  * @param l the change listener.
  */
 public void removeChangeListener(ChangeListener l) {
   listenerList.remove(ChangeListener.class, l);
 } // end removeChangeListener
 public void removeDiseaseTypeListener(DiseaseTypeListener listener) {
   diseaseTypeListeners.remove(DiseaseTypeListener.class, listener);
 }
Example #23
0
 public void removeDiffListener(DiffListener l) {
   listeners.remove(DiffListener.class, l);
 }
Example #24
0
 // This methods allows classes to unregister for MyEvents
 public void removeMyEventListener(MyEventListener listener) {
   listenerList.remove(MyEventListener.class, listener);
 }
Example #25
0
 public static void removeXConfigurationListener(XConfigurationListener listener) {
   listenerList.remove(XConfigurationListener.class, listener);
 }
Example #26
0
 /** @param listener */
 public void removeMouseWheelListener(MouseWheelListener listener) {
   Logger.debug("removeMouseWheelListener(listener={})", listener);
   listenerList.remove(MouseWheelListener.class, listener);
 }
Example #27
0
 public void removeActionListener(ActionListener listener) {
   eventListenerList.remove(ActionListener.class, listener);
 }
Example #28
0
 public void removeZoomListener(ZoomListener aZoomListener) {
   listeners.remove(ZoomListener.class, aZoomListener);
 }
 /**
  * Removes the specified {@link ProgressThreadStateListener}.
  *
  * @param l
  */
 public static void removeProgressThreadStateListener(ProgressThreadStateListener l) {
   listener.remove(ProgressThreadStateListener.class, l);
 }
Example #30
0
 public void removeExamTypeListener(ExamTypeListener listener) {
   examTypeListeners.remove(ExamTypeListener.class, listener);
 }