Class ContextAreaListViewListener
java.lang.Object
de.hybris.platform.cockpit.model.listview.impl.AbstractListViewListener
de.hybris.platform.cockpit.model.listview.impl.DefaultBrowserListViewListener
de.hybris.platform.cockpit.components.listview.ContextAreaListViewListener
- All Implemented Interfaces:
ListViewListener
-
Field Summary
FieldsFields inherited from class de.hybris.platform.cockpit.model.listview.impl.DefaultBrowserListViewListener
browserFields inherited from class de.hybris.platform.cockpit.model.listview.impl.AbstractListViewListener
model -
Constructor Summary
ConstructorsConstructorDescriptionContextAreaListViewListener(BrowserModel browser, MutableTableModel model, UIListView view) -
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.protected PropertyServiceprotected TypeServiceprotected UIConfigurationServicebooleanprotected booleanisCreatingLine(int rowIndex) voidmove(int fromIndex, int toIndex) Called whenever a row is to be moved.voidremove(Collection<Integer> indexes) Called whenever rows are to be deleted.voidsetCreatingItem(boolean creating) voidsetEditIndexes(List<Integer> editableColumns, int rowIndex) Methods inherited from class de.hybris.platform.cockpit.model.listview.impl.DefaultBrowserListViewListener
changeSelection, changeSelection, drop, markAllAsSelected, multiEdit, openInContextEditor, requestPagingMethods inherited from class de.hybris.platform.cockpit.model.listview.impl.AbstractListViewListener
hideColumn, moveColumn, showColumn, sortColumn
-
Field Details
-
view
-
-
Constructor Details
-
ContextAreaListViewListener
-
-
Method Details
-
isCreatingLine
protected boolean isCreatingLine(int rowIndex) -
changeCellValue
Description copied from interface:ListViewListenerCalled whenever a cell's value is to be changed.- Specified by:
changeCellValuein interfaceListViewListener- Overrides:
changeCellValuein classAbstractListViewListener- 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
-
setCreatingItem
public void setCreatingItem(boolean creating) -
isCreatingItem
public boolean isCreatingItem() -
setEditIndexes
-
activate
Description copied from interface:ListViewListenerCalled whenever items are to be activated- Specified by:
activatein interfaceListViewListener- Overrides:
activatein classAbstractListViewListener- Parameters:
indexes- indexes of the items to activate
-
getUiConfigurationService
-
getPropertyService
-
getTypeService
-
move
public void move(int fromIndex, int toIndex) Description copied from interface:ListViewListenerCalled whenever a row is to be moved.- Specified by:
movein interfaceListViewListener- Overrides:
movein classDefaultBrowserListViewListener- Parameters:
fromIndex- current zero based row position indextoIndex- new zero based row position index
-
remove
Description copied from interface:ListViewListenerCalled whenever rows are to be deleted.- Specified by:
removein interfaceListViewListener- Overrides:
removein classDefaultBrowserListViewListener- Parameters:
indexes- zero based position indexes of the rows to delete
-