Interface ValueCommonSteps.ValueWriteConfigStep<F, T, THIS extends ValueCommonSteps.ValueWriteConfigStep<F,T,THIS>>
- Type Parameters:
F- type of the from-end observableT- type of the to-end observableTHIS- self type for this step
- All Superinterfaces:
CommonSteps.WriteConfigStep<F,T, THIS>, Step
- All Known Subinterfaces:
ValueOneWaySteps.ValueOneWayBindWriteConfigStep<F,T, THIS>, ValueTwoWaySteps.ValueTwoWayBindConfigStep<F, T, THIS>, ValueTwoWaySteps.ValueTwoWayConfigStep<F, T, THIS>, ValueTwoWaySteps.ValueTwoWayConvertToStep<F, THIS>
- Enclosing class:
ValueCommonSteps
public static interface ValueCommonSteps.ValueWriteConfigStep<F, T, THIS extends ValueCommonSteps.ValueWriteConfigStep<F,T,THIS>>
extends CommonSteps.WriteConfigStep<F,T,THIS>
Step for configuring the end of a binding where data is written. This is the
to-end for a one-way binding and both ends for a two-way binding. Some kinds
of observables allow configuration of validators and special update policies.
- Since:
- 1.11
- Restriction:
-
Method Summary
Modifier and TypeMethodDescriptionSets theconvert-onlyupdate policy for the active observable.validateAfterConvert(IValidator<? super T> validator) Sets theafter-convertvalidator on the to-from direction on the resulting binding.validateBeforeSet(IValidator<? super T> validator) Sets thebefore-setvalidator for the to-from direction on the resulting binding.Methods inherited from interface CommonSteps.WriteConfigStep
updateOnlyOnRequest
-
Method Details
-
validateAfterConvert
Sets theafter-convertvalidator on the to-from direction on the resulting binding.- Returns:
- next step
- See Also:
-
validateBeforeSet
Sets thebefore-setvalidator for the to-from direction on the resulting binding.- Returns:
- next step
- See Also:
-
convertOnly
THIS convertOnly()Sets theconvert-onlyupdate policy for the active observable. This configures the resulting binding to only do validation and conversion, and not writing data to the observable. This is useful for generating a validation status.- Returns:
- next step
- See Also:
-