|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectactions.RotateAction
public class RotateAction
Action for rotation an object.
Field Summary | |
---|---|
(package private) double |
amount
the amount to rotate the shape, in radians |
(package private) InteractionHandler |
handler
the interaction handler |
Constructor Summary | |
---|---|
RotateAction(InteractionHandler handler,
double amount)
Constructs a rotation action. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Rotates the object currently selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
InteractionHandler handler
double amount
Constructor Detail |
---|
public RotateAction(InteractionHandler handler, double amount)
handler
- - the interaction handleramount
- - the amount in radians to rotate the shapeMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed
in interface java.awt.event.ActionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |