Package it.tidalwave.ui.javafx
Class JavaFXApplicationWithSplash
java.lang.Object
javafx.application.Application
it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
- Direct Known Subclasses:
AbstractJavaFXSpringApplication
public abstract class JavaFXApplicationWithSplash
extends javafx.application.Application
- Author:
- Fabrizio Giudici
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract NodeAndDelegate
<?> protected javafx.scene.Scene
createScene
(javafx.scene.Parent parent) protected Executor
void
init()
protected abstract void
protected void
Invoked when the mainStage
is being closed.protected void
onStageCreated
(javafx.stage.Stage stage, NodeAndDelegate<?> applicationNad) void
start
(javafx.stage.Stage stage) Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Field Details
-
applicationFxml
-
splashFxml
-
-
Constructor Details
-
JavaFXApplicationWithSplash
public JavaFXApplicationWithSplash()
-
-
Method Details
-
init
public void init()- Overrides:
init
in classjavafx.application.Application
-
start
public void start(@Nonnull javafx.stage.Stage stage) - Specified by:
start
in classjavafx.application.Application
-
onStageCreated
protected void onStageCreated(@Nonnull javafx.stage.Stage stage, @Nonnull NodeAndDelegate<?> applicationNad) -
createParent
- Throws:
IOException
-
initializeInBackground
protected abstract void initializeInBackground() -
onClosing
protected void onClosing()Invoked when the mainStage
is being closed. -
getExecutor
-
createScene
protected javafx.scene.Scene createScene(@Nonnull javafx.scene.Parent parent)
-