Package src.view

Class MovieListRankingView

Object
MainView
MovieListRankingView

public class MovieListRankingView extends MainView
View for movie goer to choose the ranking format of top 5 movies
Version:
1.0
Author:
Yeek Sheng, Jerick
  • Constructor Details

    • MovieListRankingView

      public MovieListRankingView()
      Creates a new MovieListRankingView with an empty errorMessage
  • Method Details

    • printMenu

      public void printMenu()
      Prints the boiler plate and displays the choices of the user
      Specified by:
      printMenu in class MainView
    • printTop5

      public void printTop5(int choice)
      Method to call rankTop5 based on choice and prints ranking Showing movies will be displayed with higher priority over End of show movies
      Parameters:
      choice - choice of the user to rank movies by ticket sales or overall rating The choice should be 1 or 2
    • appContent

      public void appContent()
      Method to take in choice of user as input for printing of ranking
      Specified by:
      appContent in class MainView