public class AdvancedSearchPage.DefaultSelectorListViewListener extends Object implements ListViewListener
| Constructor and Description |
|---|
DefaultSelectorListViewListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(List<Integer> indexes)
Called whenever items are to be activated
|
void |
changeCellValue(int columnIndex,
int rowIndex,
Object data)
Called whenever a cell's value is to be changed.
|
void |
changeSelection(int columnIndex,
int rowIndex)
Called whenever a cell is to be selected.
|
void |
changeSelection(List<Integer> columnIndexes,
List<Integer> rowIndexes)
Called whenever multiple cells are to be selected.
|
void |
drop(int fromIndex,
int toIndex,
DragAndDropContext ddContext)
Called whenever rows are to be dropped.
|
void |
hideColumn(int colIndex) |
void |
markAllAsSelected(List<Integer> columnIndexes,
List<Integer> rowIndexes)
Called whenever user marks all cells as selected
|
void |
move(int fromIndex,
int toIndex)
Called whenever a row is to be moved.
|
void |
moveColumn(int fromIndex,
int toIndex) |
void |
multiEdit(int colIndex,
List<Integer> rowIndexes,
Object data) |
void |
openInContextEditor(int rowIndex,
UIEditor editor,
PropertyDescriptor propertyDescriptor) |
void |
remove(Collection<Integer> indexes)
Called whenever rows are to be deleted.
|
void |
requestPaging(int offset) |
void |
showColumn(ColumnDescriptor columnDescr,
Integer colIndex) |
void |
sortColumn(int columnIndex,
boolean asc)
Called whenever the elements are to be sorted.
|
public void activate(List<Integer> indexes)
ListViewListeneractivate in interface ListViewListenerindexes - indexes of the items to activatepublic void changeCellValue(int columnIndex,
int rowIndex,
Object data)
ListViewListenerchangeCellValue in interface ListViewListenercolumnIndex - 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 valuepublic void changeSelection(int columnIndex,
int rowIndex)
ListViewListenerchangeSelection in interface ListViewListenercolumnIndex - zero based column position indexrowIndex - zero based row position indexpublic void changeSelection(List<Integer> columnIndexes, List<Integer> rowIndexes)
ListViewListenerchangeSelection in interface ListViewListenercolumnIndexes - zero based column position indexes of the columns to be selectedrowIndexes - zero based row position indexes of the rows to be selectedpublic void move(int fromIndex,
int toIndex)
ListViewListenermove in interface ListViewListenerfromIndex - current zero based row position indextoIndex - new zero based row position indexpublic void remove(Collection<Integer> indexes)
ListViewListenerremove in interface ListViewListenerindexes - zero based position indexes of the rows to deletepublic void sortColumn(int columnIndex,
boolean asc)
ListViewListenersortColumn in interface ListViewListenercolumnIndex - index of the column by which the elements should be sortedasc - the sort order to be used, true = ascending; false = descendingpublic void hideColumn(int colIndex)
hideColumn in interface ListViewListenerpublic void moveColumn(int fromIndex,
int toIndex)
moveColumn in interface ListViewListenerpublic void showColumn(ColumnDescriptor columnDescr, Integer colIndex)
showColumn in interface ListViewListenerpublic void requestPaging(int offset)
requestPaging in interface ListViewListenerpublic void openInContextEditor(int rowIndex,
UIEditor editor,
PropertyDescriptor propertyDescriptor)
openInContextEditor in interface ListViewListenerpublic void markAllAsSelected(List<Integer> columnIndexes, List<Integer> rowIndexes)
ListViewListenermarkAllAsSelected in interface ListViewListenerpublic void multiEdit(int colIndex,
List<Integer> rowIndexes,
Object data)
multiEdit in interface ListViewListenerpublic void drop(int fromIndex,
int toIndex,
DragAndDropContext ddContext)
ListViewListenerdrop in interface ListViewListenerCopyright © 2017 SAP SE. All Rights Reserved.