Interface AbstractGraph.Zooming

All Superinterfaces:
AbstractGraph.Zoomer, EventHandler, MouseWheelHandler
All Known Implementing Classes:
GenericPopGraph, LineGraph, ParaGraph, PopGraph2D, PopGraph3D, S3Graph
Enclosing class:
AbstractGraph<B>

public static interface AbstractGraph.Zooming extends AbstractGraph.Zoomer, MouseWheelHandler
Graphs that support zooming should implement this interface. Basic zooming capabilities are handled by AbstractGraph.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    The factor for increasing/decreasing the zoom level on MouseWheelEvent or TouchMoveEvents.
    static final double
    The maximum zoom level.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reset zoom.
    void
    zoom(double zoom)
    Adjust zoom level by the factor zoom.

    Methods inherited from interface AbstractGraph.Zoomer

    zoom

    Methods inherited from interface MouseWheelHandler

    onMouseWheel