/** * Returns whether this node target has an event listener for the * given event namespace URI and type. */ public boolean hasEventListenerNS(String namespaceURI, String type) { if (capturingListeners != null) { EventListenerList ell = capturingListeners.get(type); if (ell != null) { if (ell.hasEventListener(namespaceURI)) { return true; } } } if (bubblingListeners != null) { EventListenerList ell = capturingListeners.get(type); if (ell != null) { return ell.hasEventListener(namespaceURI); } } return false; }
/** * Returns whether this node target has an event listener for the * given event namespace URI and type. */ public boolean hasEventListenerNS(String namespaceURI, String type) { if (capturingListeners != null) { EventListenerList ell = capturingListeners.get(type); if (ell != null) { if (ell.hasEventListener(namespaceURI)) { return true; } } } if (bubblingListeners != null) { EventListenerList ell = capturingListeners.get(type); if (ell != null) { return ell.hasEventListener(namespaceURI); } } return false; }
/** * Returns whether this node target has an event listener for the * given event namespace URI and type. */ public boolean hasEventListenerNS(String namespaceURI, String type) { if (capturingListeners != null) { EventListenerList ell = (EventListenerList) capturingListeners.get(type); if (ell != null) { if (ell.hasEventListener(namespaceURI)) { return true; } } } if (bubblingListeners != null) { EventListenerList ell = (EventListenerList) capturingListeners.get(type); if (ell != null) { return ell.hasEventListener(namespaceURI); } } return false; }