/**
  * Removes the given <code>listener</code> from the given <code>adaptable</code>.
  *
  * <p>This method is only intended to be called by the components' event deregistration code.
  *
  * @param adaptable the adaptable on which the listener is registered, must not be <code>null
  *     </code>.
  * @param listener the listener to be removed, must not be <code>null</code>.
  * @throws NullPointerException when <code>listener</code> or <code>adaptable</code> is <code>null
  *     </code>
  * @see WebEvent#removeListener(Adaptable, Class, Object)
  */
 public static void removeListener(
     final Adaptable adaptable, final WebFocusGainedListener listener) {
   removeListener(adaptable, LISTENER, listener);
 }
Esempio n. 2
0
 /**
  * Removes the specified WebFocusGainedListener to receive WebFocusGainedEvents from this
  * WebTextArea. WebFocusGainedEvents occur if the depending html text area field gets the focus.
  *
  * @param lsnr the WebFocusGainedListener
  */
 public void removeWebFocusGainedListener(final WebFocusGainedListener lsnr) {
   WebFocusGainedEvent.removeListener(this, lsnr);
 }