public class CommandManagerChangeEvent
extends java.util.EventObject
ICommandManagerChangeListener,
Serialized Form| Constructor and Description |
|---|
CommandManagerChangeEvent(CommandManager source)
Constructs a new command manager change event for the specified command
manager.
|
CommandManagerChangeEvent(CommandManager source,
ICommand command)
Constructs a new command manager change event for the specified command
manager and command.
|
| Modifier and Type | Method and Description |
|---|---|
ICommand |
getCommand()
Retrieves the value of the
command instance variable. |
protected void |
setSource(CommandManager source)
Sets the
source instance variable to the specified value. |
public CommandManagerChangeEvent(CommandManager source)
source - The command manager that changed.public CommandManagerChangeEvent(CommandManager source, ICommand command)
source - The command manager that changed.command - The command that has been executed/undone/redone.public ICommand getCommand()
command instance variable.command instance variable.protected void setSource(CommandManager source)
source instance variable to the specified value.source - The new value for the source instance variable.