public abstract class AbstractListViewListener extends Object implements ListViewListener
| Modifier and Type | Field and Description |
|---|---|
protected MutableTableModel |
model |
| Constructor and Description |
|---|
AbstractListViewListener(MutableTableModel model) |
| 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 |
hideColumn(int colIndex) |
void |
moveColumn(int fromIndex,
int toIndex) |
void |
showColumn(ColumnDescriptor columnDescr,
Integer colIndex) |
void |
sortColumn(int columnIndex,
boolean asc)
Called whenever the elements are to be sorted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrop, markAllAsSelected, move, multiEdit, openInContextEditor, remove, requestPagingprotected final MutableTableModel model
public AbstractListViewListener(MutableTableModel model)
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 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 ListViewListenerCopyright © 2017 SAP SE. All Rights Reserved.