Package src.view

Class MovieMenuView

Object
MovieMenuView

public class MovieMenuView extends Object
View for movie goer after successful login or register
Version:
1.0
Author:
Yeek Sheng, Jerick
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
    Static variable to return to MovieMenuView after successful payment
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new MovieMenuView with the movieGoer Constructs the MovieListView
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to take in the choice of the user and creates a corresponding view Available choices for MovieListView, MovieSearchView, MovieBookingHistoryView, MovieListRankingView Sets exit boolean to false if it is true
    void
    Method to print the boiler plate and displays the choices of the user

    Methods inherited from class Object

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

    • exit

      public static boolean exit
      Static variable to return to MovieMenuView after successful payment
  • Constructor Details

    • MovieMenuView

      public MovieMenuView(MovieGoer movieGoer)
      Creates a new MovieMenuView with the movieGoer Constructs the MovieListView
      Parameters:
      movieGoer - movieGoer accessing the view MovieGoer
  • Method Details

    • printMenu

      public void printMenu()
      Method to print the boiler plate and displays the choices of the user
    • appContent

      public void appContent()
      Method to take in the choice of the user and creates a corresponding view Available choices for MovieListView, MovieSearchView, MovieBookingHistoryView, MovieListRankingView Sets exit boolean to false if it is true