spaghetti
This commit is contained in:
parent
6590e28ce7
commit
1662d09ef6
10 changed files with 14 additions and 9 deletions
|
@ -44,8 +44,8 @@ public class CartController {
|
||||||
private final ObservableList<Item> cartItems = FXCollections.observableArrayList();
|
private final ObservableList<Item> cartItems = FXCollections.observableArrayList();
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
void handleTitleClick(MouseEvent event) {
|
void handleTitleClick(MouseEvent event) throws IOException {
|
||||||
|
App.setRoot("shop");
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
|
@ -73,8 +73,8 @@ public class CheckOutController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
void handleTitleClick(MouseEvent event) {
|
void handleTitleClick(MouseEvent event) throws IOException {
|
||||||
|
App.setRoot("shop");
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
|
@ -112,7 +112,7 @@ public class LoginController {
|
||||||
private Label usernameLabel;
|
private Label usernameLabel;
|
||||||
|
|
||||||
@FXML
|
@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
|
@FXML
|
||||||
private void handleCartButton() throws IOException {
|
private void handleCartButton() throws IOException {
|
||||||
App.setRoot("cart");
|
App.setRoot("cart");
|
||||||
|
|
|
@ -47,8 +47,8 @@ public class RegisterController {
|
||||||
private Label footerCopyText;
|
private Label footerCopyText;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
void handleTitleClick(MouseEvent event) {
|
void handleTitleClick(MouseEvent event) throws IOException {
|
||||||
|
App.setRoot("shop");
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
|
@ -38,8 +38,8 @@ public class ShopController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
void handleTitleClick(MouseEvent event) {
|
void handleTitleClick(MouseEvent event) throws IOException {
|
||||||
|
App.setRoot("shop");
|
||||||
}
|
}
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue