* properties and update the GVT tree in response. This overriden
* method adds implementation event listeners, so that mutations in
* shadow trees can be caught.
*/
public void addDOMListeners() {
SVGOMDocument doc = (SVGOMDocument)document;
XBLEventSupport evtSupport
= (XBLEventSupport) doc.initializeEventSupport();
domAttrModifiedEventListener
= new EventListenerWrapper(new DOMAttrModifiedEventListener());
evtSupport.addImplementationEventListenerNS
(XMLConstants.XML_EVENTS_NAMESPACE_URI,
"DOMAttrModified",
domAttrModifiedEventListener, true);
domNodeInsertedEventListener
= new EventListenerWrapper(new DOMNodeInsertedEventListener());
evtSupport.addImplementationEventListenerNS
(XMLConstants.XML_EVENTS_NAMESPACE_URI,
"DOMNodeInserted",
domNodeInsertedEventListener, true);
domNodeRemovedEventListener
= new EventListenerWrapper(new DOMNodeRemovedEventListener());
evtSupport.addImplementationEventListenerNS
(XMLConstants.XML_EVENTS_NAMESPACE_URI,
"DOMNodeRemoved",
domNodeRemovedEventListener, true);
domCharacterDataModifiedEventListener =
new EventListenerWrapper(new DOMCharacterDataModifiedEventListener());
evtSupport.addImplementationEventListenerNS
(XMLConstants.XML_EVENTS_NAMESPACE_URI,
"DOMCharacterDataModified",
domCharacterDataModifiedEventListener, true);
animatedAttributeListener = new AnimatedAttrListener();
doc.addAnimatedAttributeListener(animatedAttributeListener);
focusManager = new SVG12FocusManager(document);
CSSEngine cssEngine = doc.getCSSEngine();
cssPropertiesChangedListener = new CSSPropertiesChangedListener();
cssEngine.addCSSEngineListener(cssPropertiesChangedListener);
}