edu.jhu.oose.collegechef.controller
Class ComboBox

java.lang.Object
  extended by edu.jhu.oose.collegechef.controller.ComboBox

public class ComboBox
extends java.lang.Object

Backing bean for combo box to display ingredients Richfaces component that suggest from a list based on first few characters entered

Author:
Billy

Constructor Summary
ComboBox()
          Constructor that populates the list.
 
Method Summary
 java.util.List<java.lang.String> getIngredients()
          Getter for all the ingredients to populate the combobox
 void initializeIngredients()
          Gets all the ingredients from the database.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComboBox

public ComboBox()
Constructor that populates the list.

Method Detail

initializeIngredients

public void initializeIngredients()
Gets all the ingredients from the database.


getIngredients

public java.util.List<java.lang.String> getIngredients()
Getter for all the ingredients to populate the combobox

Returns:
List of all ingredients