Interface MutableTableModel
- All Superinterfaces:
TableModel
- All Known Implementing Classes:
ContextAreaTableModel,DefaultTableModel,SectionTableModel,TaskTableModel
The Interface MutableTableModel.
-
Method Summary
Modifier and TypeMethodDescriptionReturns this table model's column model.Returns this table model's list model.voidsetColumnComponentModel(MutableColumnModel columnModel) Sets the column component model.voidsetListComponentModel(MutableListModel listModel) Sets the list component model.voidsetSelectedCell(int colIndex, int rowIndex) Sets the selected cell.voidsetSelectedCells(List<Integer> colIndexes, List<Integer> rowIndexes) Sets the selected cells.voidsetValueAt(int colIndex, int rowIndex, Object data) Sets the value at.voidUpdate dynamic columns.Methods inherited from interface de.hybris.platform.cockpit.model.listview.TableModel
addTableModelListener, fireEvent, getCellEditor, getCellRenderer, getNewInlineItemRenderer, getValueAt, isCellEditable, isCellSelectable, isCellSelected, removeTableModelListener
-
Method Details
-
setValueAt
Sets the value at.- Parameters:
colIndex- the col indexrowIndex- the row indexdata- the data- Throws:
ValueHandlerException- the value handler exception
-
setSelectedCell
void setSelectedCell(int colIndex, int rowIndex) Sets the selected cell.- Parameters:
colIndex- the col indexrowIndex- the row index
-
setSelectedCells
Sets the selected cells.- Parameters:
colIndexes- the col indexesrowIndexes- the row indexes
-
getListComponentModel
MutableListModel getListComponentModel()Description copied from interface:TableModelReturns this table model's list model.- Specified by:
getListComponentModelin interfaceTableModel- Returns:
- the list model of this table model
- See Also:
-
setListComponentModel
Sets the list component model.- Parameters:
listModel- the new list component model
-
getColumnComponentModel
MutableColumnModel getColumnComponentModel()Description copied from interface:TableModelReturns this table model's column model.- Specified by:
getColumnComponentModelin interfaceTableModel- Returns:
- the column model of this table model
- See Also:
-
setColumnComponentModel
Sets the column component model.- Parameters:
columnModel- the new column component model
-
updateDynamicColumns
void updateDynamicColumns()Update dynamic columns.
-