JIDE 3.5.15

com.jidesoft.grid
Interface EditableColumnTableModel

All Known Implementing Classes:
TransposeTableModel

public interface EditableColumnTableModel

EditableColumnTableModel is am interface supports editable table column. You can implement this interface on your table model and EditableTableHeader will use it to decide which column is editable and what cell editor to use.


Method Summary
 TableCellEditor getColumnHeaderCellEditor(int columnIndex)
          Gets the column header cell editor.
 boolean isColumnHeaderEditable(int columnIndex)
          Checks if the column at the specified columnIndex is editable.
 

Method Detail

isColumnHeaderEditable

boolean isColumnHeaderEditable(int columnIndex)
Checks if the column at the specified columnIndex is editable.

Parameters:
columnIndex - the column index
Returns:
true if the column should be editable. Otherwise false.

getColumnHeaderCellEditor

TableCellEditor getColumnHeaderCellEditor(int columnIndex)
Gets the column header cell editor.

Parameters:
columnIndex - the column index
Returns:
the column header cell editor. Returns null if you want to use the default cell editor registered on EditableTableHeader.

JIDE 3.5.15