Class BudgetingController

java.lang.Object
no.ntnu.idatt1002.spendwise.budgeting.BudgetingController

public class BudgetingController extends Object
Class that controls the budgeting window.
  • Constructor Details

  • Method Details

    • dateChosen

      public void dateChosen()
      Triggers when the date is chosen.
    • addExpenseAmountPressed

      public void addExpenseAmountPressed()
      Triggers when the add expense amount button is pressed.
    • addIncomeAmountPressed

      public void addIncomeAmountPressed()
      Triggers when the add income amount button is pressed.
    • fillCharts

      public void fillCharts()
      Fills the charts displaying data.
    • switchToIncome

      public void switchToIncome(javafx.event.ActionEvent event) throws IOException
      Button that takes user to income.
      Parameters:
      event - mouse click.
      Throws:
      IOException - if wrong input detected.
    • switchToRecurringTransactions

      public void switchToRecurringTransactions(javafx.event.ActionEvent event) throws IOException
      Button that takes user to recurring transactions.
      Parameters:
      event - mouse click.
      Throws:
      IOException - if wrong input detected.
    • switchToEditIncome

      public void switchToEditIncome(javafx.event.ActionEvent event) throws IOException
      Button that takes user to edit income.
      Parameters:
      event - mouse click.
      Throws:
      IOException - if wrong input detected.
    • goHome

      public void goHome(javafx.event.ActionEvent event) throws IOException
      A button that opens the help option menu.
      Parameters:
      event - - mouse click
      Throws:
      IOException - - if wrong input detected
    • openHelpOption

      public void openHelpOption(javafx.event.ActionEvent actionEvent) throws IOException
      Trigger for opening the help option menu.
      Parameters:
      actionEvent - Mouse click
      Throws:
      IOException - If the FXML file is not found