N - the root nodepublic abstract class InjectingFXMLLoader<N> extends java.lang.Object implements FXMLBuilder<N>
FXMLBuilder.Data<N,C>| Constructor and Description |
|---|
InjectingFXMLLoader() |
| Modifier and Type | Method and Description |
|---|---|
@NonNull InjectingFXMLLoader<N> |
builderFactory(@NonNull javafx.util.BuilderFactory builderFactory)
Associate a builder factory with the loader
|
static <N> InjectingFXMLLoader<N> |
create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context,
@NonNull org.osgi.framework.Bundle bundle,
@NonNull java.lang.String bundleRelativeFxmlPath)
Create a loader which operates relative to the bundle classpath
|
static <N> @NonNull InjectingFXMLLoader<N> |
create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context,
@NonNull org.osgi.framework.Bundle bundle,
@NonNull java.lang.String bundleRelativeFxmlPath,
boolean useExtendedFXMLLoader)
Create a loader which operates relative to the bundle classpath and uses
the
ExtendedFXMLLoader if requested to do so |
static <N> @NonNull InjectingFXMLLoader<N> |
create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context,
@NonNull java.lang.Class<?> requester,
@NonNull java.lang.String relativeFxmlPath)
Create a loader which operates relative to the requestor
|
static <N> @NonNull InjectingFXMLLoader<N> |
create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context,
@NonNull java.lang.Class<?> requester,
@NonNull java.lang.String relativeFxmlPath,
boolean useExtendedFXMLLoader)
Create a loader which operates relative to the requestor and uses the
ExtendedFXMLLoader if requested to do so |
static <N> @NonNull InjectingFXMLLoader<N> |
create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context,
@NonNull java.lang.ClassLoader classloader,
@NonNull java.net.URL url)
Create a loader which uses the given classloader
|
@NonNull InjectingFXMLLoader<N> |
resourceBundle(@NonNull java.util.ResourceBundle resourceBundle)
Associate a resource bundle with the loader
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitload, loadWithControllerpublic static <N> @NonNull InjectingFXMLLoader<N> create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context, @NonNull java.lang.Class<?> requester, @NonNull java.lang.String relativeFxmlPath)
context - the di contextrequester - the requestorrelativeFxmlPath - the relative pathpublic static <N> @NonNull InjectingFXMLLoader<N> create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context, @NonNull java.lang.Class<?> requester, @NonNull java.lang.String relativeFxmlPath, boolean useExtendedFXMLLoader)
ExtendedFXMLLoader if requested to do socontext - the di contextrequester - the requestorrelativeFxmlPath - the relative pathuseExtendedFXMLLoader - true to use the ExtendedFXMLLoaderpublic static <N> InjectingFXMLLoader<N> create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context, @NonNull org.osgi.framework.Bundle bundle, @NonNull java.lang.String bundleRelativeFxmlPath)
context - the di contextbundle - the bundlebundleRelativeFxmlPath - the relative path in the bundlepublic static <N> @NonNull InjectingFXMLLoader<N> create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context, @NonNull org.osgi.framework.Bundle bundle, @NonNull java.lang.String bundleRelativeFxmlPath, boolean useExtendedFXMLLoader)
ExtendedFXMLLoader if requested to do socontext - the di contextbundle - the bundlebundleRelativeFxmlPath - the relative path in the bundleuseExtendedFXMLLoader - true to use the ExtendedFXMLLoaderpublic static <N> @NonNull InjectingFXMLLoader<N> create(@NonNull org.eclipse.e4.core.contexts.IEclipseContext context, @NonNull java.lang.ClassLoader classloader, @NonNull java.net.URL url)
context - the di contextclassloader - the classloaderurl - the url to loadpublic @NonNull InjectingFXMLLoader<N> resourceBundle(@NonNull java.util.ResourceBundle resourceBundle)
FXMLBuilderresourceBundle in interface FXMLBuilder<N>resourceBundle - the resource bundlepublic @NonNull InjectingFXMLLoader<N> builderFactory(@NonNull javafx.util.BuilderFactory builderFactory)
FXMLBuilderbuilderFactory in interface FXMLBuilder<N>builderFactory - the builder factory