Package org.openstreetmap.josm.data
Class UndoRedoHandler.CommandUndoneEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
-
- org.openstreetmap.josm.data.UndoRedoHandler.CommandUndoneEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- UndoRedoHandler
public static final class UndoRedoHandler.CommandUndoneEvent extends UndoRedoHandler.CommandQueueEvent
Event fired after a command has been undone.- Since:
- 13729
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Commandcmdprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateCommandUndoneEvent(UndoRedoHandler source, Command cmd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidfire(UndoRedoHandler.CommandQueuePreciseListener listener)Calls the appropriate method of the listener for this event.CommandgetCommand()Returns the undone command.-
Methods inherited from class org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
getSource
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CommandUndoneEvent
private CommandUndoneEvent(UndoRedoHandler source, Command cmd)
-
-
Method Detail
-
getCommand
public Command getCommand()
Returns the undone command.- Returns:
- the undone command
-
fire
void fire(UndoRedoHandler.CommandQueuePreciseListener listener)
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
-
-