
package script ;

import org.w3c.dom.* ;
import org.w3c.dom.events.* ;
import org.w3c.dom.svg.* ;
import org.w3c.dom.css.* ;

public class EventListenerInitializerImpl implements EventListenerInitializer {

    public EventListenerInitializerImpl() {
	super() ;
    }
    
    public void initializeEventListeners(SVGDocument svgdoc) {
	
        EventTarget target = ((EventTarget)svgdoc.getElementById("testContent")) ;
        MyAction1 mc1 = new MyAction1();
        MyAction2 mc2 = new MyAction2();
        target.addEventListener("mouseover", mc1, false) ;
        target.addEventListener("mouseout", mc2, false) ;
	System.out.println("test event") ;
	
    }
    
}

