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 peterhi <hy...@hotmail.com> on 2007/04/01 17:38:51 UTC

Re: Best practices when updating dom

I guess what "disconnect" means removing the node from the active document,
then you make the changes, afterwards, you put it back to the document.
Basically it is a removeChild() -> update your stuff -> appendChild() thing.

Another doubt is this: Let's say if i want a rect act as a background to
capture mouse motions in order to manipulate shapes like dragging or
resizing etc. Would it be faster to write the handling code using java and
batik, or, would it be faster to write all the handling logics inside the
document, embedded using javascript, and load it from batik?
-- 
View this message in context: http://www.nabble.com/Best-practices-when-updating-dom-tf3473646.html#a9778864
Sent from the Batik - Users mailing list archive at Nabble.com.


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