Uses of Class
edu.ntnu.stud.idatt1005.team3.model.Recipe
Packages that use Recipe
Package
Description
-
Uses of Recipe in edu.ntnu.stud.idatt1005.team3.controller
Methods in edu.ntnu.stud.idatt1005.team3.controller with parameters of type Recipe -
Uses of Recipe in edu.ntnu.stud.idatt1005.team3.database
Methods in edu.ntnu.stud.idatt1005.team3.database that return RecipeModifier and TypeMethodDescriptionRetrieves a recipe from the database.Methods in edu.ntnu.stud.idatt1005.team3.database that return types with arguments of type RecipeModifier and TypeMethodDescriptionTheCookbookDB.getAllRecipes()
Retrieves all food items from the database and puts them in a list. -
Uses of Recipe in edu.ntnu.stud.idatt1005.team3.model
Methods in edu.ntnu.stud.idatt1005.team3.model that return RecipeModifier and TypeMethodDescriptionRecipeRegister.findRecipeByName
(String recipeName) A method to find a recipe by name.Methods in edu.ntnu.stud.idatt1005.team3.model that return types with arguments of type RecipeModifier and TypeMethodDescriptionRecipeRegister.findRecipesByIngredient
(String ingredient) A method to find recipes by ingredient.RecipeRegister.findRecipesByMaxCookTime
(int maxCookTime) A method to find recipes by maximum cook time.RecipeRegister.getRecipes()
A method to get the recipes in the register.Methods in edu.ntnu.stud.idatt1005.team3.model with parameters of type RecipeModifier and TypeMethodDescriptionvoid
Adds a recipe to the register.void
ShoppingList.addRecipeToShoppingList
(Recipe recipe) Returns the list of food items.void
RecipeRegister.removeRecipe
(Recipe recipe) A method to remove a recipe from the register. -
Uses of Recipe in edu.ntnu.stud.idatt1005.team3.view.pages
Methods in edu.ntnu.stud.idatt1005.team3.view.pages with parameters of type RecipeModifier and TypeMethodDescriptionvoid
SingleRecipePage.addRecipeInstructions
(Recipe recipe, javafx.scene.layout.VBox recipeInstructions) Adds the recipe instructions to the recipeInstructions VBox.javafx.scene.layout.VBox
SingleRecipePage.getLeftBar
(Recipe recipe) Creates the left bar of the single recipe page.void
RecipeLibraryPage.handleUpdate
(Recipe recipe, int updateType, SceneController sceneController, javafx.scene.layout.VBox col1, javafx.scene.layout.VBox col2, javafx.scene.layout.VBox col3) Handles the update of the recipe library page when database is updated.Constructors in edu.ntnu.stud.idatt1005.team3.view.pages with parameters of type RecipeModifierConstructorDescriptionSingleRecipePage
(SceneController sceneController, TheCookbookDB db, Recipe recipe, ShoppingListController slController) Creates a new single recipe page. -
Uses of Recipe in edu.ntnu.stud.idatt1005.team3.view.pages.pageelements
Constructors in edu.ntnu.stud.idatt1005.team3.view.pages.pageelements with parameters of type RecipeModifierConstructorDescriptionRecipeCard
(Recipe recipe, SceneController sceneController) Constructor for the RecipeCard class. -
Uses of Recipe in edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons
Constructors in edu.ntnu.stud.idatt1005.team3.view.pages.subpages.buttons with parameters of type RecipeModifierConstructorDescriptionAddToShoppingList
(ShoppingListController shoppingListController, Recipe recipe, TheCookbookDB db)