Class AbstractZoomInteractor

java.lang.Object
org.apache.batik.swing.gvt.InteractorAdapter
org.apache.batik.swing.gvt.AbstractZoomInteractor
All Implemented Interfaces:
KeyListener, MouseListener, MouseMotionListener, EventListener, Interactor

public class AbstractZoomInteractor extends InteractorAdapter
This class represents a zoom interactor. To use it, just redefine the InteractorAdapter.startInteraction(java.awt.event.InputEvent) method.
Version:
$Id: AbstractZoomInteractor.java 1808975 2017-09-20 08:59:36Z ssteiner $
  • Field Details

    • finished

      protected boolean finished
      Whether the interactor has finished.
    • xStart

      protected int xStart
      The mouse x start position.
    • yStart

      protected int yStart
      The mouse y start position.
    • xCurrent

      protected int xCurrent
      The mouse x current position.
    • yCurrent

      protected int yCurrent
      The mouse y current position.
    • markerTop

      protected Line2D markerTop
      The zoom marker top line.
    • markerLeft

      protected Line2D markerLeft
      The zoom marker left line.
    • markerBottom

      protected Line2D markerBottom
      The zoom marker bottom line.
    • markerRight

      protected Line2D markerRight
      The zoom marker right line.
    • overlay

      protected Overlay overlay
      The overlay.
    • markerStroke

      protected BasicStroke markerStroke
      Used to draw marker
  • Constructor Details

    • AbstractZoomInteractor

      public AbstractZoomInteractor()
  • Method Details