public interface UndoableCommand
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes this command.
|
java.lang.String |
getName()
Gets the command name.
|
void |
redo()
Performs redo for this command.
|
boolean |
shouldExecute()
Tests if the command can be executed.
|
void |
undo()
Performs undo for this command.
|
void execute()
void undo()
void redo()
java.lang.String getName()
boolean shouldExecute()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.