Handling Selection

Chal-lo <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
Hi,

I am 100% newbie and would like to pose two questions:

1) Is there any thorough manual about Batik? I can't find any, and when
approaching to it from zero, it is quite a mess to get a good picture of it
by means of the documentation. 

2) I am trying to implement Selection handling, but what I have come with so
far doesn't like me much, and need to check wether this is the best way:

I program a "click" event on a series of elements and when clicked on them,
by means of the EventTarget I create an "Overlay" which is added to the
overlays list in the JSVGCanvas. Then I call "repaint()" on it to force in
the end of the cycle a repaint of the panel, and highlight the selected
elements.

In order to highlight selection, I have to hold a static AffineTransform
instance in the Overlay class, for it to update the graphics2D object when
repainting the Overlay. I have read (not much though) about Markers, and
these seem to best describe what I am trying to do. Should I point on that
direction?

Any help is greatly appreciated.

Best regards,

Carlos.

--
View this message in context: http://batik.2283329.n4.nabble.com/Handling-Selection-tp4655126.html
Sent from the Batik - Users mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.