com.jidesoft.grid
Class DefaultGroupableTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
com.jidesoft.grid.DefaultGroupableTableModel
- All Implemented Interfaces:
- ContextSensitiveTableModel, GroupableTableModel, Serializable, TableModel
public class DefaultGroupableTableModel
- extends DefaultTableModel
- implements ContextSensitiveTableModel, GroupableTableModel
- 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 |
DefaultGroupableTableModel
public DefaultGroupableTableModel()
DefaultGroupableTableModel
public DefaultGroupableTableModel(int rowCount,
int columnCount)
DefaultGroupableTableModel
public DefaultGroupableTableModel(Vector<?> columnNames,
int rowCount)
DefaultGroupableTableModel
public DefaultGroupableTableModel(Object[] columnNames,
int rowCount)
DefaultGroupableTableModel
public DefaultGroupableTableModel(Vector<?> data,
Vector<?> columnNames)
DefaultGroupableTableModel
public DefaultGroupableTableModel(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
getGrouperContext
public GrouperContext getGrouperContext(int columnIndex)
- Specified by:
getGrouperContext
in interface GroupableTableModel