Class ContourPlot.CoordSysScrollZoom

  • All Implemented Interfaces:
    ContourPlot.InteractionConstants, java.awt.event.MouseWheelListener, java.util.EventListener
    Enclosing class:
    ContourPlot

    public class ContourPlot.CoordSysScrollZoom
    extends java.lang.Object
    implements java.awt.event.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