Uses of Class
Model.UtilityBill
Packages that use UtilityBill
Package
Description
The Controller package contains classes that handle the control and logic of the application.
The Model package contains classes that represent the data and business logic of the application.
The View package contains classes related to the user interface (UI) of the application.
-
Uses of UtilityBill in Controller
Methods in Controller that return types with arguments of type UtilityBillModifier and TypeMethodDescriptionstatic ArrayList<UtilityBill>
StaffController.viewAllBills()
View All Utility Billsstatic ArrayList<UtilityBill>
StaffController.viewUserBills
(String username) View Utility Bills for a UserMethod parameters in Controller with type arguments of type UtilityBillModifier and TypeMethodDescriptionstatic void
StaffController.printBills
(ArrayList<UtilityBill> bills, String title) Print Utility Bills -
Uses of UtilityBill in Model
Fields in Model with type parameters of type UtilityBillModifier and TypeFieldDescriptionprivate ArrayList<UtilityBill>
WrittenBills.bills
The list of utility bills.Methods in Model that return UtilityBillModifier and TypeMethodDescriptionWrittenBills.findbill
(int billId) Finds a utility bill by its ID.Methods in Model that return types with arguments of type UtilityBill -
Uses of UtilityBill in View
Methods in View with parameters of type UtilityBillModifier and TypeMethodDescriptionprivate JPanel
AdminDashboardView.createBillPanel
(UtilityBill bill) Creates a panel to display detailed information about a utility bill.private JPanel
CustomerDashboardView.createBillPanel
(UtilityBill bill) Creates a panel to display information about a utility bill.protected void
App.editBillPage
(UtilityBill utilityBill) Opens the edit bill page for a specific utility bill.Method parameters in View with type arguments of type UtilityBillModifier and TypeMethodDescriptionprivate JPanel
CustomerDashboardView.createCurrentBillsPanel
(ArrayList<UtilityBill> bills) Creates a panel to display a list of current utility bills.private JPanel
AdminDashboardView.createResultsPanel
(ArrayList<UtilityBill> bills) Creates a panel to display utility bill information.Constructors in View with parameters of type UtilityBillModifierConstructorDescriptionEditBillView
(App app, UtilityBill utilityBill) Constructs a new EditBillView.