Class TagTable.CellEditorRemover
- java.lang.Object
-
- org.openstreetmap.josm.gui.tagging.TagTable.CellEditorRemover
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
- Enclosing class:
- TagTable
class TagTable.CellEditorRemover extends Object implements PropertyChangeListener
This is a custom implementation of the CellEditorRemover used in JTable to handle the client propertyterminateEditOnFocusLost
. This implementation also checks whether focus is transferred to one of a list of dedicated components, seeTagTable.doNotStopCellEditingWhenFocused
. A typical example for such a component is a button inTagEditorPanel
which isn't a child component ofTagTable
but which should respond to to focus transfer in a similar way to a child of TagTable.
-
-
Field Summary
Fields Modifier and Type Field Description private KeyboardFocusManager
focusManager
-
Constructor Summary
Constructors Constructor Description CellEditorRemover(KeyboardFocusManager fm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
propertyChange(PropertyChangeEvent ev)
-
-
-
Field Detail
-
focusManager
private final KeyboardFocusManager focusManager
-
-
Constructor Detail
-
CellEditorRemover
CellEditorRemover(KeyboardFocusManager fm)
-
-
Method Detail
-
propertyChange
public void propertyChange(PropertyChangeEvent ev)
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
-