Hi

I solved this by adding a GVTTreeRendererListener to the canvas and calling 
setDisableInteractions(true) after every gvtRenderingCompleted()-event.

Hope this helps :)

Cheers


-----Ursprungliche Nachricht-----
Von: sugawara [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 30. Marz 2006 08:10
An: [email protected]
Betreff: JSVGCAnvas.setDisableInteractions(true) does not disable interactions


Hi all,

With Batik 1.6, setDisableInteractions method of JSVGCanvas seems to be no
effect.
I wrote setDisableInteractions(true) in the constructor of my test canvas
which
extends JSVGCanvas, but all the built-in interactors including scrolling
interactors
still works.
Strange to say, methods for controlling specific interaction such as
setEnableImageZoomInteractor works well.
What I really want to do is to disable canvas-scrolling using arrow keys.
Unfotunately, there is no method to do it, and the
setDisableInteractions(true) is
the only way, I think.

Any help will be appreciated.

Best regards,
Shin



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


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

Reply via email to