Hi!
I studied the following code i found in the Batik Website:
public void registerListeners() {
// Gets an element from the loaded document.
Element elt = document.getElementById("elt-id");
EventTarget t = (EventTarget)elt;
// Adds a 'onload' listener
t.addEventListener("SVGLoad", new OnLoadAction(), false);
// Adds a 'onclick' listener
t.addEventListener("click", new OnClickAction(), false);
}
here are added 'onload' and 'onclick' listeners. I would like to ad an
'onmousedragged' listener. Is that possible?
And to go further, does anyone knows and could tell me the whole list of
vent wich can be listened on svg elements?
Thanks a lot!
--
Mathieu