xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Bohm" <de...@fireflydesign.com>
Subject Re: SVG & Batik - RunnableQueue
Date Mon, 13 Oct 2003 18:27:10 GMT
> > I have an application that I would like to implement using SVG and the
Java
> > Language Binding Scripting.  I have an SVG document and a Java
> > EventListenerInitializer that is working in Squiggle.  So far, so good.
Now
> > I would like to sping off a thread that creates a socket connection and
> > listens for data.  When the data arrives I would like to update the SVG
DOM.
> > To do that I need to ask the Batik canvas for the update manager and ask
> > that for the runnable queue then queue up a runnable to do the update.
> > However, I don't have a reference to the canvas.  Is there some way to
get
> > one from the document?
>
>    Well the Window object we provide has a method 'getBridgeContext' and
> the BridgeContext can provide you with the UpdateManager (if there is
one).

I can't seem to find a way to get the Window from the SVGDocument in Java.


---------------------------------------------------------------------
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