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. Advertisements

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. Lordy
    Replies:
    1
    Views:
    1,408
    Lordy
    Sep 13, 2003
  2. Brian K
    Replies:
    0
    Views:
    992
    Brian K
    Oct 12, 2003
  3. Shripathi Kamath

    Question on JFreeChart and Batik

    Shripathi Kamath, Nov 26, 2003, in forum: Java
    Replies:
    0
    Views:
    2,545
    Shripathi Kamath
    Nov 26, 2003
  4. Dobedani
    Replies:
    0
    Views:
    683
    Dobedani
    May 12, 2005
  5. Brian K
    Replies:
    0
    Views:
    779
    Brian K
    Oct 12, 2003
  6. Laurent Rincon

    A question about the Batik Api

    Laurent Rincon, May 22, 2006, in forum: Java
    Replies:
    0
    Views:
    370
    Laurent Rincon
    May 22, 2006
  7. Laurent Rincon

    A question about the Batik Api

    Laurent Rincon, May 22, 2006, in forum: Java
    Replies:
    0
    Views:
    380
    Laurent Rincon
    May 22, 2006
  8. Laurent Rincon

    A question about the Batik API

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