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()
CommandNotification
getCommand
in interface CommandNotification
public String getType()
CommandNotification
getType
in interface CommandNotification