xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Toussaint <and...@onemileup.com>
Subject Re: Drag and drop
Date Sat, 15 May 2004 13:57:57 GMT
Hi:

The first possible error I detect is in the method registerListeners(). 
You modified the way the EventListeners are added to the element.


         t.addEventListener("click", new OnClickAction(), false);

The method needs to be called OnClickAction(), since you are overiding 
the OnClickAction() of the JSCGComponent.

I will look further in your code and if i find anything else, i will 
let you know.

Andres.

>

>        root.addEventListener( SVGConstants.SVG_MOUSEDOWN_EVENT_TYPE , 
> new OnNewClickAction(), false);
>   }
>



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message