data.events
Class CatalogChangeEvent
java.lang.Object
java.util.EventObject
data.events.CatalogChangeEvent
- All Implemented Interfaces:
- Serializable
- public class CatalogChangeEvent
- 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 lcSource,
CatalogItem 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 CatalogItem 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.