hi Helder,

thx for the reply. I want to combine the mouse wheel with the Ctrl-Key, you are 
right.
If i use such CanvasInteractor, in my case AbstractZoomInteractor, there isn't 
any support for the mouse wheel, is it?
Or i re-implement the AbstractZommInteractor with additional MouseWheel 
Support, thats not a good style i think ... :/

regards
Christian

-------- Original-Nachricht --------
> Datum: Mon, 9 Feb 2009 12:11:15 +0000
> Von: "Helder Magalhães" <[email protected]>
> An: [email protected]
> Betreff: Re: zoom action with mouse wheel?

> > 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]

-- 
--------------------------------------------------------------------------------------------------------------------
Informatiker(b.i.b.) Christian Seifert, Softwaretechnologe für Anwendungs- / 
Webentwicklung

Technologien: C/C++/C#.NET/PHP/JavaScript/AJAX/Java/SQL/TransactSQL/EmbeddedSQL
Arbeitsumgebungen(IDE): VisualStudio 2005/2008, SharpDevelop, ZEND-Studio, 
Aptana, Eclipse, QuantaPlus
Standards: OOP, MVC, W3C(XHTML 1.0, CSS 2.0)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to