Class AbstractColumnModel
java.lang.Object
de.hybris.platform.cockpit.model.listview.impl.AbstractColumnModel
- All Implemented Interfaces:
ColumnModel,MutableColumnModel
- Direct Known Subclasses:
DefaultColumnModel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumnModelListener(ColumnModelListener listener) Registerslistenerwith this column model.protected voidprotected voidfireColumnMoved(int fromIndex, int toIndex) protected voidfireColumnSelectionChanged(List colIndexes) protected voidprotected voidfireColumnVisibilityChanged(Integer colIndex) protected voidfireSortChanged(int columnIndex, boolean ascending) voidremoveColumnModelListener(ColumnModelListener listener) Unregisterslistenerwith this column model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.model.listview.ColumnModel
findColumn, getCellEditor, getCellRenderer, getColumn, getColumns, getColumnWidth, getColumnWidth, getHiddenColumns, getHiddenLocalizedColumns, getLocalizedColumn, getMenuPopupBuilder, getNewInlineItemRenderer, getPropertyDescriptor, getRootColumnGroup, getSelectedIndex, getSelectedIndexes, getSortedByColumnIndex, getValueAt, getVisibleColumn, getVisibleColumns, getVisibleLocalizedColumns, isColumnLocalized, isColumnSelected, isSortAscendingMethods inherited from interface de.hybris.platform.cockpit.model.listview.MutableColumnModel
hideColumn, moveColumn, setSelectedIndex, setSelectedIndexDirectly, setSelectedIndexes, setSelectedIndexesDirectly, setSortAscending, setSortedColumnIndex, setValueAt, setVisibleColumns, showColumn, updateDynamicColumns
-
Field Details
-
listeners
-
-
Constructor Details
-
AbstractColumnModel
public AbstractColumnModel()
-
-
Method Details
-
addColumnModelListener
Description copied from interface:ColumnModelRegisterslistenerwith this column model.- Specified by:
addColumnModelListenerin interfaceColumnModel- Parameters:
listener- theColumnModelListenerto register
-
removeColumnModelListener
Description copied from interface:ColumnModelUnregisterslistenerwith this column model.- Specified by:
removeColumnModelListenerin interfaceColumnModel- Parameters:
listener- theColumnModelListenerto unregister
-
fireChanged
protected void fireChanged() -
fireColumnMoved
protected void fireColumnMoved(int fromIndex, int toIndex) -
fireColumnVisibilityChanged
protected void fireColumnVisibilityChanged() -
fireColumnVisibilityChanged
-
fireColumnSelectionChanged
-
fireSortChanged
protected void fireSortChanged(int columnIndex, boolean ascending)
-