Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- calculateTotalPrice() - Static method in class Controller.StaffController
-
Calculate Total Price of Utility Bills
- cancelButton - Variable in class View.CustomerRegistrationView
-
The button for canceling the registration process.
- cancelButton - Variable in class View.LoginView
-
The button used to cancel the login process.
- cancelButton - Variable in class View.NewBillView
-
JButton for canceling the process of adding a new utility bill and returning to the previous view.
- changeAlpha(float) - Method in class View.includes.TextPrompt
-
Convenience method to change the alpha value of the current foreground Color to the specifice value.
- changeAlpha(int) - Method in class View.includes.TextPrompt
-
Convenience method to change the alpha value of the current foreground Color to the specifice value.
- changedUpdate(DocumentEvent) - Method in class View.includes.TextPrompt
-
Invoked when there is a change in the associated text component's document.
- changeStyle(int) - Method in class View.includes.TextPrompt
-
Convenience method to change the style of the current Font.
- checkForPrompt() - Method in class View.includes.TextPrompt
-
Check whether the prompt should be visible or not.
- component - Variable in class View.includes.TextPrompt
-
The `component` field represents the associated `JTextComponent` where the prompt is displayed.
- confirmPasswordField - Variable in class View.CustomerRegistrationView
-
The password field for confirming the user's password.
- Controller - package Controller
-
The Controller package contains classes that handle the control and logic of the application.
- createAdminInfoPanel() - Method in class View.AdminDashboardView
-
Creates and returns the admin information panel with account details and a logout button.
- createBillPanel(UtilityBill) - Method in class View.AdminDashboardView
-
Creates a panel to display detailed information about a utility bill.
- createBillPanel(UtilityBill) - Method in class View.CustomerDashboardView
-
Creates a panel to display information about a utility bill.
- createContentPane() - Method in class View.AdminDashboardView
-
Creates and returns the content pane for displaying search results.
- createContentPane() - Method in class View.CustomerDashboardView
-
Creates a content pane for the application.
- createCurrentBillsPanel(ArrayList<UtilityBill>) - Method in class View.CustomerDashboardView
-
Creates a panel to display a list of current utility bills.
- createCustomerInfoPanel() - Method in class View.CustomerDashboardView
-
Creates a panel displaying customer information.
- createEditableLabel(String) - Method in class View.EditBillView
-
The createEditableLabel method generates an editable label with the specified text, font, alignment, and border.
- createEditableLabel(String) - Method in class View.EditServiceView
-
Creates and configures an editable label for display in the user interface.
- createEditButton(String, JLabel) - Method in class View.EditBillView
-
The createEditButton method generates an edit button with the specified text, font, and functionality for modifying the content of a target JLabel when clicked.
- createEditButton(String, JLabel) - Method in class View.EditServiceView
-
Creates and configures an edit button for interaction in the user interface.
- createFieldLabel(String) - Method in class View.EditBillView
-
The createFieldLabel method generates a custom label with specified text, font, alignment, and border.
- createFieldLabel(String) - Method in class View.EditServiceView
-
Creates and configures a field label for display in the user interface.
- createResultsPanel(ArrayList<UtilityBill>) - Method in class View.AdminDashboardView
-
Creates a panel to display utility bill information.
- createSearchBar() - Method in class View.AdminDashboardView
-
Creates and returns the search bar panel with search input and button.
- createServicesPanel() - Method in class View.AdminDashboardView
-
Creates and returns the services panel displaying utility services and associated information.
- createTotalPanel() - Method in class View.AdminDashboardView
-
Creates a panel to display the total utility bill cost.
- currentBillsPanel - Variable in class View.CustomerDashboardView
-
The current bills panel.
- customer - Variable in class View.CustomerDashboardView
-
The customer object.
- Customer - Class in Model
-
The Customer class represents a customer in the utility management system.
- Customer(String, String, String) - Constructor for class Model.Customer
-
Constructs a Customer instance with the specified username, password, and email.
- customerController - Variable in class View.App
-
The controller for managing customer-related operations.
- CustomerController - Class in Controller
-
This class is responsible for managing customer data, including registration, login, and data persistence.
- CustomerController() - Constructor for class Controller.CustomerController
-
Constructor for the CustomerController class that initializes the list of customers and loads customer data from a file.
- customerDashboard() - Method in class View.App
-
Opens the customer dashboard view.
- customerDashboardView - Variable in class View.App
-
The view for the customer dashboard.
- CustomerDashboardView - Class in View
-
The CustomerDashboardView class represents the dashboard view for a customer in the application.
- CustomerDashboardView(App, Customer) - Constructor for class View.CustomerDashboardView
-
CustomerDashboardView represents the dashboard view for a customer in the application.
- customerInfoPanel - Variable in class View.CustomerDashboardView
-
The customer information panel.
- customerLogin() - Method in class View.App
-
Displays the customer login view.
- customerLoginView - Variable in class View.App
-
The view for customer login.
- CustomerLoginView - Class in View
-
The CustomerLoginView class represents the login view for customers in the application.
- CustomerLoginView(App) - Constructor for class View.CustomerLoginView
-
Constructs a CustomerLoginView with the specified parent application.
- customerRegistrationView - Variable in class View.App
-
The view for customer registration.
- CustomerRegistrationView - Class in View
-
The CustomerRegistrationView class represents a graphical user interface for customer registration.
- CustomerRegistrationView(App) - Constructor for class View.CustomerRegistrationView
-
Constructs the customer registration view.
- customers - Variable in class Controller.CustomerController
-
A list that holds customer objects.
- customersFilePath - Variable in class Controller.CustomerController
-
The file path for storing customer data.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form