Class CommandStackDialog.UndoRedoSelectionListener
- java.lang.Object
-
- org.openstreetmap.josm.gui.dialogs.CommandStackDialog.UndoRedoSelectionListener
-
- All Implemented Interfaces:
java.util.EventListener
,javax.swing.event.TreeSelectionListener
- Enclosing class:
- CommandStackDialog
private class CommandStackDialog.UndoRedoSelectionListener extends java.lang.Object implements javax.swing.event.TreeSelectionListener
Selection listener for undo and redo area. If one is clicked, takes away the selection from the other, so it behaves as if it was one component.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JTree
source
-
Constructor Summary
Constructors Constructor Description UndoRedoSelectionListener(javax.swing.JTree source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
valueChanged(javax.swing.event.TreeSelectionEvent e)
-
-
-
Field Detail
-
source
private final javax.swing.JTree source
-
-
Constructor Detail
-
UndoRedoSelectionListener
UndoRedoSelectionListener(javax.swing.JTree source)
-
-
Method Detail
-
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
- Specified by:
valueChanged
in interfacejavax.swing.event.TreeSelectionListener
-
-