spaghetti

This commit is contained in:
Patrick 2025-01-13 20:11:17 +01:00
parent 6590e28ce7
commit 1662d09ef6
10 changed files with 14 additions and 9 deletions

View file

@ -44,8 +44,8 @@ public class CartController {
private final ObservableList<Item> cartItems = FXCollections.observableArrayList();
@FXML
void handleTitleClick(MouseEvent event) {
void handleTitleClick(MouseEvent event) throws IOException {
App.setRoot("shop");
}
@FXML

View file

@ -73,8 +73,8 @@ public class CheckOutController {
}
@FXML
void handleTitleClick(MouseEvent event) {
void handleTitleClick(MouseEvent event) throws IOException {
App.setRoot("shop");
}
@FXML

View file

@ -112,7 +112,7 @@ public class LoginController {
private Label usernameLabel;
@FXML
void handleTitleClick(MouseEvent event) {
void handleLoginButton(ActionEvent event) {
}
@ -121,6 +121,11 @@ public class LoginController {
}
@FXML
void handleTitleClick(MouseEvent event) throws IOException {
App.setRoot("shop");
}
@FXML
private void handleCartButton() throws IOException {
App.setRoot("cart");

View file

@ -47,8 +47,8 @@ public class RegisterController {
private Label footerCopyText;
@FXML
void handleTitleClick(MouseEvent event) {
void handleTitleClick(MouseEvent event) throws IOException {
App.setRoot("shop");
}
@FXML

View file

@ -38,8 +38,8 @@ public class ShopController {
}
@FXML
void handleTitleClick(MouseEvent event) {
void handleTitleClick(MouseEvent event) throws IOException {
App.setRoot("shop");
}
@FXML