- canExecute
Calls #prepare, caches the result in #isExecutable, and sets #isPrepared to true
; from then on, it
- getDescription
- getLabel
- toString
Returns an abbreviated name using this object's own class' name, without package
qualification, foll
- getAffectedObjects
Returns an empty list.
- canUndo
Returns true because most command should be undoable.
- chain
Creates a new compound command, containing this command and the given command,
that delegates chain
- getResult
Returns an empty list.
- setLabel
Sets the label after construction.
- prepare
Called at most once in #canExecute to give the command an opportunity to ready
itself for execution.
- setDescription
Sets the description after construction.
- undo
Throws a runtime exception.