public class AbstractRotateInteractor extends InteractorAdapter
InteractorAdapter.startInteraction(java.awt.event.InputEvent) method.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
finished
Whether the interactor has finished.
|
protected double |
initialRotation
The initial rotation angle.
|
| Constructor and Description |
|---|
AbstractRotateInteractor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
endInteraction()
Tells whether the interactor has finished.
|
void |
mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then
dragged.
|
void |
mouseExited(MouseEvent e)
Invoked when the mouse exits a component.
|
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 AffineTransform |
rotateTransform(Dimension d,
int x,
int y)
Returns the rotate transform.
|
keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseMoved, startInteractionprotected boolean finished
protected double initialRotation
public boolean endInteraction()
endInteraction in interface InteractorendInteraction in class InteractorAdapterpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class InteractorAdapterpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class InteractorAdapterpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenermouseExited in class InteractorAdapterpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class InteractorAdapterprotected AffineTransform rotateTransform(Dimension d, int x, int y)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.