Package com.formdev.flatlaf.ui
Class FlatTableUI.FlatTablePropertyWatcher
- java.lang.Object
-
- com.formdev.flatlaf.ui.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 inFlatTableUI.installDefaults()
andFlatTableUI.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
Fields Modifier and Type Field Description (package private) boolean
enabled
(package private) boolean
intercellSpacingChanged
(package private) boolean
showHorizontalLinesChanged
(package private) boolean
showVerticalLinesChanged
-
Constructor Summary
Constructors Modifier Constructor Description private
FlatTablePropertyWatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static FlatTableUI.FlatTablePropertyWatcher
get(javax.swing.JTable table)
void
propertyChange(java.beans.PropertyChangeEvent e)
-
-
-
Method Detail
-
get
static FlatTableUI.FlatTablePropertyWatcher get(javax.swing.JTable table)
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-