cafe.gui.general.productLists
Interface ImportProductChange

All Known Implementing Classes:
ImportableList

public interface ImportProductChange

Provides methods for informing implementing class of the selected import product and product group.

Author:
Markus Penttila

Method Summary
 void newGroup(ProductGroup group)
          Informs that a product group was selected.
 void newProduct(ImportProduct product)
          Informs that a product was selected.
 void newProduct(ImportProduct product, double amount)
          Informs that a product was selected and also the selected import amount.
 

Method Detail

newProduct

void newProduct(ImportProduct product)
Informs that a product was selected. Used in alert view.

Parameters:
product - the selected product

newGroup

void newGroup(ProductGroup group)
Informs that a product group was selected.

Parameters:
group - the selected group

newProduct

void newProduct(ImportProduct product,
                double amount)
Informs that a product was selected and also the selected import amount. Used in import view.

Parameters:
product - the selected product
amount - the selected amount to be imported