Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 41501 invoked from network); 10 May 2006 05:01:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2006 05:01:37 -0000 Received: (qmail 13607 invoked by uid 500); 10 May 2006 05:01:36 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 13592 invoked by uid 500); 10 May 2006 05:01:36 -0000 Mailing-List: contact batik-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-users@xmlgraphics.apache.org Delivered-To: mailing list batik-users@xmlgraphics.apache.org Received: (qmail 13581 invoked by uid 99); 10 May 2006 05:01:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 22:01:35 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=RCVD_IN_NJABL_PROXY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [211.12.44.24] (HELO nvw.x-trans.jp) (211.12.44.24) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 22:01:34 -0700 Received: from nvw.x-trans.jp (nvw [127.0.0.1]) by localhost.x-trans.jp (Postfix) with ESMTP id 6C97972E5A for ; Wed, 10 May 2006 14:01:11 +0900 (JST) Received: from dns.humane-systems.co.jp (dns.humane-systems.co.jp [220.109.211.234]) by nvw.x-trans.jp (Postfix) with ESMTP id 4BD1D72E09 for ; Wed, 10 May 2006 14:01:11 +0900 (JST) Received: from hellcat ([220.109.211.236]) by dns.humane-systems.co.jp (Post.Office MTA v3.1.2J release 205-101-J ID# 110-59850U50L2S100J) with SMTP id AAA544 for ; Wed, 10 May 2006 14:09:58 +0900 From: sugawara@humane-systems.co.jp (sugawara) To: Subject: RE: modifying css in live svg document Date: Wed, 10 May 2006 14:03:39 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <66d1c98f0605092056o39f52254y3bcf9bf2182d17f@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Roger, > > So I need to tweak the rendered elements so they pick up the new style? > I don't think so. At least, with my program, the result of the changed style can be seen immediately without any mouse operation. My program calls changeTextColor method which is that I told you before in a popup menu action listener like as follws: RunnableQueue runQ = canvas.getUpdateManager().getUpdateRunnableQueue(); runQ.invokeLater(new Runnable(){public void run() { changeTextColor(SVGDocument document, Color.red); }}); There is no magic other than above. > modifying it with the CDATA mutation operators in the DOM > updateThread. > > But I don't see any change in the rendered graphics until I trigger a > redraw with a mouseover. > I'm not sure why, but I can suspect that your modifying is not run under SVG canvas's UpdateManager thread. Is your 'DOM updateThread' right thread? --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org