public interface ListViewListener
ListViewListener is notified whenever the UIListView with which it is registered has changed.| 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> colIndexes,
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.
|
void move(int fromIndex,
int toIndex)
fromIndex - current zero based row position indextoIndex - new zero based row position indexvoid remove(Collection<Integer> indexes)
indexes - zero based position indexes of the rows to deletevoid activate(List<Integer> indexes)
indexes - indexes of the items to activatevoid changeSelection(int columnIndex,
int rowIndex)
columnIndex - zero based column position indexrowIndex - zero based row position indexvoid changeSelection(List<Integer> columnIndexes, List<Integer> rowIndexes)
columnIndexes - zero based column position indexes of the columns to be selectedrowIndexes - zero based row position indexes of the rows to be selectedvoid markAllAsSelected(List<Integer> colIndexes, List<Integer> rowIndexes)
void changeCellValue(int columnIndex,
int rowIndex,
Object data)
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 valuevoid sortColumn(int columnIndex,
boolean asc)
columnIndex - index of the column by which the elements should be sortedasc - the sort order to be used, true = ascending; false = descendingvoid moveColumn(int fromIndex,
int toIndex)
void hideColumn(int colIndex)
void showColumn(ColumnDescriptor columnDescr, Integer colIndex)
void requestPaging(int offset)
void openInContextEditor(int rowIndex,
UIEditor editor,
PropertyDescriptor propertyDescriptor)
void drop(int fromIndex,
int toIndex,
DragAndDropContext ddContext)
fromIndex - toIndex - ddContext - Copyright © 2017 SAP SE. All Rights Reserved.