Class AbstractImageZoomInteractor

java.lang.Object
io.sf.carte.echosvg.swing.gvt.InteractorAdapter
io.sf.carte.echosvg.swing.gvt.AbstractImageZoomInteractor
All Implemented Interfaces:
Interactor, KeyListener, MouseListener, MouseMotionListener, EventListener

public class AbstractImageZoomInteractor extends InteractorAdapter
This class represents a zoom interactor. To use it, just redefine the InteractorAdapter.startInteraction(java.awt.event.InputEvent) method.
  • 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.
  • Constructor Details

    • AbstractImageZoomInteractor

      public AbstractImageZoomInteractor()
  • Method Details