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 MutableColumnModel
getColumnComponentModel()
Returns this table model's column model.MutableListModel
getListComponentModel()
Returns this table model's list model.void
setColumnComponentModel(MutableColumnModel columnModel)
Sets the column component model.void
setListComponentModel(MutableListModel listModel)
Sets the list component model.void
setSelectedCell(int colIndex, int rowIndex)
Sets the selected cell.void
setSelectedCells(java.util.List<java.lang.Integer> colIndexes, java.util.List<java.lang.Integer> rowIndexes)
Sets the selected cells.void
setValueAt(int colIndex, int rowIndex, java.lang.Object data)
Sets the value at.void
updateDynamicColumns()
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 ValueHandlerException
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
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:TableModel
Returns this table model's list model.- Specified by:
getListComponentModel
in 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:TableModel
Returns this table model's column model.- Specified by:
getColumnComponentModel
in 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.
-
-