public class EditableTableModel
extends javax.swing.table.DefaultTableModel
Constructor and Description |
---|
EditableTableModel() |
Modifier and Type | Method and Description |
---|---|
int |
getEditDisabledCell() |
boolean |
isCellEditable(int row,
int column)
Return whether or not a row is editable.
|
void |
setEditDisabledCell(int editDisabledCell) |
void |
setValueAt(java.lang.Object value,
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
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.DefaultTableModel
public void setValueAt(java.lang.Object value, int row, int col)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.DefaultTableModel
public int getEditDisabledCell()
public void setEditDisabledCell(int editDisabledCell)