java.lang.Object
app.supernaut.fx.fxml.BaseFxmlAppDelegate
- All Implemented Interfaces:
ApplicationDelegate
ApplicationDelegate with constructor that expects a
FxmlLoaderFactory-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FxmlLoaderFactoryFxmlLoaderFactoryfor subclass access -
Constructor Summary
ConstructorsConstructorDescriptionBaseFxmlAppDelegate(FxmlLoaderFactory fxmlLoaderFactory) Constructor that gets anFxmlLoaderFactoryinjected -
Method Summary
Modifier and TypeMethodDescriptionAccessor for injectedFxmlLoaderFactoryvoidstart(javafx.stage.Stage primaryStage) No-op start method (can be overridden)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface app.supernaut.fx.ApplicationDelegate
init, setApplication, stop
-
Field Details
-
fxmlLoaderFactory
FxmlLoaderFactoryfor subclass access
-
-
Constructor Details
-
BaseFxmlAppDelegate
Constructor that gets anFxmlLoaderFactoryinjected- Parameters:
fxmlLoaderFactory- the injected factory
-
-
Method Details
-
start
No-op start method (can be overridden)- Specified by:
startin interfaceApplicationDelegate- Parameters:
primaryStage- primaryStage- Throws:
Exception- An exception occurred
-
getFxmlLoaderFactory
Accessor for injectedFxmlLoaderFactory- Returns:
- the injected factory
-