Class JXTable.CellEditorRemover

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener
    Enclosing class:
    JXTable

    class JXTable.CellEditorRemover
    extends java.lang.Object
    implements java.beans.PropertyChangeListener
    This class tracks changes in the keyboard focus state. It is used when the JTable is editing to determine when to cancel the edit. If focus switches to a component outside of the jtable, but in the same window, this will cancel editing.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.awt.KeyboardFocusManager focusManager  
    • Field Detail

      • focusManager

        java.awt.KeyboardFocusManager focusManager
    • Constructor Detail

      • CellEditorRemover

        public CellEditorRemover()
    • Method Detail

      • install

        private void install()
      • uninstall

        public void uninstall()
        remove all listener registrations.
      • propertyChange

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

        private void permanentFocusOwnerChange()