Uses of Enum Class
no.ntnu.idatt1002.demo.data.economics.IncomeCategory
Packages that use IncomeCategory
-
Uses of IncomeCategory in no.ntnu.idatt1002.demo.controller
Methods in no.ntnu.idatt1002.demo.controller that return IncomeCategoryModifier and TypeMethodDescriptionAddIncomeController.getCategory()
Gets the value of the category box. -
Uses of IncomeCategory in no.ntnu.idatt1002.demo.data.economics
Methods in no.ntnu.idatt1002.demo.data.economics that return IncomeCategoryModifier and TypeMethodDescriptionIncome.getCategory()
The method returns the category to which the Income belongs as a value of the IncomeCategory enum.static IncomeCategory
Returns the enum constant of this class with the specified name.static IncomeCategory[]
IncomeCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in no.ntnu.idatt1002.demo.data.economics that return types with arguments of type IncomeCategoryModifier and TypeMethodDescriptionjavafx.beans.property.ObjectProperty<IncomeCategory>
Income.incomeCategoryObjectProperty()
Gets the ObjectProperty of the category value.Methods in no.ntnu.idatt1002.demo.data.economics with parameters of type IncomeCategoryModifier and TypeMethodDescriptionIncomeRegister.getIncomeByCategory
(IncomeCategory category) Method for getting every Income in a given IncomeCategory.void
Income.setCategory
(IncomeCategory category) The method sets the category of an item to a value of the Category enum class.Constructors in no.ntnu.idatt1002.demo.data.economics with parameters of type IncomeCategoryModifierConstructorDescriptionIncome
(double amount, boolean recurring, IncomeCategory category, LocalDate date) This constructor uses the super constructor to set the fields for 'amount' and 'recurring' and then sets the category.Income
(String description, double amount, boolean recurring, IncomeCategory category, LocalDate date) This constructor uses the super constructor to set the fields for 'amount', 'description' and 'recurring' and then sets the category.