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
protected static class DefaultTableModel.MyTableColumnModel extends DefaultTableColumnModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.DefaultTableColumnModel
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MyTableColumnModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
getColumnList()
void
moveColumn(int columnIndex, int newIndex)
void
removeColumn(TableColumn column)
void
renumberTableColumns()
-
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
-
-
-
-
Method Detail
-
getColumnList
public List getColumnList()
-
removeColumn
public void removeColumn(TableColumn column)
- 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()
-
-