Package MySTARS

Class AddUserView

java.lang.Object
MySTARS.View
MySTARS.AddUserView

public final class AddUserView
extends View
Adds a new Student or Admin to the Database.USERS.
Since:
2020-11-1
Version:
1.0
Author:
Bhargav
  • Constructor Summary

    Constructors 
    Constructor Description
    AddUserView()  
  • Method Summary

    Modifier and Type Method Description
    void print()
    Required method from View.
    private void printAllStudents()
    Prints a list of students in the Database.

    Methods inherited from class MySTARS.View

    clearScreen

    Methods inherited from class java.lang.Object

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

  • Method Details

    • print

      public void print()
      Required method from View. Prints prompts for the user to input so that all key information to create Student or Admin is present.
      Specified by:
      print in class View
    • printAllStudents

      private void printAllStudents()
      Prints a list of students in the Database.