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 aClassobjectcreateBackgroundApp(Class<? extends BackgroundApp> backgroundAppClass) Create the background class instance from aClassobject
-
Constructor Details
-
DefaultAppFactory
public DefaultAppFactory()
-
-
Method Details
-
createBackgroundApp
Description copied from interface:FxLauncherAbstract.AppFactoryCreate the background class instance from aClassobject- Specified by:
createBackgroundAppin 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.AppFactoryCreate the background class instance from aClassobject- Specified by:
createAppDelegatein interfaceFxLauncherAbstract.AppFactory- Parameters:
appDelegateClass- the class to createproxyApplication- a reference to the proxyApplicationcreated by Supernaut.FX- Returns:
- application instance
-