Class AbstractResetTransformInteractor
java.lang.Object
org.apache.batik.swing.gvt.AbstractResetTransformInteractor
- All Implemented Interfaces:
KeyListener, MouseListener, MouseMotionListener, EventListener, Interactor
This class represents an interactor which reset the rendering transform
of the associated document.
- Version:
- $Id$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTells whether the interaction has finished.voidInvoked when a key has been pressed.voidInvoked when a key has been released.voidInvoked when a key has been typed.voidInvoked when the mouse has been clicked on a component.voidInvoked when a mouse button is pressed on a component and then dragged.voidInvoked when the mouse enters a component.voidInvoked when the mouse exits a component.voidInvoked when the mouse button has been moved on a component (with no buttons no down).voidInvoked when a mouse button has been pressed on a component.voidInvoked when a mouse button has been released on a component.protected voidResets the associated component's transform.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Interactor
startInteraction
-
Field Details
-
finished
protected boolean finishedWhether the interactor has finished.
-
-
Constructor Details
-
AbstractResetTransformInteractor
public AbstractResetTransformInteractor()
-
-
Method Details
-
endInteraction
public boolean endInteraction()Tells whether the interaction has finished.- Specified by:
endInteractionin interfaceInteractor
-
keyTyped
Invoked when a key has been typed. This event occurs when a key press is followed by a key release.- Specified by:
keyTypedin interfaceKeyListener
-
keyPressed
Invoked when a key has been pressed.- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
Invoked when a key has been released.- Specified by:
keyReleasedin interfaceKeyListener
-
mouseClicked
Invoked when the mouse has been clicked on a component.- Specified by:
mouseClickedin interfaceMouseListener
-
mousePressed
Invoked when a mouse button has been pressed on a component.- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
Invoked when a mouse button has been released on a component.- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
Invoked when the mouse enters a component.- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
Invoked when the mouse exits a component.- Specified by:
mouseExitedin interfaceMouseListener
-
mouseDragged
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:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
Invoked when the mouse button has been moved on a component (with no buttons no down).- Specified by:
mouseMovedin interfaceMouseMotionListener
-
resetTransform
Resets the associated component's transform.
-