use of tab.TabAccess in project Money-Manager by krHasan.
the class SettingsController method mnuCreateSector.
@FXML
private void mnuCreateSector(ActionEvent event) {
(new TabAccess()).setTabName("tabSector");
Stage SettingsStage = (Stage) btnSignOut.getScene().getWindow();
(new GoToOperation()).goToSettings(SettingsStage);
}
use of tab.TabAccess in project Money-Manager by krHasan.
the class SettingsController method systembtnWalletBalance.
@FXML
private void systembtnWalletBalance(ActionEvent event) {
Stage SettingsStage = (Stage) btnDashboard.getScene().getWindow();
Alert confirmationMsg = new Alert(AlertType.INFORMATION);
confirmationMsg.setTitle("Starting Wallet Balance");
confirmationMsg.setHeaderText(null);
confirmationMsg.setContentText("Press \"Adjust Balance\" Button");
confirmationMsg.setX(SettingsStage.getX() + 200);
confirmationMsg.setY(SettingsStage.getY() + 170);
(new TabAccess()).setTabName("tabExpense");
(new GoToOperation()).goToMakeATransaction(SettingsStage);
Timeline idlestage = new Timeline(new KeyFrame(Duration.seconds(5), new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
confirmationMsg.hide();
}
}));
idlestage.setCycleCount(1);
idlestage.play();
confirmationMsg.showAndWait();
}
use of tab.TabAccess in project Money-Manager by krHasan.
the class SettingsController method btnMakeATransaction.
@FXML
private void btnMakeATransaction(ActionEvent event) {
(new TabAccess()).setTabName("tabGetMoney");
Stage SettingsStage = (Stage) btnDashboard.getScene().getWindow();
(new GoToOperation()).goToMakeATransaction(SettingsStage);
}
use of tab.TabAccess in project Money-Manager by krHasan.
the class TransactionHistoryController method mnuSectorSettings.
@FXML
private void mnuSectorSettings(ActionEvent event) {
(new TabAccess()).setTabName("tabSector");
Stage TransactionHistoryStage = (Stage) btnSignOut.getScene().getWindow();
(new GoToOperation()).goToSettings(TransactionHistoryStage);
}
use of tab.TabAccess in project Money-Manager by krHasan.
the class TransactionHistoryController method mnuLend.
@FXML
private void mnuLend(ActionEvent event) {
(new TabAccess()).setTabName("tabLend");
Stage TransactionHistoryStage = (Stage) btnSignOut.getScene().getWindow();
(new GoToOperation()).goToMakeATransaction(TransactionHistoryStage);
}
Aggregations