Package moblima.boundaries
Class CustomerMenu
java.lang.Object
moblima.boundaries.Menu
moblima.boundaries.CustomerMenu
The type Customer menu.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets current customer.protected LinkedHashMap<String,
Runnable> Gets customer menu.static CustomerMenu
Gets instance.int
login()
Login int.int
Make booking int.int
register()
Register int.void
showMenu()
Show menu.void
View bookings.Methods inherited from class moblima.boundaries.Menu
awaitContinue, displayMenu, displayMenuList, displayMenuList, getListSelectionIdx, getListSelectionIdx, printChanges, refreshMenu, setDate, setDateTime, setDouble, setInt, setString
-
Method Details
-
getInstance
Gets instance.- Returns:
- the instance
-
showMenu
public void showMenu()Description copied from class:Menu
Show menu. -
getCustomerMenu
Gets customer menu.- Returns:
- the customer menu
-
getCurrentCustomer
public int getCurrentCustomer()Gets current customer.- Returns:
- the current customer
-
register
public int register()Register int.- Returns:
- the int
-
login
public int login()Login int.- Returns:
- the int
-
makeBooking
public int makeBooking()Make booking int.- Returns:
- the int
-
viewBookings
public void viewBookings()View bookings.
-