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();
|
||||
|
||||
@FXML
|
||||
void handleTitleClick(MouseEvent event) {
|
||||
|
||||
void handleTitleClick(MouseEvent event) throws IOException {
|
||||
App.setRoot("shop");
|
||||
}
|
||||
|
||||
@FXML
|
||||
|
|
|
@ -73,8 +73,8 @@ public class CheckOutController {
|
|||
}
|
||||
|
||||
@FXML
|
||||
void handleTitleClick(MouseEvent event) {
|
||||
|
||||
void handleTitleClick(MouseEvent event) throws IOException {
|
||||
App.setRoot("shop");
|
||||
}
|
||||
|
||||
@FXML
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -38,8 +38,8 @@ public class ShopController {
|
|||
}
|
||||
|
||||
@FXML
|
||||
void handleTitleClick(MouseEvent event) {
|
||||
|
||||
void handleTitleClick(MouseEvent event) throws IOException {
|
||||
App.setRoot("shop");
|
||||
}
|
||||
|
||||
@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