Class Main

    • Nested Class Summary

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

        javafx.application.Application.Parameters
    • Constructor Summary

      Constructors 
      Constructor Description
      Main()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init()
      This method allows to change some default settings, if needed.
      static void main​(java.lang.String... args)
      Usually main() does nothing more than a typical main() of a typical JavaFX application.
      protected void onStageCreated​(org.springframework.context.ApplicationContext applicationContext)
      Invoked when the Stage is created and the ApplicationContext has been initialized.
      • Methods inherited from class javafx.application.Application

        getHostServices, getParameters, getUserAgentStylesheet, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
      • Methods inherited from class java.lang.Object

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

      • Main

        public Main()
    • Method Detail

      • main

        public static void main​(@Nonnull
                                java.lang.String... args)
        Usually main() does nothing more than a typical main() of a typical JavaFX application. JavaFX and Spring are automatically booted with an implicit configuration:
        • The FXML resource for the main UI is loaded from the same package as this class, and the name's Application.fxml
        • A splash screen is created from a FXML resource in the same package as this class and name Splash.fxml, It is rendered on the screen while the system is initialised in background.
      • onStageCreated

        protected void onStageCreated​(@Nonnull
                                      org.springframework.context.ApplicationContext applicationContext)
        Invoked when the Stage is created and the ApplicationContext has been initialized. Typically the main class overrides this, retrieves a reference to the main controller and boots it. This method is executed in a background thread. This method retrieves a reference to the main controller and boots it.
        Overrides:
        onStageCreated in class JavaFXSpringApplication
        Parameters:
        applicationContext - the application context