Package org.fulib.fx.controller.building
Class ControllerProxyBuilder<T>
@Internal
public class ControllerProxyBuilder<T>
extends AbstractMap<String,Object>
implements javafx.util.Builder<T>
This class is a copy of the ControllerProxyBuilder from the JavaFX framework.
It is used to load controllers from FXML files and support the injection of subcontrollers, e.g. provided by Dagger.
This builder is strongly modified to support the injection of subcontrollers. Besides the modification of the instance creation, various parts have been optimized and simplified with new Java features.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, equals, hashCode, keySet, putAll, remove, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ControllerProxyBuilder
-
-
Method Details
-
put
-
size
public int size() -
entrySet
-
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object> - Overrides:
containsKeyin classAbstractMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object> - Overrides:
containsValuein classAbstractMap<String,Object>
-
get
-
build
- Specified by:
buildin interfacejavafx.util.Builder<T>
-