- java.lang.Object
-
- views.CommonView
-
public class CommonView extends java.lang.Object
TheCommonView
class provides utility methods for displaying user interface components in the console.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Scanner
sc
Scanner
object to get input from the user.
-
Constructor Summary
Constructors Modifier Constructor Description private
CommonView()
Private constructor to prevent instantiation of the class.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
pressEnterToContinue()
Prompts the user to press the "Enter" key to continue with the application.static void
printNavbar(java.lang.String path)
Prints the navigation bar with the given path.static void
printSplashScreen()
Prints the splash screen for the Final Year Project Management System (FYPMS).
-
-
-
Method Detail
-
printSplashScreen
public static void printSplashScreen()
Prints the splash screen for the Final Year Project Management System (FYPMS).
-
printNavbar
public static void printNavbar(java.lang.String path)
Prints the navigation bar with the given path.- Parameters:
path
- the path to be displayed in the navigation bar
-
pressEnterToContinue
public static void pressEnterToContinue()
Prompts the user to press the "Enter" key to continue with the application.
-
-