Hi,

> I would like to have an pan option in my applet when user clicked some
> button (applet is switching to pan mode and when user point mouse
> cursor on the canvas object and press LeftMouseButton and hold then
> moving mouse cursor SVG document is panning, not when "shift +
> LeftMouseButton" is pressed) Hope that you understand, what I want to
> do.  Do I have to change something in JSVGCanvas class (or extend it),
> or is there an other way to do this? Please give me some advise,
> example. 

I do not know either, however if you look at
org.apache.batik.swing.gvt.JGVTComponent Listener it is how they invoke
the interactor (ie: panInteractor). Hope this could help you.
Also check out the boolean interactor.startInteractor(). it is how the
interactor is selected based on the gesture.

Btw, I also would like to know if you success in doing that.

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



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

Reply via email to