Uses of Class
stud.ntnu.idatt1005.pantrypal.models.Recipe
Packages that use Recipe
Package
Description
-
Uses of Recipe in stud.ntnu.idatt1005.pantrypal.controllers
Fields in stud.ntnu.idatt1005.pantrypal.controllers with type parameters of type RecipeMethods in stud.ntnu.idatt1005.pantrypal.controllers that return types with arguments of type RecipeModifier and TypeMethodDescriptionCookbookController.getCurrentSearch()Returns the current search list.CookbookController.getRecipes()Returns the register with recipes in the recipeRegister.Methods in stud.ntnu.idatt1005.pantrypal.controllers with parameters of type RecipeModifier and TypeMethodDescriptionprivate voidCookbookController.addGroceriesToShoppingList(Recipe recipe) Adds the groceries from a recipe to the shopping list.private voidAdds a recipe to the recipeRegister and the database.private voidCookbookController.openRecipe(Recipe recipe) Opens a recipe in the RecipeView, and sets the view to RecipeView.voidAddRecipeController.setRecipeToAddRecipeView(Recipe recipe) Changes the view to a new AddRecipeView() with an already existing recipe to edit.private voidCookbookController.toggleIsFavorite(Recipe recipe) Toggles the favorite status of a recipe. -
Uses of Recipe in stud.ntnu.idatt1005.pantrypal.registers
Methods in stud.ntnu.idatt1005.pantrypal.registers that return RecipeModifier and TypeMethodDescriptionRetrieves a recipe from the register by its name.Methods in stud.ntnu.idatt1005.pantrypal.registers that return types with arguments of type RecipeModifier and TypeMethodDescriptionRecipeRegister.searchRecipes(String search) Searches for recipes in the register by name.Methods in stud.ntnu.idatt1005.pantrypal.registers with parameters of type RecipeModifier and TypeMethodDescriptionvoidAdd a recipe to the recipe register.voidRecipeRegister.removeRecipe(Recipe recipe) Removes a recipe from the register. -
Uses of Recipe in stud.ntnu.idatt1005.pantrypal.views.components
Fields in stud.ntnu.idatt1005.pantrypal.views.components declared as RecipeConstructors in stud.ntnu.idatt1005.pantrypal.views.components with parameters of type RecipeModifierConstructorDescriptionCookbookRecipeComponent(Recipe recipe) Constructs a CookbookRecipeComponent for a Recipe.