protected static class DefaultTableModel.MyTableColumnModel extends DefaultTableColumnModel
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth| Modifier | Constructor and Description |
|---|---|
protected |
MyTableColumnModel() |
| Modifier and Type | Method and Description |
|---|---|
List |
getColumnList() |
void |
moveColumn(int columnIndex,
int newIndex) |
void |
removeColumn(TableColumn column) |
void |
renumberTableColumns() |
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, valueChangedpublic List getColumnList()
public void removeColumn(TableColumn column)
removeColumn in interface TableColumnModelremoveColumn in class DefaultTableColumnModelpublic void moveColumn(int columnIndex,
int newIndex)
moveColumn in interface TableColumnModelmoveColumn in class DefaultTableColumnModelpublic void renumberTableColumns()