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.StringapplicationFxmlprotected java.lang.StringsplashFxml
-
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.NodeAndDelegatecreateParent()protected java.util.concurrent.ExecutorgetExecutor()voidinit()protected abstract voidinitializeInBackground()static booleanisOSX()TODO: delegate to a providerprotected voidonClosing()Invoked when the mainStageis being closed.protected voidonStageCreated(javafx.stage.Stage stage, JavaFXSafeProxyCreator.NodeAndDelegate applicationNad)voidstart(javafx.stage.Stage stage)
-
-
-
Method Detail
-
init
public void init()
- Overrides:
initin classjavafx.application.Application
-
start
public void start(@Nonnull javafx.stage.Stage stage) throws java.lang.Exception- Specified by:
startin classjavafx.application.Application- Throws:
java.lang.Exception
-
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 mainStageis being closed.
-
getExecutor
@Nonnull protected java.util.concurrent.Executor getExecutor()
-
isOSX
public static boolean isOSX()
TODO: delegate to a provider
-
-