Index

A C D E F G H I M N O P R S T U 
All Classes and Interfaces|All Packages

A

addFoodItem(FoodItem) - Method in class edu.ntnu.stud.idatt1005.team3.model.Inventory
Adds a food item to the inventory.
addFoodItem(FoodItem) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Adds a food item to the shopping list.
addFoodItemToView() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewFoodItemPopUp
 
addIngredient() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 
addIngredient(String, Double, String) - Method in class edu.ntnu.stud.idatt1005.team3.controller.ShoppingListController
Adds an individual ingredient.
AddIngredientPopUp - Class in edu.ntnu.stud.idatt1005.team3.view.pages.subpages
 
AddIngredientPopUp(TheCookbookDB, int, NewRecipePage) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 
addItem(String, Double, String, int) - Method in class edu.ntnu.stud.idatt1005.team3.model.Inventory
Adds a food item to the inventory.
addObserver(ObserverDB) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Deletes a food item from the database.
addRecipe(Recipe) - Method in class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
Adds a recipe to the register.
addRecipeCard(RecipeCard, VBox, VBox, VBox) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Adds a recipe card to the recipe library page.
addRecipeIngredients(TheCookbookDB, int) - Method in class edu.ntnu.stud.idatt1005.team3.controller.ShoppingListController
Adds ingredients from a chosen recipe to the shopping list.
addRecipeInstructions(Recipe, VBox) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.SingleRecipePage
Adds the recipe instructions to the recipeInstructions VBox.
addRecipeToShoppingList(Recipe) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Returns the list of food items.
AddToShoppingList - Class in edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons
A button that adds a recipe to the shopping list.
AddToShoppingList(ShoppingListController, Recipe, TheCookbookDB) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons.AddToShoppingList
 

C

checkInventory(TheCookbookDB, List<FoodItem>) - Method in class edu.ntnu.stud.idatt1005.team3.controller.ShoppingListController
Checks the shopping list against the inventory in the database.
clear() - Method in class edu.ntnu.stud.idatt1005.team3.controller.ShoppingListController
 
clearIngredients() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 
clearInventoryContent() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.InventoryPage
Clears the inventory content.
clearPlaceholder() - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Deletes the placeholder recipe from the database once if new recipe hasn't been made.
clearRecipeCards(VBox, VBox, VBox) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Clears all recipe cards from the recipe library page.
createScene() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.HomePage
Creates a scene for the home page.
createScene() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.InventoryPage
Creates a scene for the inventory page.
createScene() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Creates a scene for the recipe library page.
createScene() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.ShoppingListPage
Creates a scene for the shopping list page.

D

displayInventory() - Method in class edu.ntnu.stud.idatt1005.team3.model.Inventory
Displays the current inventory.
DoubleTextField - Class in edu.ntnu.stud.idatt1005.team3.view.customelements
Class for creating a textfield that only accepts double values.
DoubleTextField() - Constructor for class edu.ntnu.stud.idatt1005.team3.view.customelements.DoubleTextField
 

E

edu.ntnu.stud.idatt1005.team3.controller - package edu.ntnu.stud.idatt1005.team3.controller
 
edu.ntnu.stud.idatt1005.team3.database - package edu.ntnu.stud.idatt1005.team3.database
 
edu.ntnu.stud.idatt1005.team3.launcher - package edu.ntnu.stud.idatt1005.team3.launcher
 
edu.ntnu.stud.idatt1005.team3.model - package edu.ntnu.stud.idatt1005.team3.model
 
edu.ntnu.stud.idatt1005.team3.view.customelements - package edu.ntnu.stud.idatt1005.team3.view.customelements
 
edu.ntnu.stud.idatt1005.team3.view.pages - package edu.ntnu.stud.idatt1005.team3.view.pages
 
edu.ntnu.stud.idatt1005.team3.view.pages.pageelements - package edu.ntnu.stud.idatt1005.team3.view.pages.pageelements
 
edu.ntnu.stud.idatt1005.team3.view.pages.subpages - package edu.ntnu.stud.idatt1005.team3.view.pages.subpages
 
edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons - package edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons
 
edu.ntnu.stud.idatt1005.team3.view.sidebar - package edu.ntnu.stud.idatt1005.team3.view.sidebar
 
edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons - package edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons
 
equals(Object) - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Compares the food item to another object and check if they are equal.

F

findFoodItemById(int) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Finds a food item in the shopping list by its ID.
findFoodItemByName(String) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Finds a food item in the shopping list by its name.
findRecipeByName(String) - Method in class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
A method to find a recipe by name.
findRecipesByIngredient(String) - Method in class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
A method to find recipes by ingredient.
findRecipesByMaxCookTime(int) - Method in class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
A method to find recipes by maximum cook time.
FoodItem - Class in edu.ntnu.stud.idatt1005.team3.model
Represents a food item with its name and quantity.
FoodItem(String, double, String, int) - Constructor for class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Constructs a food item with the given name and quantity.

