public class UndoEvent
extends java.util.EventObject
actionUndone
and actionRedone
event handlers.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. |