Package src.view
Class MovieDetailsView
View for movie goer to view the details of the movie
- Version:
- 1.0
- Author:
- Yeek Sheng, Jerick
-
Constructor Summary
ConstructorDescriptionMovieDetailsView
(String title, MovieGoer movieGoer) Creates a new MovieDetailsView with the title and movieGoer -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 bookingvoid
Method to take in the review and rating of the user for createMovieReviewvoid
Method to print the boiler plate, movie details and display the choices of the uservoid
Method to print out the basic details of the movie: Director, Cast, Movie Type Overall rating will be printed if availablevoid
Method to print out the different movie types available for the movievoid
Method that will print each of the reviews and ratings Reviews will not be displayed if number of reviews is less than 2void
Method to print the synopsis of the movieMethods inherited from class MainView
printBoilerPlate, printMenuContent
-
Constructor Details
-
MovieDetailsView
Creates a new MovieDetailsView with the title and movieGoer- Parameters:
title
- title of the moviemovieGoer
- 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 -
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 classMainView
-
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
-