Hi John,

I just tested the current SVN version and I think editable text doesn't yet work in Batik. As far as I know Opera >9.5 is the only browser implementing editable text. As an example, see http://www.w3.org/Graphics/SVG/Test/20080912/svggen/text-edit-201-t.svg

I once wrote a SVG textbox control (with Javascript). You can find an example at http://www.carto.net/papers/svg/gui/textbox/index.svg
and the documentation on how to invoke a textbox at
http://www.carto.net/papers/svg/gui/textbox/

You can also find some other GUI controls at
http://www.carto.net/papers/svg/samples/#iact

However, if you only develop for the JAVA platform it is probably better/easier to use the Java SWING widgets or whatever is current nowadays. You should be able to mix swing and SVG canvases.

Hope this helps,
Andreas

John C. Turnbull wrote:
Hmm, I tried the example in the specification and it doesn't work.  It
renders the field but I cannot enter any text into it.

Could someone confirm whether this is supported in Batik?

Thanks,

-JCT

-----Original Message-----
From: Helder Magalhães [mailto:[EMAIL PROTECTED]
Sent: Friday, 17 October 2008 00:43
To: batik-users@xmlgraphics.apache.org
Subject: Re: Text entry field?

Is it possible to implement something like a text entry field with a
blinking caret in Batik?  How?
This functionality is part of (recent version of the) SVG
specification [1] and, AFAIK, Batik implements it. ;-)
I'm not sure about the blinking caret thing, though...

Hope this helps,

 Helder Magalhães

[1] http://www.w3.org/TR/SVGMobile12/text.html#text-edit

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: batik-users-
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to