public interface Command
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes this command.
|
java.lang.String |
getName()
Gets the name associated with this command.
|
void |
undo()
Undoes the result of executing this command.
|
void execute()
void undo()
java.lang.String getName()