Package app.ui.account
Class ChangePasswordView
java.lang.Object
app.ui.windows.Window
app.ui.account.ChangePasswordView
The ChangePasswordView class represents the UI window for changing a user's password.
It extends the Window class and provides functionality for password change.
-
Field Summary
Fields inherited from class app.ui.windows.Window
backColor, buffer, overlays, printColor, switchToWindow, widgets -
Constructor Summary
ConstructorsConstructorDescriptionChangePasswordView(int loginView, int studentMainViewIndex, int staffMainViewIndex) -
Method Summary
Modifier and TypeMethodDescriptionvoidThe main message loop handling user interactions within the ChangePasswordView.voidonExit()Performs necessary clean-up tasks upon exiting the ChangePasswordView.Methods inherited from class app.ui.windows.Window
addOverlay, addWidget, addWidgetAfter, clearArea, clearOuterArea, draw, getLenX, getLenY, getSwitchToWindow, getWidgetIndex, getX, getY, keyStroke, keyStrokeHelper, messageLoopHelper, removeWidget, selectNext, selectPrev, setClear, setPointer, setY, switchFrom
-
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:
messageLoopin classWindow
-
onExit
public void onExit()Performs necessary clean-up tasks upon exiting the ChangePasswordView. Clears button presses to avoid unintended behavior.
-