| Modifier and Type | Class and Description |
|---|---|
| private static class | JavaFXBuilderFactory.
Legacy ObjectBuilder wrapper. |
| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader | |
| private final boolean | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | JavaFXBuilderFactory(ClassLoader
the class loader to use when loading classes classLoader)Constructor that takes a class loader. |
| Modifier and Type | Method and Description |
|---|---|
| public Builder | Returns: the builder for the class, or null if no builder is usedthe class being looked up type)Implements javafx. Returns the builder for the specified type, or null if no builder is used. |
| private boolean |
| classLoader | back to summary |
|---|---|
| private final ClassLoader classLoader | |
| webSupported | back to summary |
|---|---|
| private final boolean webSupported | |
| WEBVIEW_BUILDER_NAME | back to summary |
|---|---|
| private static final String WEBVIEW_BUILDER_NAME | |
| WEBVIEW_NAME | back to summary |
|---|---|
| private static final String WEBVIEW_NAME | |
| JavaFXBuilderFactory | back to summary |
|---|---|
| public JavaFXBuilderFactory() Default constructor. | |
| JavaFXBuilderFactory | back to summary |
|---|---|
| public JavaFXBuilderFactory(ClassLoader classLoader) Constructor that takes a class loader.
| |
| getBuilder | back to summary |
|---|---|
| public Builder Implements javafx. Returns the builder for the specified type, or null if no builder is used. Most classes will not use a builder. | |
| scanForConstructorAnnotations | back to summary |
|---|---|
| private boolean scanForConstructorAnnotations(Class<?> type) | |
Todo
move this legacy functionality to JavaFXWebViewBuilder and modify it to work without requiring the legacy builders. See JDK-8089907.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Method | |
| private final Method | |
| private final Map | |
| private final Map | |
| private static final Object[] | |
| private static final Class | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Builder | |
| private Method | |
| public Class |
| builderClass | back to summary |
|---|---|
| private final Class<?> builderClass | |
| buildMethod | back to summary |
|---|---|
| private final Method buildMethod | |
| createMethod | back to summary |
|---|---|
| private final Method createMethod | |
| getters | back to summary |
|---|---|
| private final Map<String, Method> getters | |
| methods | back to summary |
|---|---|
| private final Map<String, Method> methods | |
| NO_ARGS | back to summary |
|---|---|
| private static final Object[] NO_ARGS | |
| NO_SIG | back to summary |
|---|---|
| private static final Class<?>[] NO_SIG | |
| setters | back to summary |
|---|---|
| private final Map<String, Method> setters | |
| ObjectBuilderWrapper | back to summary |
|---|---|
| pack-priv ObjectBuilderWrapper() | |
| ObjectBuilderWrapper | back to summary |
|---|---|
| pack-priv ObjectBuilderWrapper(Class<?> builderClass) throws NoSuchMethodException | |
| createBuilder | back to summary |
|---|---|
| pack-priv Builder | |
| findMethod | back to summary |
|---|---|
| private Method findMethod(String name) | |
| getTargetClass | back to summary |
|---|---|
| public Class The type constructed by this builder.
| |
| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private final Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public void | clear()
Overrides java. Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | containsKey(Object key)
Overrides java. Implements java. Returns |
| public boolean | containsValue(Object value)
Overrides java. Implements java. Returns |
| public Set | entrySet()
Implements abstract java. Implements java. Returns a |
| public Object | get(Object key)
Overrides java. Implements java. Returns the value to which the specified key is mapped,
or |
| pack-priv Object | |
| public Object | |
| public boolean | isEmpty()
Overrides java. Implements java. Returns |
| public Set | keySet()
Overrides java. Implements java. Returns a |
| public Object | put(String key, Object value)
Overrides java. Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<? extends String, ? extends Object> m)
Overrides java. Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public Object | remove(Object key)
Overrides java. Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public int | size()
Overrides java. Implements java. Returns the number of key-value mappings in this map. |
| public Collection | values()
Overrides java. Implements java. Returns a |
| builder | back to summary |
|---|---|
| private Object builder | |
| containers | back to summary |
|---|---|
| private final Map<String, Object> containers | |
| properties | back to summary |
|---|---|
| private Map<Object, Object> properties | |
| ObjectBuilder | back to summary |
|---|---|
| private ObjectBuilder() | |
| build | back to summary |
|---|---|
| public Object build() Implements javafx. Doc from javafx. Builds and returns the object.
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Overrides java. Implements java. Doc from java. Returns
| |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Overrides java. Implements java. Doc from java. Returns
| |
| entrySet | back to summary |
|---|---|
| public Set Implements abstract java. Implements java. Doc from java. Returns a
| |
| get | back to summary |
|---|---|
| public Object get(Object key) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| getReadOnlyProperty | back to summary |
|---|---|
| pack-priv Object getReadOnlyProperty(String propName) | |
| getTemporaryContainer | back to summary |
|---|---|
| public Object getTemporaryContainer(String propName) This is used to support read-only collection property. This method must return a Collection of the appropriate type if 1. the property is read-only, and 2. the property is a collection. It must return null otherwise. | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides java. Implements java. Doc from java. Returns
| |
| keySet | back to summary |
|---|---|
| public Set Overrides java. Implements java. Doc from java. Returns a
| |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Overrides java. Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ? extends Object> m) Overrides java. Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling
| |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Overrides java. Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns.
| |
| size | back to summary |
|---|---|
| public int size() Overrides java. Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| values | back to summary |
|---|---|
| public Collection Overrides java. Implements java. Doc from java. Returns a
| |