Package MySTARS

Class LogoutView

java.lang.Object
MySTARS.View
MySTARS.LogoutView

public final class LogoutView
extends View
The log out page before being redirected to the LoginView.
Since:
2020-11-1
Version:
1.0
Author:
Nicolette
  • Constructor Summary

    Constructors 
    Constructor Description
    LogoutView()  
  • Method Summary

    Modifier and Type Method Description
    void print()
    Required method from View.

    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. Logs out the Database.CURRENT_USER and redirects user back to the log in page.
      Specified by:
      print in class View