-
public interface UndoableAn interface for undoable objects.- Author:
- Arnaud BLOUIN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetUndoName(ResourceBundle bundle)voidredo()Redoes the cancelled command.voidundo()Cancels the command.
-
-
-
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.
-
-