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