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 booleanexecute()This function executes (redoes) the actionprotected java.lang.Object[]getDescriptionArgs()booleanundo()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:
 getDescriptionArgsin classAbstractUndoAction
 
- 
undo
public boolean undo()
Description copied from interface:UndoManager.UndoActionThis function will reverse the action- Returns:
 - false if the undo failed
 
 
- 
execute
public boolean execute()
Description copied from interface:UndoManager.UndoActionThis function executes (redoes) the action- Returns:
 - false if the execution failed
 
 
 - 
 
 -