public class UndoRotation extends AbstractUndoAction
Constructor and Description |
---|
UndoRotation(java.util.List<javax.swing.JComponent> objects,
double angle,
java.awt.geom.Point2D rotationAnchor) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
This function executes (redoes) the action
|
protected java.lang.Object[] |
getDescriptionArgs() |
boolean |
undo()
This function will reverse the action
|
getDescription, isGroupSequenceIndependent
public UndoRotation(java.util.List<javax.swing.JComponent> objects, double angle, java.awt.geom.Point2D rotationAnchor)
protected java.lang.Object[] getDescriptionArgs()
getDescriptionArgs
in class AbstractUndoAction
public boolean undo()
UndoManager.UndoAction
public boolean execute()
UndoManager.UndoAction