/** * Removes the listener from the collection of listeners who will * be notified when a drag and drop operation is in progress. * * @param listener the listener which should no longer be notified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see DropTargetListener * @see #addDropListener * @see #getDropListeners */ public void removeDropListener(DropTargetListener listener) { if (listener == null) DND.error (SWT.ERROR_NULL_ARGUMENT); removeListener (DND.DragEnter, listener); removeListener (DND.DragLeave, listener); removeListener (DND.DragOver, listener); removeListener (DND.DragOperationChanged, listener); removeListener (DND.Drop, listener); removeListener (DND.DropAccept, listener); }
/** * Removes the listener from the collection of listeners who will * be notified when a drag and drop operation is in progress. * * @param listener the listener which should no longer be notified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see DropTargetListener * @see #addDropListener * @see #getDropListeners */ public void removeDropListener(DropTargetListener listener) { if (listener == null) DND.error (SWT.ERROR_NULL_ARGUMENT); removeListener (DND.DragEnter, listener); removeListener (DND.DragLeave, listener); removeListener (DND.DragOver, listener); removeListener (DND.DragOperationChanged, listener); removeListener (DND.Drop, listener); removeListener (DND.DropAccept, listener); }
/** * Removes the listener from the collection of listeners who will * be notified when a drag and drop operation is in progress. * * @param listener the listener which should no longer be notified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see DropTargetListener * @see #addDropListener * @see #getDropListeners */ public void removeDropListener( DropTargetListener listener ) { if( listener == null ) { DND.error( SWT.ERROR_NULL_ARGUMENT ); } removeListener( DND.DragEnter, listener ); removeListener( DND.DragLeave, listener ); removeListener( DND.DragOver, listener ); removeListener( DND.DragOperationChanged, listener ); removeListener( DND.Drop, listener ); removeListener( DND.DropAccept, listener ); }
/** * Removes the listener from the collection of listeners who will * be notified when a drag and drop operation is in progress. * * @param listener the listener which should no longer be notified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see DropTargetListener * @see #addDropListener * @see #getDropListeners */ public void removeDropListener(DropTargetListener listener) { if (listener == null) DND.error (SWT.ERROR_NULL_ARGUMENT); removeListener (DND.DragEnter, listener); removeListener (DND.DragLeave, listener); removeListener (DND.DragOver, listener); removeListener (DND.DragOperationChanged, listener); removeListener (DND.Drop, listener); removeListener (DND.DropAccept, listener); }
/** * Removes the listener from the collection of listeners who will * be notified when a drag and drop operation is in progress. * * @param listener the listener which should no longer be notified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see DropTargetListener * @see #addDropListener * @see #getDropListeners */ public void removeDropListener(DropTargetListener listener) { if (listener == null) DND.error (SWT.ERROR_NULL_ARGUMENT); removeListener (DND.DragEnter, listener); removeListener (DND.DragLeave, listener); removeListener (DND.DragOver, listener); removeListener (DND.DragOperationChanged, listener); removeListener (DND.Drop, listener); removeListener (DND.DropAccept, listener); }
/** * Removes the listener from the collection of listeners who will * be notified when a drag and drop operation is in progress. * * @param listener the listener which should no longer be notified * * @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @see DropTargetListener * @see #addDropListener * @see #getDropListeners */ public void removeDropListener(DropTargetListener listener) { if (listener == null) DND.error (SWT.ERROR_NULL_ARGUMENT); removeListener (DND.DragEnter, listener); removeListener (DND.DragLeave, listener); removeListener (DND.DragOver, listener); removeListener (DND.DragOperationChanged, listener); removeListener (DND.Drop, listener); removeListener (DND.DropAccept, listener); }