Package trial.gaurav.customer
Class CustomerMenu
java.lang.Object
trial.gaurav.menu.Menu
trial.gaurav.customer.CustomerMenu
The `CustomerMenu` class represents a menu specific to customer management.
It extends the `Menu` class and provides options to add, view, delete, and display all customers.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomerMenu(LinkedList<Customer> cRecords) Constructs a new `CustomerMenu` object with the given customer records. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidsetup()Sets up the customer menu by adding menu items for various customer management actions.Methods inherited from class trial.gaurav.menu.Menu
collectUserChoice, display
-
Field Details
-
customerRecords
-
-
Constructor Details
-
CustomerMenu
Constructs a new `CustomerMenu` object with the given customer records.- Parameters:
cRecords- The linked list containing the customer records.
-
-
Method Details
-
setup
private void setup()Sets up the customer menu by adding menu items for various customer management actions. The method inserts the menu items with corresponding actions into the menu.
-