Class DefaultSelectorColumnModelListener
java.lang.Object
de.hybris.platform.cockpit.model.referenceeditor.impl.DefaultSelectorColumnModelListener
- All Implemented Interfaces:
ColumnModelListener
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSelectorColumnModelListener(AbstractReferenceSelectorModel referenceSelectorModel, UIListView view) -
Method Summary
Modifier and TypeMethodDescriptionvoidchanged()Generally called when the model has changed in a way not covered by the otherColumnModelListenermethods.voidcolumnMoved(int fromIndex, int toIndex) Called when a column has been moved.voidCalled whenever a column's visibility has changed.voidcolumnVisibilityChanged(Integer colIndex) Called whenever a column's visibility has changed (and column is not shown as last column).voidselectionChanged(List<? extends Object> columnIndexes) Called whenever the column selection has changed.voidsortChanged(int columnIndex, boolean ascending) Called when the sort conditions have changed.
-
Constructor Details
-
DefaultSelectorColumnModelListener
public DefaultSelectorColumnModelListener(AbstractReferenceSelectorModel referenceSelectorModel, UIListView view)
-
-
Method Details
-
changed
public void changed()Description copied from interface:ColumnModelListenerGenerally called when the model has changed in a way not covered by the otherColumnModelListenermethods.- Specified by:
changedin interfaceColumnModelListener
-
columnMoved
public void columnMoved(int fromIndex, int toIndex) Description copied from interface:ColumnModelListenerCalled when a column has been moved.- Specified by:
columnMovedin interfaceColumnModelListener- Parameters:
fromIndex- previous zero based position index of the columntoIndex- new zero based position index of the column
-
columnVisibilityChanged
public void columnVisibilityChanged()Description copied from interface:ColumnModelListenerCalled whenever a column's visibility has changed.- Specified by:
columnVisibilityChangedin interfaceColumnModelListener
-
columnVisibilityChanged
Description copied from interface:ColumnModelListenerCalled whenever a column's visibility has changed (and column is not shown as last column).- Specified by:
columnVisibilityChangedin interfaceColumnModelListener
-
selectionChanged
Description copied from interface:ColumnModelListenerCalled whenever the column selection has changed.- Specified by:
selectionChangedin interfaceColumnModelListener- Parameters:
columnIndexes- indexes of the currently selected columns
-
sortChanged
public void sortChanged(int columnIndex, boolean ascending) Description copied from interface:ColumnModelListenerCalled when the sort conditions have changed.- Specified by:
sortChangedin interfaceColumnModelListener- Parameters:
columnIndex- zero based position index of the column by which the values are currently sortedascending- whether the sort order is set to ascending or not
-