G

generateShoppingList() - Method in class edu.ntnu.stud.idatt1005.team3.controller.ShoppingListController
Generates the final shopping list.
getAllergies() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to get the allergies the recipe contains.
getAllRecipeNames() - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves all recipes from the database and puts them in a list.
getAllRecipes() - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves all food items from the database and puts them in a list.
getCookTime() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to get the time it takes to cook the recipe.
getFoodItem(String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves a food item from the database.
getFoodItemById(int) - Method in class edu.ntnu.stud.idatt1005.team3.model.Inventory
Get FoodItem by ID.
getFoodItemId(String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves the ID of a food item from the database.
getFoodItemName() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewFoodItemPopUp
 
getFoodItemQuantity(FoodItem) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves all the categories from the database og a chosen recipe and puts them in a list.
getFoodItems() - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Returns the list of food items.
getFoodItemText() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 
getHomeButton() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.SideBar
 
getHomeElements(SceneController) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.HomePage
Creates the elements of the home page.
getId() - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Returns the id of the food item.
getId() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to get the id of the recipe.
getIngredientAsFoodItem(int, String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves the ID of a category from the database.
getIngredientId(String, int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves the ID of an ingredient from the database.
getIngredients() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to get the ingredients in the recipe.
getIngredients() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 
getIngredientsAsFoodItemList(int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves the ingredients for a recipe as a list of FoodItem objects.
getIngredientsForRecipe(int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves all the ingredients from the database og a chosen recipe and puts them in a list.
getInventoryButton() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.SideBar
 
getLeftBar(Recipe) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.SingleRecipePage
Creates the left bar of the single recipe page.
getName() - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Returns the name of the food item.
getName() - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
 
getNode() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.SideBar
Returns the sidebar of the application.
getNonEmptyFoodItems() - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves all food items from the database that have a quantity greater than 0.
getQuantity() - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Returns the quantity of the food item.
getQuantity() - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
 
getQuantity() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 
getQuantityField() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewFoodItemPopUp
 
getRecipe(String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves a recipe from the database.
getRecipeId(String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves the ID of a recipe from the database.
getRecipeIdFromIngredientId(int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Gets the recipe id for an ingredient.
getRecipeInstructions() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to get the instructions for the recipe.
getRecipeLibraryButton() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.SideBar
 
getRecipeName() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to get the name of the recipe.
getRecipes() - Method in class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
A method to get the recipes in the register.
getRoot() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.HomePage
Creates a scene for the home page.
getRoot() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.InventoryPage
Returns the root node of the inventory page.
getRoot() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Returns the root node of the recipe library page.
getRoot() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.ShoppingListPage
Returns the root node of the shopping list page.
getRoot() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.SingleRecipePage
 
getRoot() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewRecipePage
 
getSceneController() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Returns the scene controller for the application.
getServings() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to get the number of servings the recipe makes.
getShoppingListButton() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.SideBar
 
getStepsForRecipe(int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Retrieves all steps from the database og a chosen recipe and puts them in a list.
getUnit() - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Returns the unit of the food item.
getUnit() - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
 
getUnit() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewFoodItemPopUp
 
getUnitText() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 

H

handleUpdate(Recipe, int, SceneController, VBox, VBox, VBox) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Handles the update of the recipe library page when database is updated.
hashCode() - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Returns the hash code of the food item.
HomeButton - Class in edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons
Class representing a button for navigating to the home page.
HomeButton(SceneController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.HomeButton
Constructs a new home button.
HomePage - Class in edu.ntnu.stud.idatt1005.team3.view.pages
The home page of the application.
HomePage(SceneController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.HomePage
Creates the home page of the application.

I

insertFoodItem(String, double, String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Inserting a new FoodItem to the database.
insertIngredient(int, int, double, String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Inserts a new ingredient to the database, where we can connect it to a food item and a recipe.
insertPlaceholderRecipe() - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Inserts a placeholder recipe to the database.
insertRecipe(String, int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Inserting a new recipe to the database.
insertRecipeCategory(int, String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Inserts a new category to the database, where we can connect it to a recipe.
insertStep(int, String, int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Inserting a step in the recipe.
Inventory - Class in edu.ntnu.stud.idatt1005.team3.model
Represents an inventory of food items.
Inventory() - Constructor for class edu.ntnu.stud.idatt1005.team3.model.Inventory
Constructs an empty inventory.
InventoryButton - Class in edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons
Class representing a button for navigating to the inventory page.
InventoryButton(SceneController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.InventoryButton
Constructs a new inventory button.
InventoryPage - Class in edu.ntnu.stud.idatt1005.team3.view.pages
The inventory page of the application.
InventoryPage(SceneController, TheCookbookDB) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.InventoryPage
Creates the inventory page of the application.

M

main(String[]) - Static method in class edu.ntnu.stud.idatt1005.team3.launcher.Main
 
Main - Class in edu.ntnu.stud.idatt1005.team3.launcher
The Main class for the program.
Main() - Constructor for class edu.ntnu.stud.idatt1005.team3.launcher.Main
 
MainUI - Class in edu.ntnu.stud.idatt1005.team3.launcher
The Main class for the User Interface.
MainUI() - Constructor for class edu.ntnu.stud.idatt1005.team3.launcher.MainUI
 
mouseExitEvents() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.HomeButton
Sets the mouse exit events for the button.

N

NewFoodItemPopUp - Class in edu.ntnu.stud.idatt1005.team3.view.pages.subpages
 
NewFoodItemPopUp(SceneController, TheCookbookDB) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewFoodItemPopUp
 
NewRecipePage - Class in edu.ntnu.stud.idatt1005.team3.view.pages.subpages
 
NewRecipePage(SceneController, TheCookbookDB) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewRecipePage
 
notifyObservers() - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Notifies all observers that the database has been updated.

O

ObserverDB - Interface in edu.ntnu.stud.idatt1005.team3.controller
An interface for TheCookbook's database observer.

P

printShoppingList() - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Prints the shopping list.

R

Recipe - Class in edu.ntnu.stud.idatt1005.team3.model
This class represents a recipe.
Recipe(int, String, ArrayList<String>, int, ArrayList<String>, int, ArrayList<FoodItem>) - Constructor for class edu.ntnu.stud.idatt1005.team3.model.Recipe
Constructor for the Recipe class.
RecipeCard - Class in edu.ntnu.stud.idatt1005.team3.view.pages.pageelements
A class representing a recipe card.
RecipeCard(Recipe, SceneController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.pageelements.RecipeCard
Constructor for the RecipeCard class.
RecipeLibraryButton - Class in edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons
Class representing a button for navigating to the recipe library page.
RecipeLibraryButton(SceneController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.RecipeLibraryButton
Constructs a new recipe library button.
RecipeLibraryPage - Class in edu.ntnu.stud.idatt1005.team3.view.pages
The recipe library page of the application.
RecipeLibraryPage(SceneController, TheCookbookDB) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Constructs the recipe library page of the application.
RecipeRegister - Class in edu.ntnu.stud.idatt1005.team3.model
This class represents a register of recipes.
RecipeRegister() - Constructor for class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
Constructor for the RecipeRegister class.
removeFoodItem(FoodItem) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Removes a food item from the shopping list.
removeFoodItem(String) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Removes a food item from the database.
removeIngredient(FoodItem) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.AddIngredientPopUp
 
removeIngredient(String, int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Removes an ingredient from the database.
removeObserver(ObserverDB) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Deletes a food item from the database.
removeRecipe(int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Deletes a recipe from the database.
removeRecipe(Recipe) - Method in class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
A method to remove a recipe from the register.
removeRecipeByName(String) - Method in class edu.ntnu.stud.idatt1005.team3.model.RecipeRegister
A method to remove a recipe from the register by name.
removeRecipeCard(RecipeCard, VBox, VBox, VBox) - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Removes a recipe card from the recipe library page.
replaceSelection(String) - Method in class edu.ntnu.stud.idatt1005.team3.view.customelements.DoubleTextField
 
replaceText(int, int, String) - Method in class edu.ntnu.stud.idatt1005.team3.view.customelements.DoubleTextField
 

S

SceneController - Class in edu.ntnu.stud.idatt1005.team3.controller
The controller for the scenes of the application.
SceneController(Stage, TheCookbookDB, ShoppingListController) - Constructor for class edu.ntnu.stud.idatt1005.team3.controller.SceneController
Creates a new scene controller.
setAllergies(ArrayList<String>) - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to set the allergies the recipe contains.
setCookTime(int) - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to set the time it takes to cook the recipe.
setGraphicPrimary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.HomeButton
Sets the graphic of the button to the graphic with the primary color.
setGraphicPrimary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.InventoryButton
Sets the graphic of the button to the graphic with the primary color.
setGraphicPrimary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.RecipeLibraryButton
Sets the graphic of the button to the graphic with the primary color.
setGraphicPrimary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.ShoppingListButton
Sets the graphic of the button to the graphic with the primary color.
setGraphicSecondary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.HomeButton
Sets the graphic of the button to the graphic with the secondary color.
setGraphicSecondary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.InventoryButton
Sets the graphic of the button to the graphic with the secondary color.
setGraphicSecondary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.RecipeLibraryButton
Sets the graphic of the button to the graphic with the secondary color.
setGraphicSecondary() - Method in class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.ShoppingListButton
Sets the graphic of the button to the graphic with the secondary color.
setId(int) - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to set the id of the recipe.
setIngredients(ArrayList<FoodItem>) - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to set the ingredients in the recipe.
setName(String) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
 
setQuantity(Double) - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Sets the quantity of the food item.
setQuantity(Double) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
 
setRecipeInstructions(ArrayList<String>) - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to set the instructions for the recipe.
setRecipeName(String) - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to set the name of the recipe.
setServings(int) - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
A method to set the number of servings the recipe makes.
setUnit(String) - Method in class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
 
ShoppingList - Class in edu.ntnu.stud.idatt1005.team3.model
A class for the CookBook's shopping list.
ShoppingList(String, Double, String) - Constructor for class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Constructs a new shopping list.
ShoppingList(ArrayList<FoodItem>) - Constructor for class edu.ntnu.stud.idatt1005.team3.model.ShoppingList
Constructs a new shopping list.
ShoppingListButton - Class in edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons
Class representing a button for the shopping list page.
ShoppingListButton(SceneController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.sidebar.buttons.ShoppingListButton
Constructs a new shopping list button.
ShoppingListController - Class in edu.ntnu.stud.idatt1005.team3.controller
A class that generates a shopping list and alters it.
ShoppingListController(TheCookbookDB) - Constructor for class edu.ntnu.stud.idatt1005.team3.controller.ShoppingListController
 
ShoppingListPage - Class in edu.ntnu.stud.idatt1005.team3.view.pages
The shopping list page of the application.
ShoppingListPage(SceneController, TheCookbookDB, ShoppingListController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.ShoppingListPage
Creates the shopping list page of the application.
showErrorPopUp(String) - Method in class edu.ntnu.stud.idatt1005.team3.controller.SceneController
Shows an error pop-up with the given error message.
showHomePage() - Method in class edu.ntnu.stud.idatt1005.team3.controller.SceneController
Shows the home page of the application.
showInventoryPage() - Method in class edu.ntnu.stud.idatt1005.team3.controller.SceneController
Shows the inventory page of the application.
showNewRecipePage() - Method in class edu.ntnu.stud.idatt1005.team3.controller.SceneController
Shows the new recipe page of the application.
showPopUp() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewFoodItemPopUp
 
showRecipeLibraryPage() - Method in class edu.ntnu.stud.idatt1005.team3.controller.SceneController
Shows the recipe library page of the application.
showShoppingListPage() - Method in class edu.ntnu.stud.idatt1005.team3.controller.SceneController
Shows the shopping list page of the application.
showSingleRecipePage(Recipe) - Method in class edu.ntnu.stud.idatt1005.team3.controller.SceneController
 
SideBar - Class in edu.ntnu.stud.idatt1005.team3.view.sidebar
Class representing the sidebar of the application.
SideBar(SceneController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.sidebar.SideBar
Creates the sidebar of the application.
SingleRecipePage - Class in edu.ntnu.stud.idatt1005.team3.view.pages
The page for displaying a single recipe.
SingleRecipePage(SceneController, TheCookbookDB, Recipe, ShoppingListController) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.SingleRecipePage
Creates a new single recipe page.
start(Stage) - Method in class edu.ntnu.stud.idatt1005.team3.launcher.MainUI
The main method of the UI.
submitFoodItems() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewFoodItemPopUp
 

T

TextSubmitButton - Class in edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons
 
TextSubmitButton(TextField) - Constructor for class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons.TextSubmitButton
 
TheCookbookDB - Class in edu.ntnu.stud.idatt1005.team3.database
A class that provides methods for interacting with the database.
TheCookbookDB() - Constructor for class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
 
toString() - Method in class edu.ntnu.stud.idatt1005.team3.model.FoodItem
Returns a string representation of the food item.
toString() - Method in class edu.ntnu.stud.idatt1005.team3.model.Recipe
 

U

update() - Method in interface edu.ntnu.stud.idatt1005.team3.controller.ObserverDB
Method to update the observer.
update() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.InventoryPage
Updates the inventory content.
update() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Updates the recipe library page when the database is updated.
update() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.subpages.NewRecipePage
 
updateColumns() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.RecipeLibraryPage
Updates the columns of the recipe library page.
updateFoodItem(FoodItem, double) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Updates the quantity of a food item in the database.
updateFoodItemQuantity(int, double) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Updates the quantity of a food item in the database.
updatePlaceholderRecipe(int, String, int) - Method in class edu.ntnu.stud.idatt1005.team3.database.TheCookbookDB
Updates the placeholder recipe to a proper new recipe in the NewRecipePage.
updateView() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.InventoryPage
 
updateView() - Method in class edu.ntnu.stud.idatt1005.team3.view.pages.ShoppingListPage
Updates the view of the shopping list page.
A C D E F G H I M N O P R S T U 
All Classes and Interfaces|All Packages