No, because this method is only called before the first rendering.

--- Cameron McCormack <[EMAIL PROTECTED]> schrieb am Sa, 31.5.2008:

> Von: Cameron McCormack <[EMAIL PROTECTED]>
> Betreff: Re: Repainting a JSVGCanvas
> An: [email protected]
> Datum: Samstag, 31. Mai 2008, 13:28
> aaaa aaaa:
> > I have following classes (SVGArea and SVGAreaPainter)
> which displays
> > the document. The SVGArea is used by the
> SVGAreaPainter. The
> > SVGAreaPainter has a lot methods. The one that makes
> the mouseover
> > effect for some elements is
> >
> >     private void addMouseOverEffect(Element el, String
> color) {
> >             Element mouseOver = doc.createElementNS(svgNS,
> "set");
> >             mouseOver.setAttributeNS(null,
> "attributeName", "fill");
> >             mouseOver.setAttributeNS(null,
> "attributeType", "XML");
> >             mouseOver.setAttributeNS(null, "to",
> color);
> >             mouseOver.setAttributeNS(null, "begin",
> "mouseover");
> >             el.appendChild(mouseOver);
> >             Element mouseOut = doc.createElementNS(svgNS,
> "set");
> >             mouseOut.setAttributeNS(null,
> "attributeName", "fill");
> >             mouseOut.setAttributeNS(null,
> "attributeType", "XML");
> >             mouseOut.setAttributeNS(null, "to",
> el.getAttribute("fill"));
> >             mouseOut.setAttributeNS(null, "begin",
> "mouseout");
> >             el.appendChild(mouseOut);
> >     }
> 
> Are these changes being made in the UpdateManager’s
> thread?  If not,
> then it might explain the problem.  See:
> 
>   http://xmlgraphics.apache.org/batik/faq.html#N10215
> 
> -- 
> Cameron McCormack ≝ http://mcc.id.au/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]


      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

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

Reply via email to