Interface MutableTableModel
-
- All Superinterfaces:
TableModel
- All Known Implementing Classes:
ContextAreaTableModel,DefaultTableModel,SectionTableModel,TaskTableModel
public interface MutableTableModel extends TableModel
The Interface MutableTableModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableColumnModelgetColumnComponentModel()Returns this table model's column model.MutableListModelgetListComponentModel()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(java.util.List<java.lang.Integer> colIndexes, java.util.List<java.lang.Integer> rowIndexes)Sets the selected cells.voidsetValueAt(int colIndex, int rowIndex, java.lang.Object data)Sets the value at.voidupdateDynamicColumns()Update dynamic columns.-
Methods inherited from interface de.hybris.platform.cockpit.model.listview.TableModel
addTableModelListener, fireEvent, getCellEditor, getCellRenderer, getNewInlineItemRenderer, getValueAt, isCellEditable, isCellSelectable, isCellSelected, removeTableModelListener
-
-
-
-
Method Detail
-
setValueAt
void setValueAt(int colIndex, int rowIndex, java.lang.Object data) throws ValueHandlerExceptionSets 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
void setSelectedCells(java.util.List<java.lang.Integer> colIndexes, java.util.List<java.lang.Integer> rowIndexes)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:
ListComponentModel
-
setListComponentModel
void setListComponentModel(MutableListModel listModel)
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:
ColumnModel
-
setColumnComponentModel
void setColumnComponentModel(MutableColumnModel columnModel)
Sets the column component model.- Parameters:
columnModel- the new column component model
-
updateDynamicColumns
void updateDynamicColumns()
Update dynamic columns.
-
-