Command
Source: undoStack.js:4
Command interface.
Constructor
new Command(): CommandInstance Methods
getName(): string
Get the command name.
Returns
string— The command name.
execute()
Execute the command.
undo()
Undo the command.