public class UndoEvent
extends java.util.EventObject
| Constructor and Description |
|---|
UndoEvent(java.lang.Object source,
Command command)
Initializes a new instance of the UndoEvent class.
|
| Modifier and Type | Method and Description |
|---|---|
Command |
getCommand()
Gets a reference to the
Command instance related to the event being handled. |
public UndoEvent(java.lang.Object source,
Command command)
source - The source of the event.command - The getCommand() command related to the event.