A question about the Batik Api

Discussion in 'Java' started by Laurent Rincon, May 22, 2006.

  1. Hello all,

    I have to write an application using the Batik API, but I don't know
    very well how to use it. I want to draw a flow chart on a screen. Each
    part of this chart has to be clickable. For the moment, I add a mouse
    listener to my JSVGCanvas, and by getting the mouse's position when I
    click on it, I determine what object of the screen is concerned by the
    event. But this solution doesn't satisfy me because I'm afraid it will
    be too long or too difficult to deal a more complicated chart...
    So I want to know if it's possible to define objects (like rectangle,
    ellipse, ...) on which we can add mouse listeners (like a button) and
    how to do this. If you have code example to do this, or internet
    address where to find information, it would be great.
     
    Laurent Rincon, May 22, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian K
    Replies:
    0
    Views:
    843
    Brian K
    Oct 12, 2003
  2. Shripathi Kamath

    Question on JFreeChart and Batik

    Shripathi Kamath, Nov 26, 2003, in forum: Java
    Replies:
    0
    Views:
    2,326
    Shripathi Kamath
    Nov 26, 2003
  3. Laurent Rincon

    A question about the Batik Api

    Laurent Rincon, May 22, 2006, in forum: Java
    Replies:
    0
    Views:
    300
    Laurent Rincon
    May 22, 2006
  4. Laurent Rincon

    A question about the Batik Api

    Laurent Rincon, May 22, 2006, in forum: Java
    Replies:
    0
    Views:
    311
    Laurent Rincon
    May 22, 2006
  5. Laurent Rincon

    A question about the Batik API

    Laurent Rincon, May 22, 2006, in forum: Java
    Replies:
    2
    Views:
    506
    Oliver Wong
    May 25, 2006
Loading...

Share This Page