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.PropertyChangeListenerListener 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) booleanenabled(package private) booleanintercellSpacingChanged(package private) booleanshowHorizontalLinesChanged(package private) booleanshowVerticalLinesChanged
-
Constructor Summary
Constructors Modifier Constructor Description privateFlatTablePropertyWatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static FlatTableUI.FlatTablePropertyWatcherget(javax.swing.JTable table)voidpropertyChange(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:
propertyChangein interfacejava.beans.PropertyChangeListener
-
-