Index

A C D E F G H I J L M N R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

S

setAddIngredientButtonAction(EventHandler<ActionEvent>) - Method in class edu.ntnu.stud.controller.framecontroller.InventoryFrame
Sets the action for the add ingredient button.
setAddIngredientButtonAction(EventHandler<ActionEvent>) - Method in class edu.ntnu.stud.controller.framecontroller.ShoppingListFrame
Sets the event handler for the add ingredient button.
setAddMoreButtons(int, JSONArray, int) - Method in class edu.ntnu.stud.controller.framecontroller.CookBookFrame
Nested method to set the "Add" and "More" buttons for a recipe.
setAddMoreButtons(int, JSONArray, int, CookBookFrame.CookBookJsonReader) - Method in class edu.ntnu.stud.controller.framecontroller.CookBookFrame.CookBookButtonHandler
Sets the "Add" and "More" buttons for a recipe in the JSON array.
setContent(String, String, String, Collection<Pair<String, String>>) - Method in class edu.ntnu.stud.controller.framecontroller.RecipeFrame
Sets the content of the recipe frame with the given name, steps, image and ingredients.
setImageFromJson(String) - Method in class edu.ntnu.stud.controller.framecontroller.CookBookFrame
Sets the image of a recipe with the given filepath.
setNegativeButtonStyle(Button) - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.DialogBox
Method to set the style of the negative button in the dialog box.
setPositiveButtonStyle(Button) - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.DialogBox
Method to set the style of the positive button in the dialog box.
setQuantity(int) - Method in class edu.ntnu.stud.model.Ingredient
Set the quantity of the ingredient.
setShoppingClearButtonAction(EventHandler<ActionEvent>) - Method in class edu.ntnu.stud.controller.framecontroller.ShoppingListFrame
Sets the event handler for the clear shopping list button.
setShoppingListGetButtonAction(EventHandler<ActionEvent>) - Method in class edu.ntnu.stud.controller.framecontroller.ShoppingListFrame
Sets the event handler for the get shopping list button.
setShoppingListToDbButtonAction(EventHandler<ActionEvent>) - Method in class edu.ntnu.stud.controller.framecontroller.ShoppingListFrame
Sets the event handler for the set shopping list to database button.
setStyle() - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.DialogBox
Method to set the style of the dialog box.
ShoppingList - Class in edu.ntnu.stud.model
The ShoppingList class is responsible for managing the user's shopping list.
ShoppingList() - Constructor for class edu.ntnu.stud.model.ShoppingList
 
ShoppingListFrame - Class in edu.ntnu.stud.controller.framecontroller
A frame for displaying the shopping list.
ShoppingListFrame() - Constructor for class edu.ntnu.stud.controller.framecontroller.ShoppingListFrame
Uses the constructor of the superclass to set the FXML file for the shopping list frame.
ShoppingListTest - Class in edu.ntnu.stud.tests.model
 
ShoppingListTest() - Constructor for class edu.ntnu.stud.tests.model.ShoppingListTest
 
showAddIngredientDialog(List<Ingredient>, String) - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.AddIngredientDialog
Method to show the dialog box for adding an ingredient to a list.
showAddRecipeChoiceDialog(String) - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.ConfirmAddRecipeDialog
Method to show the dialog box for adding a recipe to the shopping list.
showCookBookFrame(VBox, CookBookFrame) - Method in class edu.ntnu.stud.controller.MainApplication
Shows the cookbook frame.
showDeleteDialog(String) - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.ConfirmDeleteDialog
Method to show the dialog box for deleting ingredient list.
showErrorDialog() - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.ErrorDialog
Method to show the dialog box for an error message.
showGetDialog(String) - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.ConfirmGetDialog
Method to show the dialog confirmation before fetching a list form database.
showInventoryWithoutZero(List<Ingredient>) - Static method in class edu.ntnu.stud.model.Inventory
Get the inventory list from inventory.json without ingredients with quantity 0.
showRecipeFrame(int, JSONArray) - Method in class edu.ntnu.stud.controller.MainApplication
Shows the recipe frame for the selected recipe.
showSaveDialog(String) - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.ConfirmSaveDialog
Method to show the dialog confirmation before saving list to database.
start(Stage) - Method in class edu.ntnu.stud.controller.MainApplication
The start method for the application and set up the components.
A C D E F G H I J L M N R S T U V 
All Classes and Interfaces|All Packages|Serialized Form