java.lang.Object
app.supernaut.fx.FxLauncherAbstract
app.supernaut.fx.sample.SimpleFxLauncher
- All Implemented Interfaces:
FxLauncher
A simple
FxLauncherAbstract
that uses Class
objects to specify BackgroundApp
and ApplicationDelegate
.-
Nested Class Summary
Nested classes/interfaces inherited from class app.supernaut.fx.FxLauncherAbstract
FxLauncherAbstract.AppFactory, FxLauncherAbstract.DefaultAppFactory
-
Field Summary
Fields inherited from class app.supernaut.fx.FxLauncherAbstract
futureAppDelegate, futureBackgroundApp
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor using background startSimpleFxLauncher
(boolean backgroundStart) Constructor that lets you choose background start or not -
Method Summary
Methods inherited from class app.supernaut.fx.FxLauncherAbstract
createAppDelegate, getAppDelegate, getBackgroundApp, launch, launch, launchAsync
-
Constructor Details
-
SimpleFxLauncher
public SimpleFxLauncher()Default constructor using background start -
SimpleFxLauncher
Constructor that lets you choose background start or not- Parameters:
backgroundStart
- true to start on background
-
-
Method Details
-
name
Implementations must implement this method to return a unique name- Returns:
- A unique name for this DI-capable
FxLauncher
implementation
-