Class UndoRotation
java.lang.Object
com.inductiveautomation.factorypmi.designer.workspace.undo.AbstractUndoAction
com.inductiveautomation.factorypmi.designer.workspace.undo.UndoRotation
- All Implemented Interfaces:
UndoManager.UndoAction
-
Constructor Summary
ConstructorsConstructorDescriptionUndoRotation
(List<JComponent> objects, double angle, Point2D rotationAnchor) -
Method Summary
Methods inherited from class com.inductiveautomation.factorypmi.designer.workspace.undo.AbstractUndoAction
getDescription, isGroupSequenceIndependent
-
Constructor Details
-
UndoRotation
-
-
Method Details
-
getDescriptionArgs
- Overrides:
getDescriptionArgs
in classAbstractUndoAction
-
undo
public boolean undo()Description copied from interface:UndoManager.UndoAction
This function will reverse the action- Returns:
- false if the undo failed
-
execute
public boolean execute()Description copied from interface:UndoManager.UndoAction
This function executes (redoes) the action- Returns:
- false if the execution failed
-