Search in sources :

Example 61 with GoToOperation

use of operation.GoToOperation in project Money-Manager by krHasan.

the class AboutController method mnuAbout.

@FXML
private void mnuAbout(ActionEvent event) {
    Stage AboutStage = (Stage) btnSignOut.getScene().getWindow();
    (new GoToOperation()).goToAbout(AboutStage);
}
Also used : Stage(javafx.stage.Stage) GoToOperation(operation.GoToOperation) FXML(javafx.fxml.FXML)

Example 62 with GoToOperation

use of operation.GoToOperation in project Money-Manager by krHasan.

the class AboutController method mnuSystemSettings.

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

Example 63 with GoToOperation

use of operation.GoToOperation in project Money-Manager by krHasan.

the class AboutController method mnuGetMoney.

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

Example 64 with GoToOperation

use of operation.GoToOperation in project Money-Manager by krHasan.

the class AboutController method mnuDashboard.

// ////////////////////////////////////////// Menu Function ////////////////////////////////////////////
// ---------------------------------------------------------------------------------------------------//
// all menu function
@FXML
private void mnuDashboard(ActionEvent event) {
    // create stage object
    Stage AboutStage = (Stage) btnSignOut.getScene().getWindow();
    // start expected stage
    (new GoToOperation()).goToDashboard(AboutStage);
}
Also used : Stage(javafx.stage.Stage) GoToOperation(operation.GoToOperation) FXML(javafx.fxml.FXML)

Example 65 with GoToOperation

use of operation.GoToOperation in project Money-Manager by krHasan.

the class AboutController method mnuSectorSettings.

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

Aggregations

FXML (javafx.fxml.FXML)152 Stage (javafx.stage.Stage)152 GoToOperation (operation.GoToOperation)152 TabAccess (tab.TabAccess)95 Alert (javafx.scene.control.Alert)11 KeyFrame (javafx.animation.KeyFrame)6 Timeline (javafx.animation.Timeline)6 ActionEvent (javafx.event.ActionEvent)6 EventHandler (javafx.event.EventHandler)5 ButtonType (javafx.scene.control.ButtonType)5 HashMap (java.util.HashMap)1 Label (javafx.scene.control.Label)1 TextField (javafx.scene.control.TextField)1 ComboboxList (operation.ComboboxList)1 DateFormatManager (system.DateFormatManager)1 DeleteUserCredentials (system.DeleteUserCredentials)1 Bkash (tab.Bkash)1 GetMoney (tab.GetMoney)1 Rocket (tab.Rocket)1