Class AbstractColumnModel
- java.lang.Object
-
- de.hybris.platform.cockpit.model.listview.impl.AbstractColumnModel
-
- All Implemented Interfaces:
ColumnModel,MutableColumnModel
- Direct Known Subclasses:
DefaultColumnModel
public abstract class AbstractColumnModel extends java.lang.Object implements MutableColumnModel
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ColumnModelListener>listeners
-
Constructor Summary
Constructors Constructor Description AbstractColumnModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumnModelListener(ColumnModelListener listener)Registerslistenerwith this column model.protected voidfireChanged()protected voidfireColumnMoved(int fromIndex, int toIndex)protected voidfireColumnSelectionChanged(java.util.List colIndexes)protected voidfireColumnVisibilityChanged()protected voidfireColumnVisibilityChanged(java.lang.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, wait
-
Methods 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, isSortAscending
-
Methods inherited from interface de.hybris.platform.cockpit.model.listview.MutableColumnModel
hideColumn, moveColumn, setSelectedIndex, setSelectedIndexDirectly, setSelectedIndexes, setSelectedIndexesDirectly, setSortAscending, setSortedColumnIndex, setValueAt, setVisibleColumns, showColumn, updateDynamicColumns
-
-
-
-
Field Detail
-
listeners
protected java.util.List<ColumnModelListener> listeners
-
-
Method Detail
-
addColumnModelListener
public void addColumnModelListener(ColumnModelListener listener)
Description copied from interface:ColumnModelRegisterslistenerwith this column model.- Specified by:
addColumnModelListenerin interfaceColumnModel- Parameters:
listener- theColumnModelListenerto register
-
removeColumnModelListener
public void removeColumnModelListener(ColumnModelListener listener)
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
protected void fireColumnVisibilityChanged(java.lang.Integer colIndex)
-
fireColumnSelectionChanged
protected void fireColumnSelectionChanged(java.util.List colIndexes)
-
fireSortChanged
protected void fireSortChanged(int columnIndex, boolean ascending)
-
-