public abstract class AbstractCommand extends Object implements Command
DELETE, INSERT, UPDATE| Constructor and Description |
|---|
AbstractCommand(String description)
Creates a new AbstractCommand.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Returns a String with the date in which this command was created or
redone.
|
String |
getDescription()
Returns this command description
|
String |
toString() |
protected void |
updateDate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypepublic AbstractCommand(String description)
description - of the commandpublic Date getDate()
UndoRedoInfogetDate in interface UndoRedoInfopublic String getDescription()
UndoRedoInfogetDescription in interface UndoRedoInfoprotected void updateDate()