xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DeWeese Thomas <thomas.dewe...@gmail.com>
Subject Re: listening svg components using batik and try to create expandable components
Date Thu, 14 Feb 2013 00:14:52 GMT
Hi Can,
   To do it with SVG you would likely need to write some JavaScript to handle your click events
and expand things.
However it sounds fairly simple to implement with that.  I would simply add some custom attributes
to the element that needs to grow that let's the script know how big to make it when expanded
and I would have the inside graph always there but hidden by setting display=none on it's


On Feb 12, 2013, at 11:42 AM, can <eldemcan@gmail.com> wrote:

> Good afternoon;
> First of all I would like to thank your for creating such a resources for people like
me to benefit from it.
> I am working on a small project for my university assignment I need your help. Because
i could not find an answer for what i am looking actually.
> In my project;
> -i will use swing  with batik
> -I have svg diagram file that i need to develop.
> My problem is;
> 1.)I was wondering that is it possible to do such a possible thing with just using svg
or batik in swing. here is the image;
> http://s18.postimage.org/csyespybt/issue.jpg
> when user clicks on this svg component in stage-1 it will expand and show another graph
> When user clicks on graph in stage-2 it will return to stage-1 again. It is like expandable
> Thank you for separating time and reading this e-mail despite your daily work.
> Regards...

View raw message