Search in sources :

Example 61 with TabAccess

use of tab.TabAccess in project Money-Manager by krHasan.

the class DashboardController method mnuBank.

@FXML
private void mnuBank(ActionEvent event) {
    (new TabAccess()).setTabName("tabBank");
    Stage DashboardStage = (Stage) btnSignOut.getScene().getWindow();
    (new GoToOperation()).goToMakeATransaction(DashboardStage);
}
Also used : Stage(javafx.stage.Stage) GoToOperation(operation.GoToOperation) TabAccess(tab.TabAccess) FXML(javafx.fxml.FXML)

Example 62 with TabAccess

use of tab.TabAccess in project Money-Manager by krHasan.

the class DashboardController method mnuSourceSettings.

@FXML
private void mnuSourceSettings(ActionEvent event) {
    (new TabAccess()).setTabName("tabSource");
    Stage DashboardStage = (Stage) btnSignOut.getScene().getWindow();
    (new GoToOperation()).goToSettings(DashboardStage);
}
Also used : Stage(javafx.stage.Stage) GoToOperation(operation.GoToOperation) TabAccess(tab.TabAccess) FXML(javafx.fxml.FXML)

Example 63 with TabAccess

use of tab.TabAccess in project Money-Manager by krHasan.

the class DashboardController method goToMakeAtransaction.

@FXML
private void goToMakeAtransaction(ActionEvent event) {
    (new TabAccess()).setTabName("tabGetMoney");
    Stage DashboardStage = (Stage) btnMakeATransaction.getScene().getWindow();
    goToMakeATransaction(DashboardStage);
}
Also used : Stage(javafx.stage.Stage) TabAccess(tab.TabAccess) FXML(javafx.fxml.FXML)

Example 64 with TabAccess

use of tab.TabAccess in project Money-Manager by krHasan.

the class DashboardController method mnuGetMoney.

@FXML
private void mnuGetMoney(ActionEvent event) {
    // define which tab should open
    (new TabAccess()).setTabName("tabGetMoney");
    Stage DashboardStage = (Stage) btnSignOut.getScene().getWindow();
    (new GoToOperation()).goToMakeATransaction(DashboardStage);
}
Also used : Stage(javafx.stage.Stage) GoToOperation(operation.GoToOperation) TabAccess(tab.TabAccess) FXML(javafx.fxml.FXML)

Example 65 with TabAccess

use of tab.TabAccess in project Money-Manager by krHasan.

the class DashboardController method mnuCreateSource.

@FXML
private void mnuCreateSource(ActionEvent event) {
    (new TabAccess()).setTabName("tabSource");
    Stage DashboardStage = (Stage) btnSignOut.getScene().getWindow();
    (new GoToOperation()).goToSettings(DashboardStage);
}
Also used : Stage(javafx.stage.Stage) GoToOperation(operation.GoToOperation) TabAccess(tab.TabAccess) FXML(javafx.fxml.FXML)

Aggregations

FXML (javafx.fxml.FXML)100 TabAccess (tab.TabAccess)100 Stage (javafx.stage.Stage)99 GoToOperation (operation.GoToOperation)95 Alert (javafx.scene.control.Alert)7 ButtonType (javafx.scene.control.ButtonType)6 GoToRegistration (operation.GoToRegistration)2 KeyFrame (javafx.animation.KeyFrame)1 Timeline (javafx.animation.Timeline)1 ActionEvent (javafx.event.ActionEvent)1 EventHandler (javafx.event.EventHandler)1 Tooltip (javafx.scene.control.Tooltip)1 SignInModel (model.SignInModel)1