org.openstreetmap.josm.gui.tagging
Class TagTable.CellEditorRemover

java.lang.Object
  extended by org.openstreetmap.josm.gui.tagging.TagTable.CellEditorRemover
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener
Enclosing class:
TagTable

 class TagTable.CellEditorRemover
extends java.lang.Object
implements java.beans.PropertyChangeListener

This is a custom implementation of the CellEditorRemover used in JTable to handle the client property terminateEditOnFocusLost. This implementation also checks whether focus is transferred to one of a list of dedicated components, see TagTable.doNotStopCellEditingWhenFocused. A typical example for such a component is a button in TagEditorPanel which isn't a child component of TagTable but which should respond to to focus transfer in a similar way to a child of TagTable.


Field Summary
(package private)  java.awt.KeyboardFocusManager focusManager
           
 
Constructor Summary
TagTable.CellEditorRemover(java.awt.KeyboardFocusManager fm)
           
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent ev)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

focusManager

java.awt.KeyboardFocusManager focusManager
Constructor Detail

TagTable.CellEditorRemover

public TagTable.CellEditorRemover(java.awt.KeyboardFocusManager fm)
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent ev)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener


JOSM