Class AbstractListViewListener
java.lang.Object
de.hybris.platform.cockpit.model.listview.impl.AbstractListViewListener
- All Implemented Interfaces:
ListViewListener
- Direct Known Subclasses:
DefaultBrowserListViewListener,DefaultBrowserSectionListViewListener,DefaultListViewListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled whenever items are to be activatedvoidchangeCellValue(int columnIndex, int rowIndex, Object data) Called whenever a cell's value is to be changed.voidchangeSelection(int columnIndex, int rowIndex) Called whenever a cell is to be selected.voidchangeSelection(List<Integer> columnIndexes, List<Integer> rowIndexes) Called whenever multiple cells are to be selected.voidhideColumn(int colIndex) voidmoveColumn(int fromIndex, int toIndex) voidshowColumn(ColumnDescriptor columnDescr, Integer colIndex) voidsortColumn(int columnIndex, boolean asc) Called whenever the elements are to be sorted.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.ListViewListener
drop, markAllAsSelected, move, multiEdit, openInContextEditor, remove, requestPaging
-
Field Details
-
model
-
-
Constructor Details
-
AbstractListViewListener
-
-
Method Details
-
activate
Description copied from interface:ListViewListenerCalled whenever items are to be activated- Specified by:
activatein interfaceListViewListener- Parameters:
indexes- indexes of the items to activate
-
changeCellValue
Description copied from interface:ListViewListenerCalled whenever a cell's value is to be changed.- Specified by:
changeCellValuein interfaceListViewListener- Parameters:
columnIndex- zero based column position index of the cell that is to be changedrowIndex- zero based row position index of the cell to be changeddata- the new value
-
changeSelection
public void changeSelection(int columnIndex, int rowIndex) Description copied from interface:ListViewListenerCalled whenever a cell is to be selected.- Specified by:
changeSelectionin interfaceListViewListener- Parameters:
columnIndex- zero based column position indexrowIndex- zero based row position index
-
changeSelection
Description copied from interface:ListViewListenerCalled whenever multiple cells are to be selected.- Specified by:
changeSelectionin interfaceListViewListener- Parameters:
columnIndexes- zero based column position indexes of the columns to be selectedrowIndexes- zero based row position indexes of the rows to be selected
-
sortColumn
public void sortColumn(int columnIndex, boolean asc) Description copied from interface:ListViewListenerCalled whenever the elements are to be sorted.- Specified by:
sortColumnin interfaceListViewListener- Parameters:
columnIndex- index of the column by which the elements should be sortedasc- the sort order to be used,true= ascending;false= descending
-
hideColumn
public void hideColumn(int colIndex) - Specified by:
hideColumnin interfaceListViewListener
-
moveColumn
public void moveColumn(int fromIndex, int toIndex) - Specified by:
moveColumnin interfaceListViewListener
-
showColumn
- Specified by:
showColumnin interfaceListViewListener
-