- java.lang.Object
-
- javafx.fxml.JavaFXBuilderFactory
-
- All Implemented Interfaces:
BuilderFactory
public final class JavaFXBuilderFactory extends Object implements BuilderFactory
JavaFX builder factory.- Since:
- JavaFX 2.0
-
Constructor Summary
Constructors Constructor Description JavaFXBuilderFactory()Default constructor.JavaFXBuilderFactory(ClassLoader classLoader)Constructor that takes a class loader.
-
Method Summary
All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description Builder<?>getBuilder(Class<?> type)Returns the builder for the specified type, or null if no builder is used.
-
Constructor Detail
-
JavaFXBuilderFactory
public JavaFXBuilderFactory()
Default constructor.
-
JavaFXBuilderFactory
public JavaFXBuilderFactory(ClassLoader classLoader)
Constructor that takes a class loader.- Parameters:
-
classLoader- the class loader to use when loading classes - Since:
- JavaFX 2.1
-
-
Method Detail
-
getBuilder
public Builder<?> getBuilder(Class<?> type)
Returns the builder for the specified type, or null if no builder is used. Most classes will note use a builder.- Specified by:
-
getBuilderin interfaceBuilderFactory - Parameters:
-
type- the class being looked up - Returns:
- the builder for the class, or null if no builder is used
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.