Uses of Enum Class
stud.ntnu.idatt1005.pantrypal.enums.ButtonEnum
Packages that use ButtonEnum
Package
Description
-
Uses of ButtonEnum in stud.ntnu.idatt1005.pantrypal.controllers
Methods in stud.ntnu.idatt1005.pantrypal.controllers with parameters of type ButtonEnumModifier and TypeMethodDescriptionvoidAddRecipeController.update(ButtonEnum buttonEnum) Updates the observer with the button that was pressed.voidAddRecipeController.update(ButtonEnum buttonEnum, Object object) Updates the observer based on the type of button pressed, and object associated object.voidCookbookController.update(ButtonEnum buttonEnum) Updates the observer with the button that was pressed.voidCookbookController.update(ButtonEnum buttonEnum, Object object) Updates the observer with the button that was pressed and the object affected.voidObserver.update(ButtonEnum buttonEnum) Updates the observer with the button that was pressedvoidObserver.update(ButtonEnum buttonEnum, Object object) Updates the observer with the button that was pressed and the object affectedvoidPantryController.update(ButtonEnum buttonEnum) Updates the observer based on the button pressed.voidPantryController.update(ButtonEnum buttonEnum, Object object) Updates the observer based on the button pressed and the grocery item associated with the action.voidShoppingListController.update(ButtonEnum buttonEnum) Updates the observer based on the button pressed.voidShoppingListController.update(ButtonEnum buttonEnum, Object object) Updates the observer based on the button pressed and the grocery item associated with the action. -
Uses of ButtonEnum in stud.ntnu.idatt1005.pantrypal.enums
Methods in stud.ntnu.idatt1005.pantrypal.enums that return ButtonEnumModifier and TypeMethodDescriptionstatic ButtonEnumReturns the enum constant of this class with the specified name.static ButtonEnum[]ButtonEnum.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ButtonEnum in stud.ntnu.idatt1005.pantrypal.views.components
Methods in stud.ntnu.idatt1005.pantrypal.views.components with parameters of type ButtonEnumModifier and TypeMethodDescriptionprivate voidAddGroceryListElement.notifyObservers(ButtonEnum buttonEnum, String name, int quantity, String shelf) Notifies the observers in the observer list with the given buttonEnum.protected voidCookbookRecipeComponent.notifyObservers(ButtonEnum buttonEnum) Notifies the observers of the component with the given buttonEnum and the recipe of the component.protected voidGroceryListElement.notifyObservers(ButtonEnum buttonEnum) Notifies the observers with the given enum and grocery.