Class LoginApplication

java.lang.Object
javafx.application.Application
com.example.wellbeing_project.login.LoginApplication

public class LoginApplication extends javafx.application.Application
Creates the integrative GUI for users to login.
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.application.Application

    javafx.application.Application.Parameters
  • Field Summary

    Fields inherited from class javafx.application.Application

    STYLESHEET_CASPIAN, STYLESHEET_MODENA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The main method used to launch the application
    void
    openHomeApplication(javafx.stage.Stage stage)
    Method to close the current stage and open the Home Application stage.
    void
    openSignup(javafx.stage.Stage stage)
     
    void
    start(javafx.stage.Stage stage)
     
    void
     

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoginApplication

      public LoginApplication()
  • Method Details

    • start

      public void start(javafx.stage.Stage stage) throws IOException
      Specified by:
      start in class javafx.application.Application
      Throws:
      IOException
    • openSignup

      public void openSignup(javafx.stage.Stage stage)
    • stop

      public void stop() throws Exception
      Overrides:
      stop in class javafx.application.Application
      Throws:
      Exception
    • openHomeApplication

      public void openHomeApplication(javafx.stage.Stage stage)
      Method to close the current stage and open the Home Application stage.
      Parameters:
      stage - The stage to be closed
    • main

      public static void main(String[] args)
      The main method used to launch the application
      Parameters:
      args - command line arguments.