public class DefaultCommandNotification extends java.lang.Object implements CommandNotification
ADD, REDO, UNDO
Constructor and Description |
---|
DefaultCommandNotification(Command command,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
Command |
getCommand()
Returns the Command over which the action is executed
|
java.lang.String |
getType()
Returns this notification's type.
|
public DefaultCommandNotification(Command command, java.lang.String type)
public Command getCommand()
CommandNotification
getCommand
in interface CommandNotification
public java.lang.String getType()
CommandNotification
getType
in interface CommandNotification