-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: NavvarFoorterController attempt
- Loading branch information
AdrianBalunan
committed
Apr 15, 2026
1 parent
3d26424
commit 99b0280
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
...rc/main/java/ntnu/systemutvikling/team6/controller/components/NavbarFooterController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| package ntnu.systemutvikling.team6.controller.components; | ||
|
|
||
| import javafx.event.ActionEvent; | ||
| import javafx.fxml.FXML; | ||
| import javafx.scene.control.TextField; | ||
|
|
||
| public interface NavbarFooterController { | ||
|
|
||
| default void switchToFrontPage(ActionEvent event) { | ||
| System.out.println("Click!"); | ||
| LoaderScene.LoadScene("FrontPage", event, null, null); | ||
| } | ||
|
|
||
| default void switchToAboutPage(ActionEvent event) { | ||
| System.out.println("Click!"); | ||
| LoaderScene.LoadScene("aboutPage", event, null, null); | ||
| } | ||
|
|
||
| default void switchToProfilePage(ActionEvent event) { | ||
| System.out.println("Click!"); | ||
| LoaderScene.LoadScene("aboutPage", event, null, null); | ||
| } | ||
|
|
||
| default void handleSearch(ActionEvent event) { | ||
| System.out.println("Click!"); | ||
| LoaderScene.LoadScene("aboutPage", event, null, null); | ||
| } | ||
|
|
||
| default void switchToLoginPage(ActionEvent event) { | ||
| System.out.println("Click!"); | ||
| LoaderScene.LoadScene("aboutPage", event, null, null); | ||
| } | ||
| } |