Class HomeController
java.lang.Object
stud.ntnu.idatt1005.pantrypal.controllers.Controller
stud.ntnu.idatt1005.pantrypal.controllers.HomeController
Controller class for the HomeView.
This class is responsible for handling the logic for theHomeView.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final stud.ntnu.idatt1005.pantrypal.views.HomeView
The view for the HomeController.Fields inherited from class stud.ntnu.idatt1005.pantrypal.controllers.Controller
viewManager
-
Constructor Summary
ConstructorsConstructorDescriptionHomeController
(ViewManager viewManager) Constructor that takes in a ViewManager and sets the view for the controller. -
Method Summary
Methods inherited from class stud.ntnu.idatt1005.pantrypal.controllers.Controller
isLoggedIn, logOut, onNavLinkPress
-
Field Details
-
view
private final stud.ntnu.idatt1005.pantrypal.views.HomeView viewThe view for the HomeController.
-
-
Constructor Details
-
HomeController
Constructor that takes in a ViewManager and sets the view for the controller.- Parameters:
viewManager
- the ViewManager for the application
-