org.apache.batik.swing.gvt
Class AbstractResetTransformInteractor

java.lang.Object
  extended by org.apache.batik.swing.gvt.AbstractResetTransformInteractor
All Implemented Interfaces:
KeyListener, MouseListener, MouseMotionListener, EventListener, Interactor

public abstract class AbstractResetTransformInteractor
extends Object
implements Interactor

This class represents an interactor which reset the rendering transform of the associated document.


Field Summary
protected  boolean finished
          Whether the interactor has finished.
 
Constructor Summary
AbstractResetTransformInteractor()
           
 
Method Summary
 boolean endInteraction()
          Tells whether the interaction has finished.
 void keyPressed(KeyEvent e)
          Invoked when a key has been pressed.
 void keyReleased(KeyEvent e)
          Invoked when a key has been released.
 void keyTyped(KeyEvent e)
          Invoked when a key has been typed.
 void mouseClicked(MouseEvent e)
          Invoked when the mouse has been clicked on a component.
 void mouseDragged(MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void mouseEntered(MouseEvent e)
          Invoked when the mouse enters a component.
 void mouseExited(MouseEvent e)
          Invoked when the mouse exits a component.
 void mouseMoved(MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons no down).
 void mousePressed(MouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void mouseReleased(MouseEvent e)
          Invoked when a mouse button has been released on a component.
protected  void resetTransform(InputEvent e)
          Resets the associated component's transform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.batik.swing.gvt.Interactor
startInteraction
 

Field Detail

finished

protected boolean finished
Whether the interactor has finished.

Constructor Detail

AbstractResetTransformInteractor

public AbstractResetTransformInteractor()
Method Detail

endInteraction

public boolean endInteraction()
Tells whether the interaction has finished.

Specified by:
endInteraction in interface Interactor

keyTyped

public void keyTyped(KeyEvent e)
Invoked when a key has been typed. This event occurs when a key press is followed by a key release.

Specified by:
keyTyped in interface KeyListener

keyPressed

public void keyPressed(KeyEvent e)
Invoked when a key has been pressed.

Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent e)
Invoked when a key has been released.

Specified by:
keyReleased in interface KeyListener

mouseClicked

public void mouseClicked(MouseEvent e)
Invoked when the mouse has been clicked on a component.

Specified by:
mouseClicked in interface MouseListener

mousePressed

public void mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component.

Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component.

Specified by:
mouseReleased in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent e)
Invoked when the mouse enters a component.

Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Invoked when the mouse exits a component.

Specified by:
mouseExited in interface MouseListener

mouseDragged

public void mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. Mouse drag events will continue to be delivered to the component where the first originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

Specified by:
mouseDragged in interface MouseMotionListener

mouseMoved

public void mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons no down).

Specified by:
mouseMoved in interface MouseMotionListener

resetTransform

protected void resetTransform(InputEvent e)
Resets the associated component's transform.



Copyright © 2017 Apache Software Foundation. All Rights Reserved.