You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Anthony Mills <am...@pyramid6.com> on 2002/03/12 17:46:19 UTC

Updating the DOM...

What is the best way to update the DOM tree, and do you need to update the
GVT?  Once the DOM is updated do you need to call a graphics function to
tell it to redraw?  I was able to extend Batik using the services.  It was
really easy.  What I need to do now is make the SVG document interactive.
If I can make a text element take keyboard input, I can probably put
together the rest of the XForms stuff.

Anthony Mills



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


RE: Updating the DOM...

Posted by Stephane Hillion <sh...@ilog.fr>.
There is a section about this topic in documentation of the 1.5beta1
distribution. The menu item is entitled 'Java Scripting'.
In the previous versions of Batik the DOM updates did not produce any effect
on GVT.

> -----Original Message-----
> From: Anthony Mills [mailto:amills@pyramid6.com]
> Sent: Tuesday, March 12, 2002 5:46 PM
> To: batik-dev@xml.apache.org
> Subject: Updating the DOM...
>
>
> What is the best way to update the DOM tree, and do you need to update the
> GVT?  Once the DOM is updated do you need to call a graphics function to
> tell it to redraw?  I was able to extend Batik using the services.  It was
> really easy.  What I need to do now is make the SVG document interactive.
> If I can make a text element take keyboard input, I can probably put
> together the rest of the XForms stuff.
>
> Anthony Mills
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org
>
>


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


RE: Updating the DOM...

Posted by Thierry Kormann <tk...@ilog.fr>.
> What is the best way to update the DOM tree, and do you need to update the
> GVT?  Once the DOM is updated do you need to call a graphics function to
> tell it to redraw?  I was able to extend Batik using the services.  It was
> really easy.  What I need to do now is make the SVG document interactive.
> If I can make a text element take keyboard input, I can probably put
> together the rest of the XForms stuff.

Batik 1.5beta1 provides a basic support for dynamic updates (change the DOM,
the screen is refreshed automatically). The current CVS codebase also
support style modification (via the style attribute only at this time).


Thierry.


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