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()
CommandNotificationgetCommand in interface CommandNotificationpublic java.lang.String getType()
CommandNotificationgetType in interface CommandNotification