Index
All Classes and Interfaces|All Packages|Serialized Form
G
- getAddtoShoppingListButton() - Method in class edu.ntnu.stud.controller.framecontroller.RecipeFrame
-
Returns the button to add the recipe to the shopping list.
- getAlert() - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.DialogBox
-
Method to get the alert object.
- getConnection() - Method in class edu.ntnu.stud.model.database.DbLink
-
Returns a connection to the database.
- getConnectionNoDB(String) - Method in class edu.ntnu.stud.model.database.DbLink
-
Returns a connection to the database without specifying a database.
- getContentText() - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.DialogBox
-
Method to get the content text of the dialog box.
- getCookBookButton() - Method in class edu.ntnu.stud.controller.framecontroller.Header
-
Returns the cookbook button.
- getCookBookFrame() - Method in class edu.ntnu.stud.controller.framecontroller.CookBookFrame
-
Returns the CookBook frame.
- getFrame() - Method in class edu.ntnu.stud.controller.framecontroller.ItemListFrame
-
Returns the frame of the ItemListFrame.
- getHeader() - Method in class edu.ntnu.stud.controller.framecontroller.Header
-
Returns the header pane.
- getHeader() - Method in class edu.ntnu.stud.controller.MainApplication
-
Returns the header of the application.
- getHeaderText() - Method in class edu.ntnu.stud.controller.framecontroller.dialogboxes.DialogBox
-
Method to get the header text of the dialog box.
- getIngName() - Method in class edu.ntnu.stud.model.Ingredient
-
Get the name of the ingredient.
- getIngredientsFromRecipe(String) - Static method in class edu.ntnu.stud.utils.ListHandling
-
Get the ingredients from a recipe.
- getInventory() - Static method in class edu.ntnu.stud.model.Inventory
-
Get the inventory list from inventory.json.
- getInventoryButton() - Method in class edu.ntnu.stud.controller.framecontroller.Header
-
Returns the inventory button.
- getJsonArray(String) - Method in class edu.ntnu.stud.controller.framecontroller.CookBookFrame.CookBookJsonReader
-
Reads the JSON file at the given filepath and returns the JSON array containing the recipes.
- getJsonArray(String) - Static method in class edu.ntnu.stud.utils.Json
-
Reads a JSON file and returns a JSONArray.
- getJsonFromDb(String) - Static method in class edu.ntnu.stud.model.database.JsonToDb
-
Gets the entire shopping list or inventory table from the database and populates the corresponding Json file.
- getLogger(Class<?>) - Static method in class edu.ntnu.stud.utils.LoggerUtil
-
Get a logger for a class.
- getQuantity() - Method in class edu.ntnu.stud.model.Ingredient
-
Get the quantity of the ingredient.
- getRecipeFrame() - Method in class edu.ntnu.stud.controller.framecontroller.RecipeFrame
-
Returns the frame of the recipe.
- getShoppingList() - Static method in class edu.ntnu.stud.model.ShoppingList
-
Get the shopping list from shopping_list.json.
- getShoppingListButton() - Method in class edu.ntnu.stud.controller.framecontroller.Header
-
Returns the shopping list button.
All Classes and Interfaces|All Packages|Serialized Form