Package MySTARS

Class View

java.lang.Object
MySTARS.View
Direct Known Subclasses:
AddCourseView, AddUserView, AdminMainView, ChangeIndexView, LoginView, LogoutView, PrintStudentListView, PrintTimeTableView, StudentMainView, SwapIndexView, UpdateCourseView, VacanciesView

public abstract class View
extends java.lang.Object
The abstract superclass of all views in the application.
Since:
2020-11-1
Version:
1.0
Author:
Bhargav, Nicolette
  • Constructor Summary

    Constructors 
    Constructor Description
    View()  
  • Method Summary

    Modifier and Type Method Description
    protected void clearScreen​(java.lang.String directory)
    ClearScreen function that prints a header as well as the current view that the User is in.
    abstract void print()
    Necessary print functions that will be used as the start point of every view.

    Methods inherited from class java.lang.Object

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

    • View

      public View()
  • Method Details

    • print

      public abstract void print()
      Necessary print functions that will be used as the start point of every view.
    • clearScreen

      protected void clearScreen​(java.lang.String directory)
      ClearScreen function that prints a header as well as the current view that the User is in.
      Parameters:
      directory - The path of the current view that the user is in.