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 SummaryConstructors Constructor Description UndoRotation(java.util.List<javax.swing.JComponent> objects, double angle, java.awt.geom.Point2D rotationAnchor)
 - 
Method SummaryAll 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.AbstractUndoActiongetDescription, isGroupSequenceIndependent
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptionArgsprotected java.lang.Object[] getDescriptionArgs() - Overrides:
- getDescriptionArgsin class- AbstractUndoAction
 
 - 
undopublic boolean undo() Description copied from interface:UndoManager.UndoActionThis function will reverse the action- Returns:
- false if the undo failed
 
 - 
executepublic boolean execute() Description copied from interface:UndoManager.UndoActionThis function executes (redoes) the action- Returns:
- false if the execution failed
 
 
- 
 
-