Foodolini.Activities.Ingredients.IngredientSelector Class Reference

Collaboration diagram for Foodolini.Activities.Ingredients.IngredientSelector:
Collaboration graph

List of all members.

Public Member Functions

 IngredientSelector ()
 IngredientSelector (Ingredient defaultSelection)
 Instantiates an IngredientSelector with a default selected Ingredient, without the quantity selector.
 IngredientSelector (bool showQuantity)
 IngredientSelector (Ingredient defaultSelection, bool showQuantity)

Protected Member Functions

virtual void Build ()

Properties

Ingredient SelectedIngredient [get]
double Quantity [get, set]

Private Attributes

Foodolini.Activities.Ingredients.IngredientsActivity ingredientsactivity
Gtk.HBox hbox
Gtk.Label lblQuantity
Gtk.SpinButton sbQuantity
Gtk.Button buttonCancel
Gtk.Button buttonOk

Detailed Description

Definition at line 14 of file Foodolini.Activities.Ingredients.IngredientSelector.cs.


Constructor & Destructor Documentation

Foodolini.Activities.Ingredients.IngredientSelector.IngredientSelector (  ) 

Definition at line 20 of file IngredientSelector.cs.

Foodolini.Activities.Ingredients.IngredientSelector.IngredientSelector ( Ingredient  defaultSelection  ) 

Instantiates an IngredientSelector with a default selected Ingredient, without the quantity selector.

Parameters:
defaultSelection A Ingredient

Definition at line 29 of file IngredientSelector.cs.

Foodolini.Activities.Ingredients.IngredientSelector.IngredientSelector ( bool  showQuantity  ) 

Definition at line 31 of file IngredientSelector.cs.

Foodolini.Activities.Ingredients.IngredientSelector.IngredientSelector ( Ingredient  defaultSelection,
bool  showQuantity 
)

Definition at line 33 of file IngredientSelector.cs.


Member Function Documentation

virtual void Foodolini.Activities.Ingredients.IngredientSelector.Build (  )  [protected, virtual]

Member Data Documentation


Property Documentation

double Foodolini.Activities.Ingredients.IngredientSelector.Quantity [get, set]

Definition at line 15 of file IngredientSelector.cs.

Ingredient Foodolini.Activities.Ingredients.IngredientSelector.SelectedIngredient [get]

Definition at line 11 of file IngredientSelector.cs.


The documentation for this class was generated from the following files:

Foodolini 1.0.0 Documentation, generated with DoxyGen.