public class DefaultMasterDetailListWidgetModel<E> extends DefaultListWidgetModel<E> implements MasterDetailListWidgetModel<E>
| Constructor and Description |
|---|
DefaultMasterDetailListWidgetModel() |
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
getExpandedItems()
Get the set of expanded elements
|
int |
getSelectedIndex()
get the selected row index
|
boolean |
setExpandedItems(Set<E> expandedItems)
Set the set of expanded elements
|
boolean |
setItems(List<E> items)
Sets the items held by this model.
|
void |
setSelectedIndex(int selectedIndex)
Set the selected row index
|
getItemsaddWidgetModelListener, getWidgetModelListeners, notifyListeners, notifyListeners, removeWidgetModelLlistenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemsaddWidgetModelListener, notifyListeners, removeWidgetModelLlistenerpublic Set<E> getExpandedItems()
MasterDetailListWidgetModelgetExpandedItems in interface MasterDetailListWidgetModel<E>public boolean setExpandedItems(Set<E> expandedItems)
MasterDetailListWidgetModelsetExpandedItems in interface MasterDetailListWidgetModel<E>expandedItems - the set of expanded elementspublic boolean setItems(List<E> items)
ListWidgetModelsetItems in interface ListWidgetModel<E>setItems in class DefaultListWidgetModel<E>items - the itemspublic int getSelectedIndex()
MasterDetailListWidgetModelgetSelectedIndex in interface MasterDetailListWidgetModel<E>public void setSelectedIndex(int selectedIndex)
MasterDetailListWidgetModelsetSelectedIndex in interface MasterDetailListWidgetModel<E>selectedIndex - the selected row indexCopyright © 2017 SAP SE. All Rights Reserved.