Hi Thomas,

that graphical selection is exactly what i'm trying to do, too.
But i simply don't understand how to use this DOM UIEvents.
So, how do i have to do this, so i can do my click on the canvas and get my
SVGElement?

Sorry for asking stupid questions :)
Mathias



>Hi Frederik,

>   You might not be aware that if the document is built for
>Dynamic interaction then graphical events are automatically
>forwarded to the DOM tree, so you can use standard DOM UIEvents
>to track user actions.

>Tonny Kohar wrote:
>> hi,
>>
>> please look at the
>> - bridgeContext.getElement(GraphicsNode)
>> - bridgeContext.getGraphicsNode(svgElement);
>>
>> Regards
>> Tonny Kohar
>> http://www.kiyut.com
>>
>>
>> On Sun, 2003-11-09 at 21:42, Frederik Vestre wrote:
>>
>>>I'm trying to make a SVG editor with batik.
>>>I have figured out that i am able to use the mouse to select an object in
>>>the GVT tree,
>>>but i have not figured out a way to select an object in the DOM tree, or
>>>find out wich object in the DOM tree who represents the object(s) in the
SVG
>>>tree (an method in ...gvt.GraphicsNode).
>>>Does anyone know how to solve the problem?



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

Reply via email to