java.lang.Object
app.supernaut.fx.FxLauncherAbstract.DefaultAppFactory
- All Implemented Interfaces:
FxLauncherAbstract.AppFactory
- Enclosing class:
- FxLauncherAbstract
public static class FxLauncherAbstract.DefaultAppFactory
extends Object
implements FxLauncherAbstract.AppFactory
Default implementation of AppFactory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAppDelegate
(Class<? extends ApplicationDelegate> appDelegateClass, javafx.application.Application proxyApplication) Create the background class instance from aClass
objectcreateBackgroundApp
(Class<? extends BackgroundApp> backgroundAppClass) Create the background class instance from aClass
object
-
Constructor Details
-
DefaultAppFactory
public DefaultAppFactory()
-
-
Method Details
-
createBackgroundApp
Description copied from interface:FxLauncherAbstract.AppFactory
Create the background class instance from aClass
object- Specified by:
createBackgroundApp
in interfaceFxLauncherAbstract.AppFactory
- Parameters:
backgroundAppClass
- the class to create- Returns:
- application instance
-
createAppDelegate
public ApplicationDelegate createAppDelegate(Class<? extends ApplicationDelegate> appDelegateClass, javafx.application.Application proxyApplication) Description copied from interface:FxLauncherAbstract.AppFactory
Create the background class instance from aClass
object- Specified by:
createAppDelegate
in interfaceFxLauncherAbstract.AppFactory
- Parameters:
appDelegateClass
- the class to createproxyApplication
- a reference to the proxyApplication
created by Supernaut.FX- Returns:
- application instance
-