Package smile.swing.table
Class TableColumnSettings
java.lang.Object
smile.swing.table.TableColumnSettings
- All Implemented Interfaces:
EventListener
,TableColumnModelListener
Table column settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply this column settings to given table.void
void
void
void
void
-
Constructor Details
-
TableColumnSettings
Constructor.- Parameters:
id
- The id of table to save and restore column settings (width, order, visible).
-
-
Method Details
-
apply
Apply this column settings to given table. This object will also listen to table column model events.- Parameters:
table
- A JTable to apply column settings.
-
columnMarginChanged
- Specified by:
columnMarginChanged
in interfaceTableColumnModelListener
-
columnAdded
- Specified by:
columnAdded
in interfaceTableColumnModelListener
-
columnRemoved
- Specified by:
columnRemoved
in interfaceTableColumnModelListener
-
columnMoved
- Specified by:
columnMoved
in interfaceTableColumnModelListener
-
columnSelectionChanged
- Specified by:
columnSelectionChanged
in interfaceTableColumnModelListener
-