Package org.openstreetmap.josm.data
Interface UndoRedoHandler.CommandQueueListener
-
- All Known Implementing Classes:
GenericRelationEditor,RecentRelationsAction,RedoAction,RefreshAction,UndoAction
- Enclosing class:
- UndoRedoHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface UndoRedoHandler.CommandQueueListener
A simple listener that gets notified of command queue (undo/redo) size changes.- Since:
- 12718 (moved from
OsmDataLayer - See Also:
UndoRedoHandler.CommandQueuePreciseListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcommandChanged(int queueSize, int redoSize)Notifies the listener about the new queue size
-
-
-
Method Detail
-
commandChanged
void commandChanged(int queueSize, int redoSize)
Notifies the listener about the new queue size- Parameters:
queueSize- Undo stack sizeredoSize- Redo stack size
-
-