Class UndoRotation
- java.lang.Object
-
- com.inductiveautomation.factorypmi.designer.workspace.undo.AbstractUndoAction
-
- com.inductiveautomation.factorypmi.designer.workspace.undo.UndoRotation
-
- All Implemented Interfaces:
UndoManager.UndoAction
public class UndoRotation extends AbstractUndoAction
-
-
Constructor Summary
Constructors Constructor Description UndoRotation(java.util.List<javax.swing.JComponent> objects, double angle, java.awt.geom.Point2D rotationAnchor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute()
This function executes (redoes) the actionprotected java.lang.Object[]
getDescriptionArgs()
boolean
undo()
This function will reverse the action-
Methods inherited from class com.inductiveautomation.factorypmi.designer.workspace.undo.AbstractUndoAction
getDescription, isGroupSequenceIndependent
-
-
-
-
Method Detail
-
getDescriptionArgs
protected java.lang.Object[] 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
-
-