Uses of Class
stud.ntnu.idatt1005.pantrypal.models.Shelf
Packages that use Shelf
Package
Description
-
Uses of Shelf in stud.ntnu.idatt1005.pantrypal.controllers
Methods in stud.ntnu.idatt1005.pantrypal.controllers that return ShelfModifier and TypeMethodDescriptionAdds a shelf to the register.Shelf[]PantryController.getShelves()Returns all shelves in the register.Methods in stud.ntnu.idatt1005.pantrypal.controllers with parameters of type ShelfModifier and TypeMethodDescriptionvoidPantryController.addGrocery(Shelf shelf, String name, int amount) Adds a grocery item to the shelf.voidPantryController.deleteGrocery(Shelf shelf, Grocery grocery) Removes the grocery item from the shelf.voidPantryController.deleteShelf(Shelf shelf) Deletes the specified shelf.voidPantryController.editShelfName(Shelf shelf, String name) Edits the name of the specified shelf.Grocery[]PantryController.getGroceries(Shelf shelf) Returns all groceries from the specified shelf. -
Uses of Shelf in stud.ntnu.idatt1005.pantrypal.registers
Methods in stud.ntnu.idatt1005.pantrypal.registers that return ShelfModifier and TypeMethodDescriptionShelfRegister.getShelfByName(String nameOfShelf) Returns the shelf from the register that corresponds with name given.Methods in stud.ntnu.idatt1005.pantrypal.registers with parameters of type ShelfModifier and TypeMethodDescriptionvoidAdds a shelf to the register.voidShelfRegister.removeShelf(Shelf shelf) Removes a shelf from the register.