public class NestedStringPropertyBuilder extends Object
| Modifier and Type | Method and Description | 
|---|---|
| NestedStringProperty | build()Creates a new property instance. | 
| static NestedStringPropertyBuilder | forNesting(Nesting<javafx.beans.property.StringProperty> nesting)Creates a new builder which uses the specified nesting. | 
| protected Object | getBean() | 
| protected org.codefx.libfx.nesting.property.InnerObservableMissingBehavior<T> | getInnerObservableMissingBehavior() | 
| protected String | getName() | 
| protected Nesting<O> | getNesting() | 
| B | onInnerObservableMissingComputeValue(Supplier<T> valueSupplier)The property will change to the value computed by the specified supplier when the inner observable goes missing
 (see  NestedPropertyfor details on this). | 
| B | onInnerObservableMissingKeepValue()The property will keep its value when the inner observable goes missing (see  NestedPropertyfor details
 on this). | 
| B | onInnerObservableMissingSetDefaultValue()The property will change to the default value for the wrapped type when the inner observable goes missing (see
  NestedPropertyfor details on this). | 
| B | onInnerObservableMissingSetValue(T value)The property will change to the specified value when the inner observable goes missing (see
  NestedPropertyfor details on this). | 
| B | onUpdateWhenInnerObservableMissingAcceptValues()The property will accept new values when it is updated (e.g. | 
| B | onUpdateWhenInnerObservableMissingThrowException()The property will throw an  IllegalStateExceptionwhen it is updated (e.g. | 
| B | setBean(Object bean)Sets the property's  bean. | 
| B | setName(String name)Sets the property's  name. | 
public static NestedStringPropertyBuilder forNesting(Nesting<javafx.beans.property.StringProperty> nesting)
nesting - the nesting which will be used for all nested propertiesNestedStringPropertyBuilderpublic NestedStringProperty build()
P, i.e. an implementation of NestedPropertypublic final B setBean(Object bean)
bean.bean - the property's future beanpublic B setName(String name)
name.name - the property's future namepublic B onInnerObservableMissingKeepValue()
NestedProperty for details
 on this).
 This is the default behavior.
public B onInnerObservableMissingSetDefaultValue()
NestedProperty for details on this).
 
 For primitive wrapping properties (e.g. NestedIntegerProperty), this will set the primitive default (e.g.
 0); for reference wrapping properties this will be null.
public B onInnerObservableMissingSetValue(T value)
NestedProperty for details on this).
 
 This method does not accept null as a value. Call onInnerObservableMissingSetDefaultValue() if the
 property should change to the default value for the wrapped type (e.g. 0 for NestedIntegerProperty).
value - the value to setpublic B onInnerObservableMissingComputeValue(Supplier<T> valueSupplier)
NestedProperty for details on this).
 
 The supplier may produce null in which case primitive wrapping properties will fall back to the type's default
 value (e.g. 0 for NestedIntegerProperty).
valueSupplier - the supplier which computes the value to set; may produce nullpublic B onUpdateWhenInnerObservableMissingThrowException()
IllegalStateException when it is updated (e.g. by calling
 setValue or via a binding) while the inner observable is missing (see
 NestedProperty for details on this).
 This is the default behavior.
public B onUpdateWhenInnerObservableMissingAcceptValues()
setValue or via a binding) while the inner observable is missing (see NestedProperty for details on
 this).
 Once the nesting changes to a new (non-missing) inner observable, the property will change to that observable's value.
protected final Nesting<O> getNesting()
protected final Object getBean()
bean.protected final String getName()
bean.protected final org.codefx.libfx.nesting.property.InnerObservableMissingBehavior<T> getInnerObservableMissingBehavior()
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.