Uses of Interface
com.vaadin.flow.data.binder.Binder.BindingBuilder
-
Packages that use Binder.BindingBuilder Package Description com.vaadin.collaborationengine com.vaadin.flow.data.binder -
-
Uses of Binder.BindingBuilder in com.vaadin.collaborationengine
Classes in com.vaadin.collaborationengine that implement Binder.BindingBuilder Modifier and Type Class Description protected static classCollaborationBinder.CollaborationBindingBuilderImpl<BEAN,FIELDVALUE,TARGET>Methods in com.vaadin.collaborationengine that return Binder.BindingBuilder Modifier and Type Method Description protected Binder.BindingBuilder<BEAN,?>CollaborationBinder. configureBinding(Binder.BindingBuilder<BEAN,?> baseBinding, PropertyDefinition<BEAN,?> definition)protected <FIELDVALUE,TARGET>
Binder.BindingBuilder<BEAN,TARGET>CollaborationBinder. doCreateBinding(HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converter, BindingValidationStatusHandler handler)<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forField(HasValue<?,FIELDVALUE> field)Creates a new binding for the given field.<FIELDVALUE extends Collection<ELEMENT>,ELEMENT>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forField(HasValue<?,FIELDVALUE> field, Class<? super FIELDVALUE> collectionType, Class<ELEMENT> elementType)Creates a new binding for the given (multi select) field whose value type is a collection.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forField(HasValue<?,FIELDVALUE> field, Class<FIELDVALUE> fieldType)Creates a new binding for the given field and type.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forMemberField(HasValue<?,FIELDVALUE> field)Creates a new binding for the given field.<FIELDVALUE extends Collection<ELEMENT>,ELEMENT>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forMemberField(HasValue<?,FIELDVALUE> field, Class<? super FIELDVALUE> collectionType, Class<ELEMENT> elementType)Creates a new binding for the given (multi select) field whose value type is a collection.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forMemberField(HasValue<?,FIELDVALUE> field, Class<FIELDVALUE> fieldType)Creates a new binding for the given field and type.protected <NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET>CollaborationBinder.CollaborationBindingBuilderImpl. withConverter(Converter<TARGET,NEWTARGET> converter, boolean resetNullRepresentation)Binder.BindingBuilder<BEAN,TARGET>CollaborationBinder.CollaborationBindingBuilderImpl. withNullRepresentation(TARGET nullRepresentation)Methods in com.vaadin.collaborationengine with parameters of type Binder.BindingBuilder Modifier and Type Method Description protected Binder.BindingBuilder<BEAN,?>CollaborationBinder. configureBinding(Binder.BindingBuilder<BEAN,?> baseBinding, PropertyDefinition<BEAN,?> definition) -
Uses of Binder.BindingBuilder in com.vaadin.flow.data.binder
Classes in com.vaadin.flow.data.binder that implement Binder.BindingBuilder Modifier and Type Class Description protected static classBinder.BindingBuilderImpl<BEAN,FIELDVALUE,TARGET>An internal implementation ofBindingBuilder.Methods in com.vaadin.flow.data.binder that return Binder.BindingBuilder Modifier and Type Method Description default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. asRequired()Sets the field to be required.Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. asRequired(ErrorMessageProvider errorMessageProvider)Sets the field to be required.Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. asRequired(Validator<TARGET> customRequiredValidator)Sets the field to be required and delegates the required check to a custom validator.default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. asRequired(String errorMessage)Sets the field to be required.Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilderImpl. asRequired(ErrorMessageProvider errorMessageProvider)Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilderImpl. asRequired(Validator<TARGET> customRequiredValidator)protected Binder.BindingBuilder<BEAN,?>BeanValidationBinder. configureBinding(Binder.BindingBuilder<BEAN,?> binding, PropertyDefinition<BEAN,?> definition)protected Binder.BindingBuilder<BEAN,?>Binder. configureBinding(Binder.BindingBuilder<BEAN,?> binding, PropertyDefinition<BEAN,?> definition)Configures thebindingwith the property definitiondefinitionbefore it's being bound.protected <FIELDVALUE,TARGET>
Binder.BindingBuilder<BEAN,TARGET>Binder. createBinding(HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converter, BindingValidationStatusHandler handler)Creates a new binding with the given field.protected <FIELDVALUE,TARGET>
Binder.BindingBuilder<BEAN,TARGET>Binder. doCreateBinding(HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converter, BindingValidationStatusHandler handler)<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>Binder. forField(HasValue<?,FIELDVALUE> field)Creates a new binding for the given field.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>Binder. forMemberField(HasValue<?,FIELDVALUE> field)Creates a new binding for the given field.<NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET>Binder.BindingBuilder. withConverter(Converter<TARGET,NEWTARGET> converter)Maps the binding to another data type using the givenConverter.default <NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET>Binder.BindingBuilder. withConverter(SerializableFunction<TARGET,NEWTARGET> toModel, SerializableFunction<NEWTARGET,TARGET> toPresentation)Maps the binding to another data type using the mapping functions and a possible exception as the error message.default <NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET>Binder.BindingBuilder. withConverter(SerializableFunction<TARGET,NEWTARGET> toModel, SerializableFunction<NEWTARGET,TARGET> toPresentation, String errorMessage)Maps the binding to another data type using the mapping functions and the given error error message if a value cannot be converted to the new target type.<NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET>Binder.BindingBuilderImpl. withConverter(Converter<TARGET,NEWTARGET> converter)protected <NEWTARGET>
Binder.BindingBuilder<BEAN,NEWTARGET>Binder.BindingBuilderImpl. withConverter(Converter<TARGET,NEWTARGET> converter, boolean resetNullRepresentation)ImplementsBinder.BindingBuilderImpl.withConverter(Converter)method with additional possibility to disable (reset) default null representation converter.default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withNullRepresentation(TARGET nullRepresentation)Maps binding valuenullto given null representation and back tonullwhen converting back to model value.default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withStatusLabel(HasText label)Sets the givenlabelto show an error message if validation fails.Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withValidationStatusHandler(BindingValidationStatusHandler handler)Sets aBindingValidationStatusHandlerto track validation status changes.Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilderImpl. withValidationStatusHandler(BindingValidationStatusHandler handler)Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withValidator(Validator<? super TARGET> validator)Adds a validator to this binding.default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, ErrorMessageProvider errorMessageProvider)A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, ErrorMessageProvider)factory method.default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, ErrorMessageProvider errorMessageProvider, ErrorLevel errorLevel)A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, ErrorMessageProvider, ErrorLevel)factory method.default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, String message)A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, String)factory method.default Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilder. withValidator(SerializablePredicate<? super TARGET> predicate, String message, ErrorLevel errorLevel)A convenience method to add a validator to this binding using theValidator.from(SerializablePredicate, String, ErrorLevel)factory method.Binder.BindingBuilder<BEAN,TARGET>Binder.BindingBuilderImpl. withValidator(Validator<? super TARGET> validator)Methods in com.vaadin.flow.data.binder with parameters of type Binder.BindingBuilder Modifier and Type Method Description protected Binder.BindingBuilder<BEAN,?>BeanValidationBinder. configureBinding(Binder.BindingBuilder<BEAN,?> binding, PropertyDefinition<BEAN,?> definition)protected Binder.BindingBuilder<BEAN,?>Binder. configureBinding(Binder.BindingBuilder<BEAN,?> binding, PropertyDefinition<BEAN,?> definition)Configures thebindingwith the property definitiondefinitionbefore it's being bound.static booleanRequiredFieldConfiguratorUtil. testConvertedDefaultValue(Binder.BindingBuilder<?,?> binding, Predicate<Object> predicate)Tests the converted default value of the provided binding builder if possible.
-