Package org.openstreetmap.josm.data
Class UndoRedoHandler.CommandQueueCleanedEvent
java.lang.Object
java.util.EventObject
org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueCleanedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UndoRedoHandler
public static final class UndoRedoHandler.CommandQueueCleanedEvent
extends UndoRedoHandler.CommandQueueEvent
Event fired after the command queue has been cleaned.
- Since:
- 13729
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCommandQueueCleanedEvent(UndoRedoHandler source, DataSet ds) -
Method Summary
Modifier and TypeMethodDescription(package private) voidCalls the appropriate method of the listener for this event.Returns the affected dataset.Methods inherited from class org.openstreetmap.josm.data.UndoRedoHandler.CommandQueueEvent
getSourceMethods inherited from class java.util.EventObject
toString
-
Field Details
-
serialVersionUID
- See Also:
-
ds
-
-
Constructor Details
-
CommandQueueCleanedEvent
-
-
Method Details
-
getDataSet
Returns the affected dataset.- Returns:
- the affected dataset, or null if the queue has been globally emptied
-
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
-