Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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 `col`th 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 `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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ? 2003-2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD