Package moblima.boundaries
Class CustomerMenu
java.lang.Object
moblima.boundaries.Menu
moblima.boundaries.CustomerMenu
The type Customer menu.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionintGets current customer.protected LinkedHashMap<String,Runnable> Gets customer menu.static CustomerMenuGets instance.intlogin()Login int.intMake booking int.intregister()Register int.voidshowMenu()Show menu.voidView 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:MenuShow 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.
-