> Using Batik's classes, can we determine what DOM element has been
> clicked/selected by the mouse?  Does someone know where an example can be
> found?  Does every GraphicsNode need to listen for mouse events?
> Is there a
> quick way to register the elements for the events?

Use the DOM (org.w3c.dom.events).

Register EventListener to the element you are interested in and your
listener will be invoke depending on the event type.

Example:

EventTarget evtTarget = (EventTarget) elt;
evtTarget.addEventListener("click", myListener, false);

Hope that helps,
Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to