/** * Moves all of the event listeners from this EventSupport object * to the given EventSupport object. * Used by {@link * org.apache.batik.dom.AbstractDocument#renameNode(Node,String,String)}. */ public void moveEventListeners(EventSupport other) { super.moveEventListeners(other); XBLEventSupport es = (XBLEventSupport) other; es.capturingImplementationListeners = capturingImplementationListeners; es.bubblingImplementationListeners = bubblingImplementationListeners; capturingImplementationListeners = null; bubblingImplementationListeners = null; }
/** * Moves all of the event listeners from this EventSupport object * to the given EventSupport object. * Used by {@link * org.apache.batik.dom.AbstractDocument#renameNode(Node,String,String)}. */ public void moveEventListeners(EventSupport other) { super.moveEventListeners(other); XBLEventSupport es = (XBLEventSupport) other; es.capturingImplementationListeners = capturingImplementationListeners; es.bubblingImplementationListeners = bubblingImplementationListeners; capturingImplementationListeners = null; bubblingImplementationListeners = null; }
/** * Moves all of the event listeners from this EventSupport object * to the given EventSupport object. * Used by {@link * org.apache.batik.dom.AbstractDocument#renameNode(Node,String,String)}. */ public void moveEventListeners(EventSupport other) { super.moveEventListeners(other); XBLEventSupport es = (XBLEventSupport) other; es.capturingImplementationListeners = capturingImplementationListeners; es.bubblingImplementationListeners = bubblingImplementationListeners; capturingImplementationListeners = null; bubblingImplementationListeners = null; }
e.eventSupport = es2; es1.moveEventListeners(e.getEventSupport());
e.eventSupport = es2; es1.moveEventListeners(e.getEventSupport());
e.eventSupport = es2; es1.moveEventListeners(e.getEventSupport());