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.
The index ranges reported are both indices inclusive, matching the standard
table-model fireTableRowsInserted/Updated/Deleted contract.
-
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 index, inclusivelastIndex- the last index, inclusive
-
updated
void updated(int firstIndex, int lastIndex) Called when included items are updated- Parameters:
firstIndex- the first index, inclusivelastIndex- the last index, inclusive
-
deleted
void deleted(int firstIndex, int lastIndex) Called when included items are deleted- Parameters:
firstIndex- the first index, inclusivelastIndex- the last index, inclusive
-
changed
void changed()Called when all items may have changed
-