public interface CollectionListener<_Source> extends BaseEventListener<_Source>
ItemCollection.addCollectionListener(CollectionListener)
, ItemCollection.addGlobalCollectionListener(CollectionListener)
,
(CollectionListener)
, or MultiItemCollection.addGlobalCollectionListener(CollectionListener)
to add such a listener.Modifier and Type | Method and Description |
---|---|
void |
collectionCatalogAdded(CollectionCatalogEventObject<_Source> event)
Callback method that gets called when a catalog was added to the collection.
|
void |
collectionCatalogRemoved(CollectionCatalogEventObject<_Source> event)
Callback method that gets called when a catalog was removed from the collection.
|
void |
collectionContentChanged(CollectionContentChangedEventObject<_Source> event)
Callback method that gets called when the contents of the collection has changed completely.
|
void |
collectionItemAdded(CollectionItemAddedEventObject<_Source> event)
Callback method that gets called when an item was added to the collection.
|
void |
collectionItemDeleted(CollectionItemDeletedEventObject<_Source> event)
Callback method that gets called when an item of the collection was deleted.
|
void |
collectionItemUpdated(CollectionItemUpdatedEventObject<_Source> event)
Callback method that gets called when an item of the collection was updated.
|
void |
collectionSortingChanged(CollectionSortingChangedEventObject<_Source> event)
Callback method that gets called when the collection has changed it's sorting state.
|
void collectionItemAdded(CollectionItemAddedEventObject<_Source> event)
event
- The information about the collection and the item.void collectionItemUpdated(CollectionItemUpdatedEventObject<_Source> event)
event
- The information about the collection and the item.void collectionItemDeleted(CollectionItemDeletedEventObject<_Source> event)
event
- The information about the collection and the item.void collectionContentChanged(CollectionContentChangedEventObject<_Source> event)
event
- The information about the collection.void collectionSortingChanged(CollectionSortingChangedEventObject<_Source> event)
event
- The information about the collection and teh sorting state.void collectionCatalogAdded(CollectionCatalogEventObject<_Source> event)
event
- The information about the collection and the catalog being added.void collectionCatalogRemoved(CollectionCatalogEventObject<_Source> event)
event
- The information about the collection and the catalog being removed.www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.