Uses of Class
Model.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
Modifier and TypeMethodDescriptionstatic ArrayList<UtilityBill>
StaffController.viewAllBills()
View All Utility Billsstatic ArrayList<UtilityBill>
StaffController.viewUserBills
(String username) View Utility Bills for a UserModifier and TypeMethodDescriptionstatic void
StaffController.printBills
(ArrayList<UtilityBill> bills, String title) Print Utility Bills -
Uses of UtilityBill in Model
Modifier and TypeFieldDescriptionprivate ArrayList<UtilityBill>
WrittenBills.bills
The list of utility bills.Modifier and TypeMethodDescriptionWrittenBills.findbill
(int billId) Finds a utility bill by its ID. -
Uses of UtilityBill in View
Modifier 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.Modifier 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.ModifierConstructorDescriptionEditBillView
(App app, UtilityBill utilityBill) Constructs a new EditBillView.