public class OSGiFXMLLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OSGiFXMLLoader.FXMLData<N,C>
Data structured holding data constructed while loading the FXML-Document
|
Constructor and Description |
---|
OSGiFXMLLoader() |
Modifier and Type | Method and Description |
---|---|
static <O> O |
load(@NonNull org.osgi.framework.Bundle bundle,
@NonNull java.lang.String bundleRelativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory)
Load a FXML file relative to the bundle
|
static <O> O |
load(@NonNull org.osgi.framework.Bundle bundle,
@NonNull java.lang.String bundleRelativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory,
@Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory)
Load a FXML file relative to the bundle
|
static <O> O |
load(@NonNull java.lang.Class<?> requester,
@NonNull java.lang.String relativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory)
Load a FXML file relative to the requested
|
static <O> O |
load(@NonNull java.lang.Class<?> requester,
@NonNull java.lang.String relativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory,
@Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory)
Load a FXML file relative to the requested
|
static <O> O |
load(@NonNull java.lang.ClassLoader classloader,
@NonNull java.net.URL url,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory)
Load using the given classloader
|
static <O> O |
load(@NonNull java.lang.ClassLoader classloader,
@NonNull java.net.URL url,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory,
@Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory)
Load using the given classloader
|
static <O,C> OSGiFXMLLoader.FXMLData<O,C> |
loadWithController(@NonNull org.osgi.framework.Bundle bundle,
@NonNull java.lang.String bundleRelativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory)
Load a FXML file relative to the bundle and provide the constructed scene-node and the controller
|
static <O,C> OSGiFXMLLoader.FXMLData<O,C> |
loadWithController(@NonNull org.osgi.framework.Bundle bundle,
@NonNull java.lang.String bundleRelativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory,
@Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory)
Load a FXML file relative to the bundle and provide the constructed scene-node and the controller
|
static <O,C> OSGiFXMLLoader.FXMLData<O,C> |
loadWithController(@NonNull java.lang.Class<?> requester,
@NonNull java.lang.String relativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory)
Load a FXML file relative to the requested and provide the constructed scene-node and the controller
|
static <O,C> OSGiFXMLLoader.FXMLData<O,C> |
loadWithController(@NonNull java.lang.Class<?> requester,
@NonNull java.lang.String relativeFxmlPath,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory,
@Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory)
Load a FXML file relative to the requested and provide the constructed scene-node and the controller
|
static <O,C> OSGiFXMLLoader.FXMLData<O,C> |
loadWithController(@NonNull java.lang.ClassLoader classloader,
@NonNull java.net.URL url,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory)
Load using the given classloader and provide the constructed scene-node and the controller
|
static <O,C> OSGiFXMLLoader.FXMLData<O,C> |
loadWithController(@NonNull java.lang.ClassLoader classloader,
@NonNull java.net.URL url,
@Nullable java.util.ResourceBundle resourceBundle,
@Nullable javafx.util.BuilderFactory builderFactory,
@Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory)
Load using the given classloader and provide the constructed scene-node and the controller
|
public static <O> O load(@NonNull java.lang.Class<?> requester, @NonNull java.lang.String relativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory) throws java.io.IOException
requester
- the requesterrelativeFxmlPath
- the relative FXML-File PathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usejava.io.IOException
public static <O,C> OSGiFXMLLoader.FXMLData<O,C> loadWithController(@NonNull java.lang.Class<?> requester, @NonNull java.lang.String relativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory) throws java.io.IOException
requester
- the requesterrelativeFxmlPath
- the relative FXML-File PathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usejava.io.IOException
public static <O> O load(@NonNull org.osgi.framework.Bundle bundle, @NonNull java.lang.String bundleRelativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory) throws java.io.IOException
bundle
- the bundlebundleRelativeFxmlPath
- the bundle relative pathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usejava.io.IOException
public static <O,C> OSGiFXMLLoader.FXMLData<O,C> loadWithController(@NonNull org.osgi.framework.Bundle bundle, @NonNull java.lang.String bundleRelativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory) throws java.io.IOException
bundle
- the bundlebundleRelativeFxmlPath
- the bundle relative pathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usejava.io.IOException
public static <O> O load(@NonNull java.lang.ClassLoader classloader, @NonNull java.net.URL url, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory) throws java.io.IOException
classloader
- the classloaderurl
- the url of the fxml fileresourceBundle
- the translationsbuilderFactory
- the builder factoryjava.io.IOException
public static <O,C> OSGiFXMLLoader.FXMLData<O,C> loadWithController(@NonNull java.lang.ClassLoader classloader, @NonNull java.net.URL url, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory) throws java.io.IOException
classloader
- the classloaderurl
- the url of the fxml fileresourceBundle
- the translationsbuilderFactory
- the builder factoryjava.io.IOException
public static <O> O load(@NonNull java.lang.Class<?> requester, @NonNull java.lang.String relativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory, @Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory) throws java.io.IOException
requester
- the requesterrelativeFxmlPath
- the relative FXML-File PathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usecontrollerFactory
- the controller factoryjava.io.IOException
public static <O,C> OSGiFXMLLoader.FXMLData<O,C> loadWithController(@NonNull java.lang.Class<?> requester, @NonNull java.lang.String relativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory, @Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory) throws java.io.IOException
requester
- the requesterrelativeFxmlPath
- the relative FXML-File PathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usecontrollerFactory
- the controller factoryjava.io.IOException
public static <O> O load(@NonNull org.osgi.framework.Bundle bundle, @NonNull java.lang.String bundleRelativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory, @Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory) throws java.io.IOException
bundle
- the bundlebundleRelativeFxmlPath
- the bundle relative pathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usecontrollerFactory
- the controller factoryjava.io.IOException
public static <O,C> OSGiFXMLLoader.FXMLData<O,C> loadWithController(@NonNull org.osgi.framework.Bundle bundle, @NonNull java.lang.String bundleRelativeFxmlPath, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory, @Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory) throws java.io.IOException
bundle
- the bundlebundleRelativeFxmlPath
- the bundle relative pathresourceBundle
- the translation to be usedbuilderFactory
- the builder factory to usecontrollerFactory
- the controller factoryjava.io.IOException
public static <O> O load(@NonNull java.lang.ClassLoader classloader, @NonNull java.net.URL url, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory, @Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory) throws java.io.IOException
classloader
- the classloaderurl
- the url of the fxml fileresourceBundle
- the translationsbuilderFactory
- the builder factorycontrollerFactory
- the controller factoryjava.io.IOException
public static <O,C> OSGiFXMLLoader.FXMLData<O,C> loadWithController(@NonNull java.lang.ClassLoader classloader, @NonNull java.net.URL url, @Nullable java.util.ResourceBundle resourceBundle, @Nullable javafx.util.BuilderFactory builderFactory, @Nullable javafx.util.Callback<java.lang.Class<?>,java.lang.Object> controllerFactory) throws java.io.IOException
classloader
- the classloaderurl
- the url of the fxml fileresourceBundle
- the translationsbuilderFactory
- the builder factorycontrollerFactory
- the controller factoryjava.io.IOException