public class MustTableModel
extends javax.swing.table.DefaultTableModel
Constructor and Description |
---|
MustTableModel(java.lang.Object[][] data,
java.lang.Object[] columnNames) |
MustTableModel(java.lang.String[] columnNames) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getColumnClass(int columnIndex) |
void |
setColumnClasses(java.lang.Class<?>[] columnClasses)
Sets the expected column classes.
|
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public MustTableModel(java.lang.String[] columnNames)
public MustTableModel(java.lang.Object[][] data, java.lang.Object[] columnNames)
public void setColumnClasses(java.lang.Class<?>[] columnClasses)
columnClasses
- the expected column classespublic java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de