Package Roots

Class DeleteUserRoot


  • final class DeleteUserRoot
    extends SceneRoot
    Class for the delete user root
    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteUserRoot()
      DeleteUserRoot constructor Uses SceneRoot constructor to create an object of the DeleteUserRoot class
    • Method Summary

      Modifier and Type Method Description
      private void deleteUser()
      Deletes the current user's user If the password is correct and the user confirms the choice
      (package private) void setLayout()
      Overrides SceneRoot method.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INSTRUCTIONS_LABEL

        private final javafx.scene.control.Label INSTRUCTIONS_LABEL
      • PASSWORD_FIELD

        private final javafx.scene.control.PasswordField PASSWORD_FIELD
      • FEEDBACK_LABEL

        private final javafx.scene.control.Label FEEDBACK_LABEL
      • DELETE_USER_BUTTON

        private final javafx.scene.control.Button DELETE_USER_BUTTON
    • Constructor Detail

      • DeleteUserRoot

        DeleteUserRoot()
        DeleteUserRoot constructor Uses SceneRoot constructor to create an object of the DeleteUserRoot class
    • Method Detail

      • setLayout

        void setLayout()
        Overrides SceneRoot method. Assigns layout components to RootBuilders GridPane Sets styling to layout components Sets functionality to button nodes Used in constructor
        Overrides:
        setLayout in class SceneRoot
      • deleteUser

        private void deleteUser()
        Deletes the current user's user If the password is correct and the user confirms the choice