Class LoginController

java.lang.Object
csce331.group13.project2.ui.LoginController

public class LoginController extends Object
Controller for the login screen. Handles employee authentication and session initialization.
Author:
Austin Glander
  • Constructor Details

    • LoginController

      public LoginController()
  • Method Details

    • initialize

      public void initialize()
      Initializes the login screen by loading active employees into the choice box. Called automatically by JavaFX after the FXML file is loaded.
    • processLogin

      public void processLogin()
      Processes login attempts by verifying the selected employee and password. On successful authentication, navigates to the orders screen and sets the session.