Ejemplo n.º 1
0
  /**
   * <b>uDOM:</b> This method allows the removal of event listeners from the event target.
   *
   * @param type Specifies the event type of the EventListener being removed.
   * @param listener The listener parameter indicates the EventListener to be removed.
   * @param useCapture Specifies whether the EventListener being removed was registered as a
   *     capturing listener or not.
   */
  public void removeEventListener(
      java.lang.String type, org.w3c.dom.events.EventListener listener, boolean useCapture) {

    int i = listeners.indexOf(listener, 0);
    if (i > 0) {
      listeners.removeElementAt(i);
    }
  }