Class UndoRotation

    • Constructor Summary

      Constructors 
      Constructor Description
      UndoRotation​(java.util.List<javax.swing.JComponent> objects, double angle, java.awt.geom.Point2D rotationAnchor)  
    • Constructor Detail

      • UndoRotation

        public UndoRotation​(java.util.List<javax.swing.JComponent> objects,
                            double angle,
                            java.awt.geom.Point2D rotationAnchor)
    • Method Detail

      • 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