Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- saveBillsToFile() - Method in class Model.WrittenBills
-
Saves the utility bills to a file.
- saveButton - Variable in class View.EditBillView
-
A button for saving changes made to the bill's details.
- saveButton - Variable in class View.EditServiceView
-
Button to save the configured pricing information.
- saveCustomersToFile() - Method in class Controller.CustomerController
-
Save customer data to a file.
- savePricesToFile() - Static method in class Controller.ServiceController
-
Saves service prices from the
ServiceController.servicePrices
map to the prices file. - searchBar - Variable in class View.AdminDashboardView
-
A panel displaying the search bar with search input and button.
- searchResults - Variable in class View.AdminDashboardView
-
A panel displaying search results.
- searchResultsContainer - Variable in class View.AdminDashboardView
-
A panel displaying search results.
- selectionPane() - Method in class View.App
-
Displays the selection pane for login.
- serviceCharges - Variable in enum class Model.ServiceType
- ServiceController - Class in Controller
-
This class manages service prices for various service types.
- ServiceController() - Constructor for class Controller.ServiceController
- servicePriceLabel - Variable in class View.EditServiceView
-
Label displaying the price of the service.
- servicePrices - Static variable in class Controller.ServiceController
-
A map that associates
ServiceType
with an array ofDouble
to represent service prices. - servicesPanel - Variable in class View.AdminDashboardView
-
A panel displaying utility services and associated information.
- ServiceType - Enum Class in Model
-
The `ServiceType` enum represents various types of utility services, each with its associated unit charges and service charges.
- ServiceType(double, double) - Constructor for enum class Model.ServiceType
-
Constructs a `ServiceType` with the specified unit charges and service charges.
- setDate(String) - Method in class Model.UtilityBill
-
Sets the date for the utility bill.
- setEmail(String) - Method in class Model.Customer
-
Sets the email of the Customer.
- setMeterMeasurement(double) - Method in class Model.UtilityBill
-
sets the ID.
- setPassword(String) - Method in class Model.Customer
-
Sets the password of the Customer.
- setprice() - Method in class Model.UtilityBill
-
sets the price.
- setServiceCharges(double) - Method in enum class Model.ServiceType
-
Set the service charges for this service type.
- setShow(TextPrompt.Show) - Method in class View.includes.TextPrompt
-
Set the prompt Show property to control when the promt is shown.
- setShowPromptOnce(boolean) - Method in class View.includes.TextPrompt
-
Show the prompt once.
- setType(ServiceType) - Method in class Model.UtilityBill
-
Sets the service type for the utility bill.
- setUnitCharges(double) - Method in enum class Model.ServiceType
-
Set the unit charges for this service type.
- setUsername(String) - Method in class Model.Customer
-
Sets the username of the Customer.
- show - Variable in class View.includes.TextPrompt
-
The `show` field is of the `Show` enum type and controls when the prompt is displayed.
- Show() - Constructor for enum class View.includes.TextPrompt.Show
- showPasswordCheckBox - Variable in class View.CustomerRegistrationView
-
A checkbox that, when selected, makes the password fields visible.
- showPasswordCheckBox - Variable in class View.LoginView
-
A checkbox to toggle the password visibility.
- showPromptOnce - Variable in class View.includes.TextPrompt
-
The `showPromptOnce` field determines whether the prompt should be shown only once.
- StaffController - Class in Controller
-
StaffController Class
- StaffController() - Constructor for class Controller.StaffController
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form