Class ScreenBoundary

java.lang.Object
Boundary
ScreenBoundary
All Implemented Interfaces:
Base, BaseBoundary

public class ScreenBoundary extends Boundary implements BaseBoundary
A ScreenBoundary object that extends Boundary and implements BaseBoundary interface

A ScreenBoundary object used to process all Screen object related input and output

  • Field Details

    • screenManager

      ScreenManager screenManager
      contains the screenManager to process all screen related objects
    • masterScreens

      ArrayList<ScreenEY> masterScreens
      The master list of screenEY objects
  • Constructor Details

    • ScreenBoundary

      public ScreenBoundary()
      Constructor for ScreenBoundary
  • Method Details

    • setMasterArrays

      public void setMasterArrays()
      Method to set master screen
    • getCineplex

      public String getCineplex()
      Method to get cineplex name from user
      Returns:
      The cineplex name
    • getScreen

      public String getScreen()
      Method to get screen name from user
      Returns:
      The screen name
    • getScreenClass

      public String getScreenClass()
      Method to get screen class from user
      Returns:
      The screen type
    • getNumberOfRows

      public int getNumberOfRows()
      Method to get number of rows from user
      Returns:
      The number of rows
    • getSeatPerRow

      public int getSeatPerRow()
      Method to get number of seat per row from user
      Returns:
      The number of seats per row
    • printAllScreens

      public void printAllScreens()
      Method to print all screens
    • getScreenMenuChoice

      public int getScreenMenuChoice()
      Method to get choice from screen menu
      Returns:
      The choice
    • screenOperations

      public void screenOperations()
      Method to perform screen operations base on screen menu choice
    • setManagers

      public void setManagers()
      Method to set the Managers
      Specified by:
      setManagers in interface Base
    • setBoundaries

      public void setBoundaries()
      Method to set boundaries
      Specified by:
      setBoundaries in interface BaseBoundary