Hi Peppe,
Peppe <[EMAIL PROTECTED]> wrote on 11/20/2006 06:51:51 AM:
> Hi, i would modified only fill color of selected shape (shape has many
values
> in style attribute), but fill is in style attribute...how can i modified
it
> leaving unchanged other value of style attribute?
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", "");
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]