SalesPoint v3.3 API

data
Interface ListenableCatalog<T extends CatalogItem>

All Superinterfaces:
Catalog<T>, CatalogItem, Comparable<Object>, DataBasketEntryDestination, DataBasketEntrySource, Nameable, Serializable
All Known Implementing Classes:
AbstractCurrency, CatalogFilter, CatalogImpl, CurrencyFilter, CurrencyImpl, EUROCurrencyImpl

public interface ListenableCatalog<T extends CatalogItem>
extends Catalog<T>

A Catalog that fires events to inform about changes to its contents.

Since:
v2.0
Author:
Steffen Zschaler

Field Summary
 
Fields inherited from interface data.CatalogItem
VALUE_PROPERTY
 
Fields inherited from interface data.Nameable
NAME_PROPERTY
 
Method Summary
 void addCatalogChangeListener(CatalogChangeListener ccl)
          Add a listener that will be informed about changes to the Catalog's contents.
 void removeCatalogChangeListener(CatalogChangeListener ccl)
          Remove a listener that was informed about changes to the Catalog's contents.
 
Methods inherited from interface data.Catalog
add, contains, get, iterator, keySet, remove, remove, size
 
Methods inherited from interface data.CatalogItem
addValueListener, getCatalog, getValue, removeValueListener
 
Methods inherited from interface data.Nameable
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addCatalogChangeListener

void addCatalogChangeListener(CatalogChangeListener ccl)
Add a listener that will be informed about changes to the Catalog's contents.

Parameters:
ccl - the listener to be added.
Override:
Always

removeCatalogChangeListener

void removeCatalogChangeListener(CatalogChangeListener ccl)
Remove a listener that was informed about changes to the Catalog's contents.

Parameters:
ccl - the listener to be removed.
Override:
Always

SalesPoint v3.3 API