Class ChangePasswordView

java.lang.Object
app.ui.windows.Window
app.ui.account.ChangePasswordView

public class ChangePasswordView extends Window
The ChangePasswordView class represents the UI window for changing a user's password. It extends the Window class and provides functionality for password change.
  • Constructor Details

    • ChangePasswordView

      public ChangePasswordView(int loginView, int studentMainViewIndex, int staffMainViewIndex)
  • Method Details

    • messageLoop

      public void messageLoop()
      The main message loop handling user interactions within the ChangePasswordView. Checks for button presses and performs password change logic based on user input.
      Overrides:
      messageLoop in class Window
    • onExit

      public void onExit()
      Performs necessary clean-up tasks upon exiting the ChangePasswordView. Clears button presses to avoid unintended behavior.
      Overrides:
      onExit in class Window