Package src.view

Class MovieDetailsView

Object
MainView
MovieDetailsView

public class MovieDetailsView extends MainView
View for movie goer to view the details of the movie
Version:
1.0
Author:
Yeek Sheng, Jerick
  • Constructor Summary

    Constructors
    Constructor
    Description
    MovieDetailsView(String title, MovieGoer movieGoer)
    Creates a new MovieDetailsView with the title and movieGoer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to print out further details of the movie: Synopsis, Past Reviews User will be able to add reviews and view the different types of the movie for booking
    void
    Method to take in the review and rating of the user for createMovieReview
    void
    Method to print the boiler plate, movie details and display the choices of the user
    void
    Method to print out the basic details of the movie: Director, Cast, Movie Type Overall rating will be printed if available
    void
    Method to print out the different movie types available for the movie
    void
    Method that will print each of the reviews and ratings Reviews will not be displayed if number of reviews is less than 2
    void
    Method to print the synopsis of the movie

    Methods inherited from class MainView

    printBoilerPlate, printMenuContent

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MovieDetailsView

      public MovieDetailsView(String title, MovieGoer movieGoer)
      Creates a new MovieDetailsView with the title and movieGoer
      Parameters:
      title - title of the movie
      movieGoer - movieGoer accessing the view
  • Method Details

    • printMovieDetails

      public void printMovieDetails()
      Method to print out the basic details of the movie: Director, Cast, Movie Type Overall rating will be printed if available
    • printMenu

      public void printMenu()
      Method to print the boiler plate, movie details and display the choices of the user
      Specified by:
      printMenu in class MainView
    • appContent

      public void appContent()
      Method to print out further details of the movie: Synopsis, Past Reviews User will be able to add reviews and view the different types of the movie for booking
      Specified by:
      appContent in class MainView
    • printSynopsis

      public void printSynopsis()
      Method to print the synopsis of the movie
    • printPastReviews

      public void printPastReviews()
      Method that will print each of the reviews and ratings Reviews will not be displayed if number of reviews is less than 2
    • printAddReview

      public void printAddReview()
      Method to take in the review and rating of the user for createMovieReview
    • printMovieType

      public void printMovieType()
      Method to print out the different movie types available for the movie