|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextSensitiveTableModel
This interface should be used along with TableModel class. Combining with TableModel, it will be able to get converter context, editor context and type of each cell.
The cellClassAt and the converterContextAt will provide the key to look up for theObjectConverter
from ObjectConverterManager
.
The cellClassAt and the editorContextAt will provide the key to look up for
the TableCellRenderer
and TableCellEditor
from
CellRendererManager
and CellEditorManager
respectively.
Method Summary | |
---|---|
Class<?> |
getCellClassAt(int rowIndex,
int columnIndex)
Gets the type at cell (row, column). |
ConverterContext |
getConverterContextAt(int rowIndex,
int columnIndex)
Gets the converter context at cell (row, column). |
EditorContext |
getEditorContextAt(int rowIndex,
int columnIndex)
Gets the editor context at cell (row, column). |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
ConverterContext getConverterContextAt(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index
EditorContext getEditorContextAt(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index
Class<?> getCellClassAt(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |