public class DefaultBrowserListViewListener extends AbstractListViewListener
| Modifier and Type | Field and Description |
|---|---|
protected AdvancedBrowserModel |
browser |
model| Constructor and Description |
|---|
DefaultBrowserListViewListener(BrowserModel browser,
MutableTableModel model) |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
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) |
activate, changeCellValue, hideColumn, moveColumn, showColumn, sortColumnprotected final AdvancedBrowserModel browser
public DefaultBrowserListViewListener(BrowserModel browser, MutableTableModel model)
public void changeSelection(int columnIndex,
int rowIndex)
ListViewListenerchangeSelection in interface ListViewListenerchangeSelection in class AbstractListViewListenercolumnIndex - zero based column position indexrowIndex - zero based row position indexpublic void changeSelection(List<Integer> columnIndexes, List<Integer> rowIndexes)
ListViewListenerchangeSelection in interface ListViewListenerchangeSelection in class AbstractListViewListenercolumnIndexes - 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)
ListViewListenerfromIndex - current zero based row position indextoIndex - new zero based row position indexpublic void remove(Collection<Integer> indexes)
ListViewListenerindexes - zero based position indexes of the rows to deletepublic void requestPaging(int offset)
public void openInContextEditor(int rowIndex,
UIEditor editor,
PropertyDescriptor propertyDescriptor)
public void markAllAsSelected(List<Integer> colIndexes, List<Integer> rowIndexes)
ListViewListenerpublic void drop(int fromIndex,
int toIndex,
DragAndDropContext ddContext)
ListViewListenerCopyright © 2017 SAP SE. All Rights Reserved.