-
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: add SignInPageView into MainView and controllers
- Loading branch information
MatheaGjerde
committed
Mar 11, 2026
1 parent
c1ce598
commit f200ee8
Showing
4 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
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
6 changes: 6 additions & 0 deletions
6
src/main/java/edu/group5/app/control/SignInPageController.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,4 +1,10 @@ | ||
| package edu.group5.app.control; | ||
|
|
||
| public class SignInPageController { | ||
| private final MainController controller; | ||
|
|
||
| public SignInPageController(MainController controller) { | ||
| this.controller = controller; | ||
| } | ||
|
|
||
| } |
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
15 changes: 14 additions & 1 deletion
15
src/main/java/edu/group5/app/view/loginpage/SignInPageView.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,4 +1,17 @@ | ||
| package edu.group5.app.view.loginpage; | ||
|
|
||
| public class SignInView { | ||
| import edu.group5.app.control.HeaderController; | ||
| import edu.group5.app.control.SignInPageController; | ||
| import javafx.scene.layout.BorderPane; | ||
|
|
||
|
|
||
| public class SignInPageView extends BorderPane { | ||
| private final SignInPageController controller; | ||
|
|
||
| public SignInPageView(SignInPageController signInPageController, HeaderController headerController) { | ||
| this.controller = signInPageController; | ||
| setTop(new LoginHeader(headerController)); | ||
|
|
||
|
|
||
| } | ||
| } |