Package Roots

Class LoginRoot


  • public final class LoginRoot
    extends SceneRoot
    Class for the login root
    • Constructor Summary

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

      Modifier and Type Method Description
      (package private) javafx.scene.control.Label getLOG_IN_LABEL()  
      private void login()
      Method that is ran when logging in to the application Used in setLayout
      (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

      • USERNAME_LABEL

        private final javafx.scene.control.Label USERNAME_LABEL
      • USERNAME_FIELD

        private final javafx.scene.control.TextField USERNAME_FIELD
      • PASSWORD_LABEL

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

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

        private final javafx.scene.control.Label LOG_IN_LABEL
      • LOG_IN_BUTTON

        private final javafx.scene.control.Button LOG_IN_BUTTON
      • SIGN_UP_BUTTON

        private final javafx.scene.control.Button SIGN_UP_BUTTON
      • LOADING_ANIMATION

        private final javafx.scene.control.ProgressIndicator LOADING_ANIMATION
    • Constructor Detail

      • LoginRoot

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

      • getLOG_IN_LABEL

        javafx.scene.control.Label getLOG_IN_LABEL()
      • 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
      • login

        private void login()
        Method that is ran when logging in to the application Used in setLayout