public class ContextAreaListViewListener extends DefaultBrowserListViewListener
| Modifier and Type | Field and Description |
|---|---|
protected UIListView |
view |
browsermodel| Constructor and Description |
|---|
ContextAreaListViewListener(BrowserModel browser,
MutableTableModel model,
UIListView view) |
| 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.
|
protected PropertyService |
getPropertyService() |
protected TypeService |
getTypeService() |
protected UIConfigurationService |
getUiConfigurationService() |
boolean |
isCreatingItem() |
protected boolean |
isCreatingLine(int rowIndex) |
void |
move(int fromIndex,
int toIndex)
Called whenever a row is to be moved.
|
void |
remove(Collection<Integer> indexes)
Called whenever rows are to be deleted.
|
void |
setCreatingItem(boolean creating) |
void |
setEditIndexes(List<Integer> editableColumns,
int rowIndex) |
changeSelection, changeSelection, drop, markAllAsSelected, multiEdit, openInContextEditor, requestPaginghideColumn, moveColumn, showColumn, sortColumnprotected final UIListView view
public ContextAreaListViewListener(BrowserModel browser, MutableTableModel model, UIListView view)
protected boolean isCreatingLine(int rowIndex)
public void changeCellValue(int columnIndex,
int rowIndex,
Object data)
ListViewListenerchangeCellValue in interface ListViewListenerchangeCellValue in class AbstractListViewListenercolumnIndex - 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 setCreatingItem(boolean creating)
public boolean isCreatingItem()
public void activate(List<Integer> indexes)
ListViewListeneractivate in interface ListViewListeneractivate in class AbstractListViewListenerindexes - indexes of the items to activateprotected UIConfigurationService getUiConfigurationService()
protected PropertyService getPropertyService()
protected TypeService getTypeService()
public void move(int fromIndex,
int toIndex)
ListViewListenermove in interface ListViewListenermove in class DefaultBrowserListViewListenerfromIndex - current zero based row position indextoIndex - new zero based row position indexpublic void remove(Collection<Integer> indexes)
ListViewListenerremove in interface ListViewListenerremove in class DefaultBrowserListViewListenerindexes - zero based position indexes of the rows to deleteCopyright © 2017 SAP SE. All Rights Reserved.