java.lang.Object
javafx.application.Application
de.seggebaeing.sqlanalyzer.App

public class App extends javafx.application.Application
JavaFX entry point of the SQL Analyzer desktop application.

Responsibilities:

  • Bootstraps application services and de.seggebaeing.sqlanalyzer.persistence base path.
  • Delegates UI creation to the WindowManager.
  • Logs lifecycle events during startup.

Threading: start(javafx.stage.Stage) is invoked on the JavaFX Application Thread. No additional background threads are started here; long-running work should be scheduled by the respective services or worker classes.

Since:
1.0
Author:
Felix Seggebäing
See Also:
Implementation Note:
This class intentionally contains minimal wiring to keep the application bootstrap small and testable.
API Note:
Ensure that ConfigService can resolve a valid saves base path before startup, otherwise de.seggebaeing.sqlanalyzer.persistence initialization may fail.
  • 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
    App()
    Default constructor required by JavaFX runtime.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    start(javafx.stage.Stage primaryStage)
    Initializes and displays the primary application window.

    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

    • App

      public App()
      Default constructor required by JavaFX runtime.
  • Method Details

    • start

      public void start(javafx.stage.Stage primaryStage)
      Initializes and displays the primary application window.

      This method is invoked automatically by the JavaFX runtime after the application has been launched via Main.main(String[]). It performs the following steps:

      1. Logs the startup event.
      2. Initializes de.seggebaeing.sqlanalyzer.persistence by resolving the saves base path from ConfigService and passing it to PersistenceHelper.
      3. Delegates UI setup and display to WindowManager.start(Stage).
      Specified by:
      start in class javafx.application.Application
      Parameters:
      primaryStage - the primary stage provided by the JavaFX runtime
      See Also: