public class AdvancedSearchPage.DefaultSelectorListComponentModelListener extends Object implements ListComponentModelListener
| Constructor and Description |
|---|
DefaultSelectorListComponentModelListener(UIListView view) |
| Modifier and Type | Method and Description |
|---|---|
void |
activationChanged(Collection<TypedObject> items)
Called whenever the activation has changed.
|
void |
changed()
Called whenever the list component model has been changed in a way not covered by the other
ListComponentModelListener methods. |
void |
itemMoved(int fromIndex,
int toIndex)
Called whenever an item has been moved.
|
void |
itemsChanged()
Called whenever the items held by this model have changed.
|
void |
itemsRemoved(Collection<? extends Object> items)
Called whenever items have been removed.
|
void |
onEvent(String eventName,
Object value)
Called when a generic event has been fired.
|
void |
selectionChanged(List<Integer> indexes)
Called whenever the selection has changed.
|
public DefaultSelectorListComponentModelListener(UIListView view)
public void activationChanged(Collection<TypedObject> items)
ListComponentModelListeneractivationChanged in interface ListComponentModelListeneritems - the items which were activatedpublic void changed()
ListComponentModelListenerListComponentModelListener methods.
Note: When this method is called it typically means that major changes have been made to the whole model, which means
that the associated view component probably need to re-render itself completely in order to visually represent the new
state.changed in interface ListComponentModelListenerpublic void itemMoved(int fromIndex,
int toIndex)
ListComponentModelListeneritemMoved in interface ListComponentModelListenerfromIndex - the item's previous zero based position indextoIndex - the item's new zero based position indexpublic void itemsChanged()
ListComponentModelListeneritemsChanged in interface ListComponentModelListenerpublic void itemsRemoved(Collection<? extends Object> items)
ListComponentModelListeneritemsRemoved in interface ListComponentModelListeneritems - the items which were removedpublic void selectionChanged(List<Integer> indexes)
ListComponentModelListenerselectionChanged in interface ListComponentModelListenerindexes - indexes of the currently selected itemspublic void onEvent(String eventName, Object value)
ListComponentModelListeneronEvent in interface ListComponentModelListenereventName - event qualifiervalue - value attached to the eventCopyright © 2017 SAP SE. All Rights Reserved.