@Component
public class SingleSceneSpringJavaFxApplication
extends javafx.application.Application
applicationLauncher() in order to get the static builder initializer. Use
SingleSceneSpringJavaFxApplication.FxLauncher.launch(String...) in order to start the JavaFx application. Once started, a Spring context is
created and a Scene bean is created. Use the Perspective beans to build your application. In order to
customize the JavaFx Stage, use the SingleSceneSpringJavaFxApplication.FxLauncher.| Modifier and Type | Class and Description |
|---|---|
static class |
SingleSceneSpringJavaFxApplication.FxLauncher |
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Consumer<javafx.stage.WindowEvent> |
EXIT_ON_CLOSE |
| Constructor and Description |
|---|
SingleSceneSpringJavaFxApplication() |
| Modifier and Type | Method and Description |
|---|---|
static SingleSceneSpringJavaFxApplication.FxLauncher |
applicationLauncher()
Returns the static builder of
SingleSceneSpringJavaFxApplication. |
void |
start(javafx.stage.Stage primaryStage) |
public static final java.util.function.Consumer<javafx.stage.WindowEvent> EXIT_ON_CLOSE
public void start(javafx.stage.Stage primaryStage)
throws java.lang.Exception
start in class javafx.application.Applicationjava.lang.Exceptionpublic static SingleSceneSpringJavaFxApplication.FxLauncher applicationLauncher()
SingleSceneSpringJavaFxApplication. Use this method to configure and launch
a SingleSceneSpringJavaFxApplication.