org.crosswire.common.config.swing
Class MapField.NamedMapTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.crosswire.common.swing.MapTableModel
          extended by 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


Field Summary
private static long serialVersionUID
          Serialization ID
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
protected MapField.NamedMapTableModel()
           
 
Method Summary
 String getColumnName(int col)
          The name of the of the colth column
 boolean isCellEditable(int row, int col)
           
 
Methods inherited from class org.crosswire.common.swing.MapTableModel
add, getColumnClass, getColumnCount, getRowCount, getValue, getValueAt, remove, setColumnName, setMap, update
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

MapField.NamedMapTableModel

protected MapField.NamedMapTableModel()
Method Detail

getColumnName

public String getColumnName(int col)
Description copied from class: MapTableModel
The name of the of the colth 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

Copyright ? 2003-2006