JIDE 3.5.15

com.jidesoft.grid
Class AbstractMultiTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.jidesoft.grid.AbstractMultiTableModel
All Implemented Interfaces:
ContextSensitiveTableModel, MultiTableModel, Serializable, TableModel

public abstract class AbstractMultiTableModel
extends AbstractTableModel
implements MultiTableModel

An abstract implementation of MultiTableModel based on AbstractTableModel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Fields inherited from interface com.jidesoft.grid.MultiTableModel
FOOTER_COLUMN, HEADER_COLUMN, REGULAR_COLUMN
 
Constructor Summary
AbstractMultiTableModel()
           
 
Method Summary
 Class<?> getCellClassAt(int row, int column)
          Gets the type at cell (row, column).
 ConverterContext getConverterContextAt(int row, int column)
          Gets the converter context at cell (row, column).
 EditorContext getEditorContextAt(int row, int column)
          Gets the editor context at cell (row, column).
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jidesoft.grid.MultiTableModel
getColumnType, getTableIndex
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Constructor Detail

AbstractMultiTableModel

public AbstractMultiTableModel()
Method Detail

getCellClassAt

public Class<?> getCellClassAt(int row,
                               int column)
Description copied from interface: ContextSensitiveTableModel
Gets the type at cell (row, column).

For a special row index like -1, please return the default column class for the entire column if there is any.

Specified by:
getCellClassAt in interface ContextSensitiveTableModel
Parameters:
row - the row index
column - the column index
Returns:
type

getEditorContextAt

public EditorContext getEditorContextAt(int row,
                                        int column)
Description copied from interface: ContextSensitiveTableModel
Gets the editor context at cell (row, column).

For a special row index like -1, please return the default editor context for the entire column if there is any.

Specified by:
getEditorContextAt in interface ContextSensitiveTableModel
Parameters:
row - the row index
column - the column index
Returns:
editor context

getConverterContextAt

public ConverterContext getConverterContextAt(int row,
                                              int column)
Description copied from interface: ContextSensitiveTableModel
Gets the converter context at cell (row, column).

For a special row index like -1, please return the default converter context for the entire column if there is any.

Specified by:
getConverterContextAt in interface ContextSensitiveTableModel
Parameters:
row - the row index
column - the column index
Returns:
converter context

JIDE 3.5.15