com.jidesoft.grid
Class DefaultContextSensitiveTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
com.jidesoft.grid.DefaultContextSensitiveTableModel
- All Implemented Interfaces:
- ContextSensitiveTableModel, Serializable, TableModel
public class DefaultContextSensitiveTableModel
- extends DefaultTableModel
- implements ContextSensitiveTableModel
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContextSensitiveTableModel
public DefaultContextSensitiveTableModel()
DefaultContextSensitiveTableModel
public DefaultContextSensitiveTableModel(int rowCount,
int columnCount)
DefaultContextSensitiveTableModel
public DefaultContextSensitiveTableModel(Vector<?> columnNames,
int rowCount)
DefaultContextSensitiveTableModel
public DefaultContextSensitiveTableModel(Object[] columnNames,
int rowCount)
DefaultContextSensitiveTableModel
public DefaultContextSensitiveTableModel(Vector<?> data,
Vector<?> columnNames)
DefaultContextSensitiveTableModel
public DefaultContextSensitiveTableModel(Object[][] data,
Object[] columnNames)
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 indexcolumn
- the column index
- Returns:
- converter context
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 indexcolumn
- the column index
- Returns:
- editor context
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 indexcolumn
- the column index
- Returns:
- type
addRows
public void addRows(Vector[] rowDatas)