Interface MutableColumnModel
-
- All Superinterfaces:
ColumnModel
- All Known Implementing Classes:
AbstractColumnModel,DefaultColumnModel
public interface MutableColumnModel extends ColumnModel
The Interface MutableColumnModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhideColumn(int colIndex)Hide column.booleanmoveColumn(int fromIndex, int toIndex)Move column.voidsetSelectedIndex(int index)Sets the selected index.booleansetSelectedIndexDirectly(int index)Sets the selected index directly.voidsetSelectedIndexes(java.util.List<java.lang.Integer> selectedIndexes)Sets the selected indexes.booleansetSelectedIndexesDirectly(java.util.List<java.lang.Integer> selectedIndexes)Sets the selected indexes directly.voidsetSortAscending(boolean sortAsc)Sets the sort ascending.voidsetSortedColumnIndex(int colIndex, boolean ascending)Sets the sorted column index.voidsetValueAt(int colIndex, TypedObject item, java.lang.Object value)Sets the value at.voidsetVisibleColumns(java.util.List<ColumnDescriptor> visCols, boolean force)Sets the visible columns.booleanshowColumn(ColumnDescriptor colDescr, java.lang.Integer colIndex)Show column.voidupdateDynamicColumns(ListModel listModel)Update dynamic columns.-
Methods inherited from interface de.hybris.platform.cockpit.model.listview.ColumnModel
addColumnModelListener, findColumn, getCellEditor, getCellRenderer, getColumn, getColumns, getColumnWidth, getColumnWidth, getHiddenColumns, getHiddenLocalizedColumns, getLocalizedColumn, getMenuPopupBuilder, getNewInlineItemRenderer, getPropertyDescriptor, getRootColumnGroup, getSelectedIndex, getSelectedIndexes, getSortedByColumnIndex, getValueAt, getVisibleColumn, getVisibleColumns, getVisibleLocalizedColumns, isColumnLocalized, isColumnSelected, isSortAscending, removeColumnModelListener
-
-
-
-
Method Detail
-
showColumn
boolean showColumn(ColumnDescriptor colDescr, java.lang.Integer colIndex)
Show column.- Parameters:
colDescr- the col descrcolIndex- the col index- Returns:
- true, if successful
-
hideColumn
boolean hideColumn(int colIndex)
Hide column.- Parameters:
colIndex- the col index- Returns:
- true, if successful
-
moveColumn
boolean moveColumn(int fromIndex, int toIndex)Move column.- Parameters:
fromIndex- the from indextoIndex- the to index- Returns:
- true, if successful
-
setSelectedIndex
void setSelectedIndex(int index)
Sets the selected index.- Parameters:
index- the new selected index
-
setSelectedIndexDirectly
boolean setSelectedIndexDirectly(int index)
Sets the selected index directly.- Parameters:
index- the index- Returns:
- true, if successful
-
setSelectedIndexes
void setSelectedIndexes(java.util.List<java.lang.Integer> selectedIndexes)
Sets the selected indexes.- Parameters:
selectedIndexes- the new selected indexes
-
setSelectedIndexesDirectly
boolean setSelectedIndexesDirectly(java.util.List<java.lang.Integer> selectedIndexes)
Sets the selected indexes directly.- Parameters:
selectedIndexes- the selected indexes- Returns:
- true, if successful
-
setSortAscending
void setSortAscending(boolean sortAsc)
Sets the sort ascending.- Parameters:
sortAsc- the new sort ascending
-
setSortedColumnIndex
void setSortedColumnIndex(int colIndex, boolean ascending)Sets the sorted column index.- Parameters:
colIndex- the col indexascending- the ascending
-
setValueAt
void setValueAt(int colIndex, TypedObject item, java.lang.Object value) throws ValueHandlerExceptionSets the value at.- Parameters:
colIndex- the col indexitem- the itemvalue- the value- Throws:
ValueHandlerException- the value handler exception
-
setVisibleColumns
void setVisibleColumns(java.util.List<ColumnDescriptor> visCols, boolean force)
Sets the visible columns.- Parameters:
visCols- the vis colsforce- the force
-
updateDynamicColumns
void updateDynamicColumns(ListModel listModel)
Update dynamic columns.- Parameters:
listModel- the list model
-
-