> is it possible to realize a zoom action with the mouse wheel? The Interactor > interface only implements MouseListener and MouseMotionListener but not > MouseWheelListener which i think is required to realize that? Any > suggestions? Is it planned for a further release of batik to support this > (maybe in AbstractZoomInteractor)? It would be very nice if anybody can help > me, thx a lot :)
To achieve what you intend, you should customize the canvas interactors. There's a wiki page [1] with useful information on that. I'm not sure if the development team is planning to change the existing interaction, though... Finally, note that using the mouse wheel for that can be confusing for users: the mouse wheel is also used many times for scroll operations. If I had to implement something like that, I'd also use a modifier key for that (Ctrl+mouse wheel or Shift+mouse wheel, for example). Hope this helps, Helder Magalhães [1] http://wiki.apache.org/xmlgraphics-batik/CanvasInteractors --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
