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 void
addColumnModelListener(ColumnModelListener listener)
Registerslistener
with this column model.protected void
fireChanged()
protected void
fireColumnMoved(int fromIndex, int toIndex)
protected void
fireColumnSelectionChanged(java.util.List colIndexes)
protected void
fireColumnVisibilityChanged()
protected void
fireColumnVisibilityChanged(java.lang.Integer colIndex)
protected void
fireSortChanged(int columnIndex, boolean ascending)
void
removeColumnModelListener(ColumnModelListener listener)
Unregisterslistener
with 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:ColumnModel
Registerslistener
with this column model.- Specified by:
addColumnModelListener
in interfaceColumnModel
- Parameters:
listener
- theColumnModelListener
to register
-
removeColumnModelListener
public void removeColumnModelListener(ColumnModelListener listener)
Description copied from interface:ColumnModel
Unregisterslistener
with this column model.- Specified by:
removeColumnModelListener
in interfaceColumnModel
- Parameters:
listener
- theColumnModelListener
to 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)
-
-