Class ContourPlot.CoordSysScrollZoom

java.lang.Object
gov.nih.mipav.model.algorithms.ContourPlot.CoordSysScrollZoom
All Implemented Interfaces:
ContourPlot.InteractionConstants, MouseWheelListener, EventListener
Enclosing class:
ContourPlot

public class ContourPlot.CoordSysScrollZoom extends Object implements MouseWheelListener, ContourPlot.InteractionConstants
The CoordSysScrollZoom class implements a MouseWheelListener that realize zooming functionality for the coordinate view of the ContourPlot.CoordSysRenderer. When registering this with an ContourPlot.JPlotterCanvas and corresponding ContourPlot.CoordSysRenderer turning the scroll wheel zooms into or out of the current coordinate system view. The zoom factor can be set and is by default 2.0.

Intended use: CoordSysScrollZoom zoom = new CoordSysScrollZoom(canvas, coordsys).register();

Author:
hageldave