Package UI
Class LoginPage
java.lang.Object
Common.UserInterface
UI.LoginPage
The
LoginPage
class provides methods for user login functionality.
It extends UserInterface
and includes methods to retrieve user ID
and password input from the console.-
Field Summary
Fields inherited from class Common.UserInterface
scanner
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Common.UserInterface
displayError, displaySuccess, getIntInput, getNumericString, getValidatedInt, getValidatedString, pauseAndView
-
Constructor Details
-
LoginPage
public LoginPage()
-
-
Method Details
-
getUserId
Prompts the user to enter their user ID.- Returns:
- the user ID entered by the user
-
getPassword
Prompts the user to enter their password.- Returns:
- the password entered by the user
-