Package it.tidalwave.ui.javafx
Class JavaFXApplicationWithSplash
- java.lang.Object
-
- javafx.application.Application
-
- it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
-
- Direct Known Subclasses:
JavaFXSpringApplication
public abstract class JavaFXApplicationWithSplash extends javafx.application.Application
- Author:
- Fabrizio Giudici
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
applicationFxml
protected java.lang.String
splashFxml
-
Constructor Summary
Constructors Constructor Description JavaFXApplicationWithSplash()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract JavaFXSafeProxyCreator.NodeAndDelegate
createParent()
protected java.util.concurrent.Executor
getExecutor()
void
init()
protected abstract void
initializeInBackground()
static boolean
isOSX()
TODO: delegate to a providerprotected void
onClosing()
Invoked when the mainStage
is being closed.protected void
onStageCreated(javafx.stage.Stage stage, JavaFXSafeProxyCreator.NodeAndDelegate applicationNad)
void
start(javafx.stage.Stage stage)
-
-
-
Method Detail
-
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 JavaFXSafeProxyCreator.NodeAndDelegate applicationNad)
-
createParent
@Nonnull protected abstract JavaFXSafeProxyCreator.NodeAndDelegate createParent() throws java.io.IOException
- Throws:
java.io.IOException
-
initializeInBackground
protected abstract void initializeInBackground()
-
onClosing
protected void onClosing()
Invoked when the mainStage
is being closed.
-
getExecutor
@Nonnull protected java.util.concurrent.Executor getExecutor()
-
isOSX
public static boolean isOSX()
TODO: delegate to a provider
-
-