public interface FXMLLoaderFactory
FXMLLoader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXT_KEY
Context key used
|
Modifier and Type | Method and Description |
---|---|
<N> @NonNull FXMLBuilder<N> |
loadBundleRelative(@NonNull java.lang.String relativePath)
Load the fxml file relative to the bundle the loading class is in,
similar to pure java
ClassLoader.getResource(String) |
<N> @NonNull FXMLBuilder<N> |
loadRequestorRelative(@NonNull java.lang.String relativePath)
Load the fxml file relative to the class requesting the loading, similar
to pure java
Class.getResource(String) |
static final java.lang.String CONTEXT_KEY
<N> @NonNull FXMLBuilder<N> loadBundleRelative(@NonNull java.lang.String relativePath)
ClassLoader.getResource(String)
relativePath
- the relative path to the bundle classpath<N> @NonNull FXMLBuilder<N> loadRequestorRelative(@NonNull java.lang.String relativePath)
Class.getResource(String)
relativePath
- the relative path from the class