A mixin that enables right-click-and-drag to adjust the magnification of
a Zoomable component.
This style of zoom level control lends itself to non-integral
multiplicative zoom changes - e.g. each pixel of drag makes the view 10%
larger, as opposed to 1x, 2x, 3x normal size. Note however that not every
Swing component (including some of our own visualizations) draw with
anti-aliasing enabled - this will become very noticable with non-integral
zoom.
A mixin that enables right-click-and-drag to adjust the magnification of a Zoomable component.
This style of zoom level control lends itself to non-integral multiplicative zoom changes - e.g. each pixel of drag makes the view 10% larger, as opposed to 1x, 2x, 3x normal size. Note however that not every Swing component (including some of our own visualizations) draw with anti-aliasing enabled - this will become very noticable with non-integral zoom.
Created by gonztobi on 3/31/2014.