https://issues.apache.org/bugzilla/show_bug.cgi?id=49762
Summary: Allow disabling key-based canvas interactors (or
disable them together with mouse-based interactors)
Product: Batik
Version: 1.8
Platform: All
URL: http://mail-archives.apache.org/mod_mbox/xmlgraphics-b
atik-users/201008.mbox/browser#msg-21
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P4
Component: SVG Viewer
AssignedTo: [email protected]
ReportedBy: [email protected]
The JSVGCanvas class [1] supports several canvas interactors [2], key-based and
mouse-based (both often using key modifiers). The mouse-based can be disabled,
using the setEnable*Interactor() [1][2]; the key-based ones currently cannot be
disabled without extending the class.
There's a good description of the problem [3] and a proposed workaround [4]
(through extending the class).
The idea would be either:
1. Implement more setEnable*Interactor() methods to allow disabling key-based
interactors: cursor keys, zoom in/out as well and maybe the reset transform as
well;
2. Adjust the setEnable*Interactor() methods to disable the key-based
interaction as well. So, for example, "setEnablePanInteractor" method would
disable the cursor key interaction as well (including the shift key modifier).
This can be seen either as an enhancement or a minor bug report (in the sense
that currently there's already functionality for disabling mouse-based canvas
interactors).
[1]
http://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/swing/JSVGCanvas.html
[2] http://wiki.apache.org/xmlgraphics-batik/CanvasInteractors
[3]
http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/201008.mbox/browser#msg-21
[4]
http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/201008.mbox/browser#msg-22
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]