public class RobotTableModel extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
private boolean[] |
editable |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
RobotTableModel(boolean[] editableCols,
Object[] columnNames,
int rowCount) |
Modifier and Type | Method and Description |
---|---|
Class |
getColumnClass(int c) |
boolean |
isCellEditable(int row,
int col) |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, 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 RobotTableModel(boolean[] editableCols, Object[] columnNames, int rowCount)
editableCols
- needs to be the same length as the number of columnspublic Class getColumnClass(int c)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel