data.events
Class CatalogChangeEvent<T extends CatalogItem>
java.lang.Object
java.util.EventObject
data.events.CatalogChangeEvent<T>
- All Implemented Interfaces:
- Serializable
public class CatalogChangeEvent<T extends CatalogItem>
- extends EventObject
An event indicating a change in a Catalog's contents.
- Since:
- v2.0
- Author:
- Steffen Zschaler
- See Also:
ListenableCatalog
,
Serialized Form
CatalogChangeEvent
public CatalogChangeEvent(ListenableCatalog<T> lcSource,
T ciAffected,
DataBasket db)
- Create a new CatalogChangeEvent.
- Parameters:
lcSource
- the Catalog that triggers the event.ciAffected
- the affected CatalogItem.db
- the DataBasket that was used to perform the operation.
getAffectedItem
public T getAffectedItem()
- Get the item that is affected by the change.
- Override:
- Never.
getBasket
public DataBasket getBasket()
- Get the DataBasket that was used to perform the operation.
- Override:
- Never.