use of operation.GoToOperation in project Money-Manager by krHasan.
the class HelpController method mnuUndo.
@FXML
private void mnuUndo(ActionEvent event) {
Stage HelpStage = (Stage) btnSignOut.getScene().getWindow();
Alert alert = new Alert(AlertType.CONFIRMATION);
alert.setTitle("Action Failed");
alert.setHeaderText("Undo Function Works Only From \"Make A Transaction\" and \"History\" Window");
alert.setContentText("Press \"OK\" to go to \"Make A Transaction\" window");
alert.setX(HelpStage.getX() + 60);
alert.setY(HelpStage.getY() + 170);
Optional<ButtonType> result = alert.showAndWait();
if (result.get() == ButtonType.OK) {
// name of which Tab should open
(new TabAccess()).setTabName("tabGetMoney");
(new GoToOperation()).goToMakeATransaction(HelpStage);
}
}
use of operation.GoToOperation in project Money-Manager by krHasan.
the class HelpController method mnuAbout.
@FXML
private void mnuAbout(ActionEvent event) {
Stage HelpStage = (Stage) btnSignOut.getScene().getWindow();
(new GoToOperation()).goToAbout(HelpStage);
}
use of operation.GoToOperation in project Money-Manager by krHasan.
the class HelpController method mnuGetMoney.
@FXML
private void mnuGetMoney(ActionEvent event) {
(new TabAccess()).setTabName("tabGetMoney");
Stage HelpStage = (Stage) btnSignOut.getScene().getWindow();
(new GoToOperation()).goToMakeATransaction(HelpStage);
}
use of operation.GoToOperation in project Money-Manager by krHasan.
the class HelpController method mnuSectorSettings.
@FXML
private void mnuSectorSettings(ActionEvent event) {
(new TabAccess()).setTabName("tabSector");
Stage HelpStage = (Stage) btnSignOut.getScene().getWindow();
(new GoToOperation()).goToSettings(HelpStage);
}
use of operation.GoToOperation in project Money-Manager by krHasan.
the class HelpController method mnuHowTo.
@FXML
private void mnuHowTo(ActionEvent event) {
Stage HelpStage = (Stage) btnSignOut.getScene().getWindow();
(new GoToOperation()).goToHelp(HelpStage);
}
Aggregations