-
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: Footer controller and fxml components fully implemented?
- Loading branch information
AdrianBalunan
committed
Apr 16, 2026
1 parent
89e3382
commit ed545b8
Showing
2 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
12 changes: 10 additions & 2 deletions
12
...tion/src/main/java/ntnu/systemutvikling/team6/controller/components/FooterController.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 |
|---|---|---|
| @@ -1,21 +1,29 @@ | ||
| package ntnu.systemutvikling.team6.controller.components; | ||
|
|
||
| import javafx.event.ActionEvent; | ||
| import javafx.fxml.FXML; | ||
| import javafx.scene.control.Button; | ||
| import javafx.scene.control.Label; | ||
| import ntnu.systemutvikling.team6.service.AuthenticationService; | ||
|
|
||
| public class FooterController extends BaseController { | ||
| @FXML private Button HelpMeHelp; | ||
| @FXML private Label aboutUsLink; | ||
|
|
||
|
|
||
|
|
||
| public void switchToAboutPage(ActionEvent event) { | ||
| System.out.println("Click!"); | ||
| LoaderScene.LoadScene("aboutPage", event, null, null); | ||
| LoaderScene.LoadScene("aboutPage", event, null, null, authToken); | ||
| } | ||
| public void switchToFrontPage(ActionEvent event) { | ||
| System.out.println("Click!"); | ||
| LoaderScene.LoadScene("FrontPage", event, null, null); | ||
| LoaderScene.LoadScene("FrontPage", event, null, null, authToken); | ||
| } | ||
|
|
||
| @Override | ||
| protected void authTokenisSet() { | ||
|
|
||
|
|
||
| } | ||
| } |
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