Class HomeApplication

java.lang.Object
javafx.application.Application
com.example.wellbeing_project.HomeApplication

public class HomeApplication extends javafx.application.Application
JavaFX Application clss for the home screen.
  • Nested Class Summary

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

    javafx.application.Application.Parameters
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final String
     
    static final int
     

    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 that launches the JavaFX application.
    void
    start(javafx.stage.Stage stage)
    Starts the JavaFX application by loading the home view FXML and setting up the scene.

    Methods inherited from class javafx.application.Application

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

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • HomeApplication

      public HomeApplication()
  • Method Details

    • start

      public void start(javafx.stage.Stage stage) throws IOException
      Starts the JavaFX application by loading the home view FXML and setting up the scene.
      Specified by:
      start in class javafx.application.Application
      Parameters:
      stage - The primary stage for the application.
      Throws:
      IOException - If an error occurs while opening the FXML.
    • main

      public static void main(String[] args)
      The main method that launches the JavaFX application.
      Parameters:
      args - Command-line Arguments.