public interface ListComponentModelListener
ListComponentModelListener is notified whenever the ListComponentModel with which it is registered has
changed.| 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.
|
void activationChanged(Collection<TypedObject> items)
items - the items which were activatedvoid selectionChanged(List<Integer> indexes)
indexes - indexes of the currently selected itemsvoid itemMoved(int fromIndex,
int toIndex)
fromIndex - the item's previous zero based position indextoIndex - the item's new zero based position indexvoid itemsRemoved(Collection<? extends Object> items)
items - the items which were removedvoid itemsChanged()
void changed()
ListComponentModelListener 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.Copyright © 2017 SAP SE. All Rights Reserved.