Interface Undoable


  • public interface Undoable
    An interface for undoable objects.
    Author:
    Arnaud BLOUIN
    • Method Detail

      • undo

        void undo()
        Cancels the command.
      • redo

        void redo()
        Redoes the cancelled command.
      • getUndoName

        String getUndoName​(ResourceBundle bundle)
        Parameters:
        bundle - The language bundle. Can be null.
        Returns:
        The name of the undo command.