org.jdesktop.swingx
Class JXTree.CellEditorRemover

java.lang.Object
  extended by org.jdesktop.swingx.JXTree.CellEditorRemover
All Implemented Interfaces:
PropertyChangeListener, EventListener
Enclosing class:
JXTree

public class JXTree.CellEditorRemover
extends Object
implements PropertyChangeListener

This class tracks changes in the keyboard focus state. It is used when the JXTree is editing to determine when to terminate the edit. If focus switches to a component outside of the JXTree, but in the same window, this will terminate editing. The exact terminate behaviour is controlled by the invokeStopEditing property.

See Also:
JTree.setInvokesStopCellEditing(boolean)

Constructor Summary
JXTree.CellEditorRemover()
           
 
Method Summary
 void propertyChange(PropertyChangeEvent ev)
          This method gets called when a bound property is changed.
 void release()
          stops listening.
 void updateKeyboardFocusManager()
          Updates itself to listen to the current KeyboardFocusManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXTree.CellEditorRemover

public JXTree.CellEditorRemover()
Method Detail

updateKeyboardFocusManager

public void updateKeyboardFocusManager()
Updates itself to listen to the current KeyboardFocusManager.


release

public void release()
stops listening.


propertyChange

public void propertyChange(PropertyChangeEvent ev)
Description copied from interface: java.beans.PropertyChangeListener
This method gets called when a bound property is changed.

Specified by:
propertyChange in interface PropertyChangeListener
Parameters:
ev - A PropertyChangeEvent object describing the event source and the property that has changed.