Class ProfileApplication

java.lang.Object
javafx.application.Application
com.example.wellbeing_project.profile.ProfileApplication

public class ProfileApplication extends javafx.application.Application
Class for managing the profile view for the application.
  • 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)
    Method used to launch the application.
    void
    start(javafx.stage.Stage stage)
    Starts the application by setting up the primary stage with the profile view.

    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
  • Constructor Details

    • ProfileApplication

      public ProfileApplication()
  • Method Details

    • start

      public void start(javafx.stage.Stage stage) throws IOException
      Starts the application by setting up the primary stage with the profile view.
      Specified by:
      start in class javafx.application.Application
      Parameters:
      stage - the primary stage for this class.
      Throws:
      IOException - if the FXML file cannot be loaded.
    • main

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