Hi,

On Thu, 2006-11-23 at 01:31 -0800, Peppe wrote:
> > 
> >    You need to use the DOM Level 2 Style interfaces:
> >         http://www.w3.org/TR/DOM-Level-2-Style/java-binding.html
> > 
> >   In particular something like:
> >         String val = element.getStyle().getPropertyValue("fill");
> >   and
> >         element.getStyle().setProperty("fill", "blue", "")
> > 
> > 
> I tried to use the dom level 2 style but i don't understand how do it,
> because getStyle is a method of SVGStylable class but i have to modify an
> element...

If I am not wrong SVGElement is implement SVGStylable interface. Check
the source file or Javadocs. So just simple casting will work.

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


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

Reply via email to