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 boolean
hideColumn(int colIndex)
Hide column.boolean
moveColumn(int fromIndex, int toIndex)
Move column.void
setSelectedIndex(int index)
Sets the selected index.boolean
setSelectedIndexDirectly(int index)
Sets the selected index directly.void
setSelectedIndexes(java.util.List<java.lang.Integer> selectedIndexes)
Sets the selected indexes.boolean
setSelectedIndexesDirectly(java.util.List<java.lang.Integer> selectedIndexes)
Sets the selected indexes directly.void
setSortAscending(boolean sortAsc)
Sets the sort ascending.void
setSortedColumnIndex(int colIndex, boolean ascending)
Sets the sorted column index.void
setValueAt(int colIndex, TypedObject item, java.lang.Object value)
Sets the value at.void
setVisibleColumns(java.util.List<ColumnDescriptor> visCols, boolean force)
Sets the visible columns.boolean
showColumn(ColumnDescriptor colDescr, java.lang.Integer colIndex)
Show column.void
updateDynamicColumns(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 ValueHandlerException
Sets 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
-
-