Renato Stancato wrote:
I need to create a button to call the zoom area (ctrl+mouse left
button) and other button for pan (shift+mouse left button).
Is there an easy way to do that?

I don't see how you could possibly bind these to a button as they require an initial mouse down to 'anchor' the interaction. If you just want a 'modal' interface to them (i.e. a zoom cursor, or a hand cursor) where a normal click initiates the interaction, I would just take the existing Zoom/Pan interactors batik.swing.gvt and modify the startInteraction method to check your modal state, rather than the modifier keys.


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



Reply via email to