Class FlatTableUI.FlatTablePropertyWatcher

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

    private static class FlatTableUI.FlatTablePropertyWatcher
    extends java.lang.Object
    implements java.beans.PropertyChangeListener
    Listener that watches for change of some table properties from application code. This information is used in FlatTableUI.installDefaults() and FlatTableUI.uninstallDefaults() to decide whether FlatLaf modifies those properties. If they are modified in application code, FlatLaf no longer changes them. The listener is added once for each table, but never removed. So switching Laf/theme reuses existing listener.
    • Field Detail

      • enabled

        boolean enabled
      • showHorizontalLinesChanged

        boolean showHorizontalLinesChanged
      • showVerticalLinesChanged

        boolean showVerticalLinesChanged
      • intercellSpacingChanged

        boolean intercellSpacingChanged
    • Constructor Detail

      • FlatTablePropertyWatcher

        private FlatTablePropertyWatcher()
    • Method Detail

      • propertyChange

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