Package src.view
Class StaffMovieListRankingView
View for cinema staffs to view the top five ranked movies based on ticket
sales or overall review ratings
- Version:
- 1.0
- Author:
- Jonathan Ng
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method to get cinema staff's choice and to call printTop5 methodvoid
Method to print boiler platevoid
printTop5
(int choice) Method to print top five movies for cinema staff based on either ticket sales or overall review ratingsMethods inherited from class MainView
printBoilerPlate, printMenuContent
-
Constructor Details
-
StaffMovieListRankingView
public StaffMovieListRankingView()Constructor for StaffMovieListRankingView
-
-
Method Details
-
printMenu
public void printMenu()Method to print boiler plate -
printTop5
public void printTop5(int choice) Method to print top five movies for cinema staff based on either ticket sales or overall review ratings- Parameters:
choice
- choice made by cinema staff whether to view rank by ticket sales or overall ratings
-
appContent
public void appContent()Method to get cinema staff's choice and to call printTop5 method- Specified by:
appContent
in classMainView
-