public class DefaultJFXApp
extends javafx.application.Application
DefaultJFXApp
is a default JavaFX Application
class used
for bootstrap.
The DefaultJFXApp
is intended to be subclassed by components that
would like to provide a custom implementation of the JavaFX
Application
.
Modifier and Type | Field and Description |
---|---|
protected E4Application |
e4Application |
Constructor and Description |
---|
DefaultJFXApp()
Creates an instance of the
DefaultJFXApp and initializes it using
the E4Application given by the
E4Application.getE4Application() . |
DefaultJFXApp(@NonNull E4Application e4Application)
Creates an instance of the
DefaultJFXApp and initializer is using
the given E4Application . |
Modifier and Type | Method and Description |
---|---|
protected void |
initialize()
Initializes started application (for instance creates a default realm).
|
void |
start(javafx.stage.Stage primaryStage) |
void |
stop() |
protected final E4Application e4Application
public DefaultJFXApp()
DefaultJFXApp
and initializes it using
the E4Application
given by the
E4Application.getE4Application()
.public DefaultJFXApp(@NonNull E4Application e4Application)
DefaultJFXApp
and initializer is using
the given E4Application
.e4Application
- the E4Application
.java.lang.NullPointerException
- if the given E4Application
is null.public void start(javafx.stage.Stage primaryStage) throws java.lang.Exception
start
in class javafx.application.Application
java.lang.Exception
public void stop() throws java.lang.Exception
stop
in class javafx.application.Application
java.lang.Exception
protected void initialize()