Package it.tidalwave.ui.javafx
Class JavaFXSpringApplication
- java.lang.Object
-
- javafx.application.Application
-
- it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
-
- it.tidalwave.ui.javafx.JavaFXSpringApplication
-
- Direct Known Subclasses:
Main
public class JavaFXSpringApplication extends JavaFXApplicationWithSplash
- Author:
- Fabrizio Giudici
-
-
Field Summary
-
Fields inherited from class it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
applicationFxml, splashFxml
-
-
Constructor Summary
Constructors Constructor Description JavaFXSpringApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JavaFXSafeProxyCreator.NodeAndDelegate
createParent()
protected void
initializeInBackground()
protected void
onClosing()
Invoked when the mainStage
is being closed.protected void
onStageCreated(javafx.stage.Stage stage, JavaFXSafeProxyCreator.NodeAndDelegate applicationNad)
protected void
onStageCreated(org.springframework.context.ApplicationContext applicationContext)
Invoked when theStage
is created and theApplicationContext
has been initialized.-
Methods inherited from class it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
getExecutor, init, isOSX, start
-
-
-
-
Method Detail
-
createParent
@Nonnull protected JavaFXSafeProxyCreator.NodeAndDelegate createParent() throws java.io.IOException
- Specified by:
createParent
in classJavaFXApplicationWithSplash
- Throws:
java.io.IOException
-
initializeInBackground
protected void initializeInBackground()
- Specified by:
initializeInBackground
in classJavaFXApplicationWithSplash
-
onStageCreated
protected void onStageCreated(@Nonnull javafx.stage.Stage stage, @Nonnull JavaFXSafeProxyCreator.NodeAndDelegate applicationNad)
- Overrides:
onStageCreated
in classJavaFXApplicationWithSplash
-
onStageCreated
protected void onStageCreated(@Nonnull org.springframework.context.ApplicationContext applicationContext)
Invoked when theStage
is created and theApplicationContext
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.- Parameters:
applicationContext
- the application context
-
onClosing
protected void onClosing()
Description copied from class:JavaFXApplicationWithSplash
Invoked when the mainStage
is being closed.- Overrides:
onClosing
in classJavaFXApplicationWithSplash
-
-