Class TableColumnSettings
java.lang.Object
smile.swing.table.TableColumnSettings
- All Implemented Interfaces:
EventListener, TableColumnModelListener
Table column settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply this column settings to given table.voidvoidvoidvoidvoid
-
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:
columnMarginChangedin interfaceTableColumnModelListener
-
columnAdded
- Specified by:
columnAddedin interfaceTableColumnModelListener
-
columnRemoved
- Specified by:
columnRemovedin interfaceTableColumnModelListener
-
columnMoved
- Specified by:
columnMovedin interfaceTableColumnModelListener
-
columnSelectionChanged
- Specified by:
columnSelectionChangedin interfaceTableColumnModelListener
-