You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Andres Toussaint <an...@onemileup.com> on 2005/02/07 18:03:53 UTC
Register Listeners before adding Document to Canvas
I want to know if there is any problem in adding my EventListeners to
specific Nodes before setting the document in the canvas.
I am building a SVGDocument programatically and then adding it to a
JSVGCanvas with svgCanvas.setDocument(). And i would like to initialize
my listeners during the initial build of the document.
Thanks,
Andres.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Register Listeners before adding Document to Canvas
Posted by Thomas DeWeese <Th...@Kodak.com>.
Hi Andres,
Andres Toussaint wrote:
> I want to know if there is any problem in adding my EventListeners to
> specific Nodes before setting the document in the canvas.
I don't believe so.
> I am building a SVGDocument programatically and then adding it to a
> JSVGCanvas with svgCanvas.setDocument(). And i would like to initialize
> my listeners during the initial build of the document.
This should work, although I haven't explicitly tried it.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org