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