Class FlatTableUI.FlatTablePropertyWatcher

java.lang.Object
com.formdev.flatlaf.ui.FlatTableUI.FlatTablePropertyWatcher
All Implemented Interfaces:
PropertyChangeListener, EventListener
Enclosing class:
FlatTableUI

private static class FlatTableUI.FlatTablePropertyWatcher extends Object implements 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 Details

    • enabled

      boolean enabled
    • showHorizontalLinesChanged

      boolean showHorizontalLinesChanged
    • showVerticalLinesChanged

      boolean showVerticalLinesChanged
    • intercellSpacingChanged

      boolean intercellSpacingChanged
  • Constructor Details

    • FlatTablePropertyWatcher

      private FlatTablePropertyWatcher()
  • Method Details