Packagecom.dgrigg.view
Classpublic class ProductList
ImplementsIView

Displays a DataGrid of products, lets the user select and view a product.

See also

com.dgrigg.vo.ProductVO


Public Methods
 MethodDefined by
  
Constructor
ProductList
  
addProduct(product:ProductVO):Boolean
add a product to the displayed product list
ProductList
  
ProductList
  
handleSelectedProduct(event:Event):void
handle the event that is triggered when a user selected a row in the data grid
ProductList
Constructor detail
ProductList()constructor
public function ProductList()

Constructor

Method detail
addProduct()method
public function addProduct(product:ProductVO):Boolean

add a product to the displayed product list

Parameters
product:ProductVO — product to add to the product list

Returns
Boolean
getSelectedProduct()method 
public function getSelectedProduct():ProductVO

Returns
ProductVO
handleSelectedProduct()method 
public function handleSelectedProduct(event:Event):void

handle the event that is triggered when a user selected a row in the data grid

Parameters
event:Event