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 Link icon

    • finished Link icon

      protected boolean finished
      Whether the interactor has finished.
    • xStart Link icon

      protected int xStart
      The mouse x start position.
    • yStart Link icon

      protected int yStart
      The mouse y start position.
    • xCurrent Link icon

      protected int xCurrent
      The mouse x current position.
    • yCurrent Link icon

      protected int yCurrent
      The mouse y current position.
  • Constructor Details Link icon

    • AbstractImageZoomInteractor Link icon

      public AbstractImageZoomInteractor()
  • Method Details Link icon