Uses of Class
no.ntnu.idatt1002.demo.data.budget.BudgetItem
Packages that use BudgetItem
-
Uses of BudgetItem in no.ntnu.idatt1002.demo.controller
Methods in no.ntnu.idatt1002.demo.controller that return BudgetItemModifier and TypeMethodDescriptionAddBudgetController.getNewBudgetItem()Gets the newly created budget item.Methods in no.ntnu.idatt1002.demo.controller with parameters of type BudgetItemModifier and TypeMethodDescriptionvoidAddBudgetController.setBudget(BudgetItem item) Binds the item that is taken in as the argument with a budget item declared in this class.voidBudgetBarController.setData(BudgetItem budgetItem, double leftovers) The setData method is called to fill the BudgetBar instance with information of a particular Budget post (BudgetItem), that is the name of the budget, it's progress bar and money left. -
Uses of BudgetItem in no.ntnu.idatt1002.demo.data.budget
Methods in no.ntnu.idatt1002.demo.data.budget that return BudgetItemModifier and TypeMethodDescriptionGeneralBudget.getBudgetItem(ExpenseCategory expenseCategory) Method for getting a Specific BudgetItem from budgetItems.Methods in no.ntnu.idatt1002.demo.data.budget that return types with arguments of type BudgetItemMethods in no.ntnu.idatt1002.demo.data.budget with parameters of type BudgetItemModifier and TypeMethodDescriptionvoidGeneralBudget.addToBudgetBudgetItem(BudgetItem budgetItem) This method adds a budgetItem to the list of budgetItems in the generalBudget.Constructor parameters in no.ntnu.idatt1002.demo.data.budget with type arguments of type BudgetItemModifierConstructorDescriptionGeneralBudget(List<BudgetItem> budgetItems, double maxAmount) Class constructor.GeneralBudget(List<BudgetItem> budgetItems, double maxAmount, Savings savings) Constructor for a general budget, which is an entire budget project, set for a given month.