Package groovy.swing.model
Class DefaultTableModel.MyTableColumnModel
java.lang.Object
javax.swing.table.DefaultTableColumnModel
groovy.swing.model.DefaultTableModel.MyTableColumnModel
- All Implemented Interfaces:
PropertyChangeListener
,Serializable
,EventListener
,ListSelectionListener
,TableColumnModel
- Enclosing class:
- DefaultTableModel
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.DefaultTableColumnModel
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
moveColumn
(int columnIndex, int newIndex) void
removeColumn
(TableColumn column) void
Methods inherited from class javax.swing.table.DefaultTableColumnModel
addColumn, addColumnModelListener, createSelectionModel, fireColumnAdded, fireColumnMarginChanged, fireColumnMoved, fireColumnRemoved, fireColumnSelectionChanged, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, propertyChange, recalcWidthCache, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged
-
Constructor Details
-
MyTableColumnModel
protected MyTableColumnModel()
-
-
Method Details
-
getColumnList
-
removeColumn
- Specified by:
removeColumn
in interfaceTableColumnModel
- Overrides:
removeColumn
in classDefaultTableColumnModel
-
moveColumn
public void moveColumn(int columnIndex, int newIndex) - Specified by:
moveColumn
in interfaceTableColumnModel
- Overrides:
moveColumn
in classDefaultTableColumnModel
-
renumberTableColumns
public void renumberTableColumns()
-