N
- the root type loaded by the builderpublic interface FXMLBuilder<N>
Modifier and Type | Interface and Description |
---|---|
static interface |
FXMLBuilder.Data<N,C>
Data struct holing root node and controller
|
Modifier and Type | Method and Description |
---|---|
@NonNull FXMLBuilder<N> |
builderFactory(@NonNull javafx.util.BuilderFactory builderFactory)
Associate a builder factory with the loader
|
N |
load()
Load the FXML-Document
|
<C> FXMLBuilder.Data<N,C> |
loadWithController()
Load the FXML and return the root node and the controller
|
@NonNull FXMLBuilder<N> |
resourceBundle(@NonNull java.util.ResourceBundle resourceBundle)
Associate a resource bundle with the loader
|
@NonNull FXMLBuilder<N> resourceBundle(@NonNull java.util.ResourceBundle resourceBundle)
resourceBundle
- the resource bundle@NonNull FXMLBuilder<N> builderFactory(@NonNull javafx.util.BuilderFactory builderFactory)
builderFactory
- the builder factoryN load() throws java.io.IOException
java.io.IOException
- if there is a problem loading the fxml<C> FXMLBuilder.Data<N,C> loadWithController() throws java.io.IOException
java.io.IOException
- if there is a problem loading the fxml