org.crosswire.common.config.swing
Class MapField.NamedMapTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.crosswire.common.swing.MapTableModel
org.crosswire.common.config.swing.MapField.NamedMapTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- Enclosing class:
- MapField
static class MapField.NamedMapTableModel
- extends MapTableModel
A MapTableModel with named columns that is not ediatble
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serialization ID
- See Also:
- Constant Field Values
MapField.NamedMapTableModel
protected MapField.NamedMapTableModel()
getColumnName
public String getColumnName(int col)
- Description copied from class:
MapTableModel
- The name of the of the
col
th column
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class MapTableModel
- Parameters:
col
- The column index
- Returns:
- The column name
isCellEditable
public boolean isCellEditable(int row,
int col)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class AbstractTableModel