|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.gotdns.jimula.EatHealthy.CalculateServing
CalculateServing is an object which calculates food serving depend on personal nutrient need. It is evoked by ServingPanel.
EatHealthy
A simple personal nutrient need and food serving calculator
Copyright (c) 2003
ServingPanel
Constructor Summary | |
CalculateServing(int milk_serving,
java.lang.String milk_quantity,
int vegetable_serving,
int fruit_serving,
java.lang.String meat_quantity,
float protein,
float fat,
float carb)
Constructs a new CalculateServing object and calculate food serving. |
Method Summary | |
int |
getFruitCarb()
Get fruit carbohydrate contents of actual serving |
int |
getMeatServing()
Get meat serving |
int |
getMilkCarb()
Get milk carbohydrate contents of actual serving |
int |
getMilkFat()
Get milk fat contents of actual serving |
int |
getMilkProtein()
Get milk protein |
int |
getOilServing()
Get oil serving |
int |
getStarchesServing()
Get starches serving |
int |
getVegetableCarb()
Get vegetable carbohydrate contents of actual serving |
int |
getVegetableProtein()
Get vegetable protein contents of actual serving |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CalculateServing(int milk_serving, java.lang.String milk_quantity, int vegetable_serving, int fruit_serving, java.lang.String meat_quantity, float protein, float fat, float carb)
milk_serving
- serving of milkmilk_quantity
- fat contents of milkvegetable_serving
- serving of vegetablefruit_serving
- serving of fruitmeat_quantity
- fat contents of meatprotein
- contents of proteinfat
- contents of fatcarb
- contents of carbohydrateMethod Detail |
public int getStarchesServing()
public int getMeatServing()
public int getOilServing()
public int getMilkProtein()
public int getMilkFat()
public int getMilkCarb()
public int getVegetableProtein()
public int getVegetableCarb()
public int getFruitCarb()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |