Package org.openstreetmap.josm.data
Class UndoRedoHandler.CommandAddedEvent
java.lang.Object
java.util.EventObject
org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
org.openstreetmap.josm.data.UndoRedoHandler.CommandAddedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UndoRedoHandler
public static final class UndoRedoHandler.CommandAddedEvent
extends UndoRedoHandler.CommandQueueEvent
Event fired after a command has been added to the command queue.
- Since:
- 13729
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidCalls the appropriate method of the listener for this event.Returns the added command.Methods inherited from class org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
getSourceMethods inherited from class java.util.EventObject
toString
-
Field Details
-
serialVersionUID
- See Also:
-
cmd
-
-
Constructor Details
-
CommandAddedEvent
-
-
Method Details
-
getCommand
Returns the added command.- Returns:
- the added command
-
fire
Description copied from class:UndoRedoHandler.CommandQueueEventCalls the appropriate method of the listener for this event.- Specified by:
firein classUndoRedoHandler.CommandQueueEvent- Parameters:
listener- dataset listener to notify about this event
-