public abstract class MvvmfxCdiApplication extends javafx.application.Application implements de.saxsys.mvvmfx.internal.MvvmfxApplication
| Constructor and Description |
|---|
MvvmfxCdiApplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
This method is called when the javafx application is initialized.
|
void |
start(javafx.stage.Stage primaryStage)
This method is overridden to initialize the mvvmFX framework.
|
void |
stop()
This method is called when the application should stop.
|
getHostServices, getParameters, getUserAgentStylesheet, launch, launch, notifyPreloader, setUserAgentStylesheetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitMvvmfx, startMvvmfx, stopMvvmfxpublic final void start(javafx.stage.Stage primaryStage)
throws Exception
MvvmfxApplication.startMvvmfx(javafx.stage.Stage) method for your application entry point and startup code instead of this
method.start in class javafx.application.ApplicationExceptionpublic final void init()
throws Exception
Application.init() for more details.
Unlike the original init method in Application this method contains logic to
initialize the CDI container. Therefor it's important to call super.init() when you override this
method.init in class javafx.application.ApplicationExceptionpublic final void stop()
throws Exception
Application.stop() for
more details.
Unlike the original stop method in Application this method contains logic to release
resources managed by the CDI container. Therefor it's important to call super.stop() when you
override this method.stop in class javafx.application.ApplicationExceptionCopyright © 2015 Saxonia Systems AG. All rights reserved.