Package com.formdev.flatlaf.ui
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 Summary
FieldsModifier and TypeFieldDescription(package private) boolean
(package private) boolean
(package private) boolean
(package private) boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static FlatTableUI.FlatTablePropertyWatcher
void
-
Field Details
-
enabled
boolean enabled -
showHorizontalLinesChanged
boolean showHorizontalLinesChanged -
showVerticalLinesChanged
boolean showVerticalLinesChanged -
intercellSpacingChanged
boolean intercellSpacingChanged
-
-
Constructor Details
-
FlatTablePropertyWatcher
private FlatTablePropertyWatcher()
-
-
Method Details
-
get
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-