apps.basketapp.client
Interface Basket.BasketListener

All Known Implementing Classes:
BasketApp
Enclosing class:
Basket

public static interface Basket.BasketListener

The listener interface for receiving basket events. The class that is interested in processing a basket event implements this interface, and the object created with that class is registered with a component using the component's addBasketListener method. When the basket event occurs, that object's appropriate method is invoked.

See Also:
BasketEvent

Method Summary
 void itemAdded(ContentItem item)
          Item added.
 void itemDetached(ContentItem item)
          Item detached.
 

Method Detail

itemAdded

void itemAdded(ContentItem item)
Item added.

Parameters:
item - the item

itemDetached

void itemDetached(ContentItem item)
Item detached.

Parameters:
item - the item