T
- list typepublic interface ActiveListListener<T>
active lists
.
In general a listener should not change the list during its call.
Modifier and Type | Method and Description |
---|---|
void |
itemAdded(int index,
T item)
Called when an item was added.
|
void |
itemExchanged(int index,
T oldItem,
T newItem)
Called when an item was exchanged.
|
void |
itemRemoved(int index,
T item)
Called when an item was removed.
|
void itemAdded(int index, T item)
index
- where item was addeditem
- added itemvoid itemRemoved(int index, T item)
index
- index which the item had before it was removeditem
- removed item