Module is.codion.common.model
Package is.codion.common.model.filter
Interface FilterModel.IncludedItems.ItemsListener
- Enclosing interface:
FilterModel.IncludedItems<T>
public static interface FilterModel.IncludedItems.ItemsListener
Provides a way to respond to changes to the included items
-
Method Summary
Modifier and TypeMethodDescriptionvoidchanged()Called when all items may have changedvoiddeleted(int firstIndex, int lastIndex) Called when included items are deletedvoidinserted(int firstIndex, int lastIndex) Called when included items are insertedvoidupdated(int firstIndex, int lastIndex) Called when included items are updated
-
Method Details
-
inserted
void inserted(int firstIndex, int lastIndex) Called when included items are inserted- Parameters:
firstIndex- the first indexlastIndex- the last index
-
updated
void updated(int firstIndex, int lastIndex) Called when included items are updated- Parameters:
firstIndex- the first indexlastIndex- the last index
-
deleted
void deleted(int firstIndex, int lastIndex) Called when included items are deleted- Parameters:
firstIndex- the first indexlastIndex- the last index
-
changed
void changed()Called when all items may have changed
-