Uses of Interface
com.vaadin.flow.data.binder.Binder.Binding
Packages that use Binder.Binding
-
Uses of Binder.Binding in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine that return Binder.BindingModifier and TypeMethodDescription<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE> CollaborationBinder.bind
(HasValue<?, FIELDVALUE> field, ValueProvider<BEAN, FIELDVALUE> getter, Setter<BEAN, FIELDVALUE> setter) Deprecated.The method does not work with the collaboration binder.<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE> Binds the given field to the property with the given name, as described inBinder.bind(HasValue, String)
.CollaborationBinder.CollaborationBindingBuilderImpl.bind
(ValueProvider<BEAN, TARGET> getter, Setter<BEAN, TARGET> setter) Methods in com.vaadin.collaborationengine with parameters of type Binder.BindingModifier and TypeMethodDescriptionprotected void
CollaborationBinder.removeBindingInternal
(Binder.Binding<BEAN, ?> binding) -
Uses of Binder.Binding in com.vaadin.flow.data.binder
Classes in com.vaadin.flow.data.binder that implement Binder.BindingModifier and TypeClassDescriptionprotected static class
Binder.BindingImpl<BEAN,
FIELDVALUE, TARGET> An internal implementation ofBinding
.Methods in com.vaadin.flow.data.binder that return Binder.BindingModifier and TypeMethodDescription<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE> Binder.bind
(HasValue<?, FIELDVALUE> field, ValueProvider<BEAN, FIELDVALUE> getter, Setter<BEAN, FIELDVALUE> setter) Binds a field to a bean property represented by the given getter and setter pair.<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE> Binds the given field to the property with the given name.Completes this binding using the given getter and setter functions representing a backing bean property.Completes this binding by connecting the field to the property with the given name.Binder.BindingBuilder.bindReadOnly
(ValueProvider<BEAN, TARGET> getter) Completes this binding using the given getter function representing a backing bean property.Binder.BindingBuilder.bindReadOnly
(String propertyName) Completes this binding by connecting the field to the property with the given name.Binder.BindingBuilderImpl.bindReadOnly
(ValueProvider<BEAN, TARGET> getter) Binder.BindingBuilderImpl.bindReadOnly
(String propertyName) <FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE> Binder.bindReadOnly
(HasValue<?, FIELDVALUE> field, ValueProvider<BEAN, FIELDVALUE> getter) Binds a field to a bean property represented by the given getter.<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE> Binder.bindReadOnly
(HasValue<?, FIELDVALUE> field, String propertyName) Binds the given field to the property with the given name.BindingValidationStatus.getBinding()
Gets the source binding of the validation status.Methods in com.vaadin.flow.data.binder that return types with arguments of type Binder.BindingModifier and TypeMethodDescriptionprotected Map<Binder.Binding<BEAN,
?>, Object> Binder.getBeanState
(BEAN bean, Collection<Binder.Binding<BEAN, ?>> bindings) Stores the state of the given bean.Binder.getBinding
(String propertyName) Gets the binding for a property name.Set<Binder.Binding<BEAN,
?>> Binder.getChangedBindings()
Get the immutable Set of changed bindings.Methods in com.vaadin.flow.data.binder with parameters of type Binder.BindingModifier and TypeMethodDescriptionstatic <TARGET> BindingValidationStatus<TARGET>
BindingValidationStatus.createUnresolvedStatus
(Binder.Binding<?, TARGET> source) Convenience method for creating aBindingValidationStatus.Status.UNRESOLVED
validation status for the given binding.protected void
Binder.handleFieldValueChange
(Binder.Binding<BEAN, ?> binding) Informs the Binder that a value in Binding was changed.boolean
Binder.hasChanges
(Binder.Binding<BEAN, ?> binding) Checks whether a bound field has uncomitted changes.void
Binder.removeBinding
(Binder.Binding<BEAN, ?> binding) Removes the given Binding from this Binder.protected void
Binder.removeBindingInternal
(Binder.Binding<BEAN, ?> binding) Removes (internally) theBinding
from the bound properties map (if present) and from the list ofBinding
s.Method parameters in com.vaadin.flow.data.binder with type arguments of type Binder.BindingModifier and TypeMethodDescriptionprotected Map<Binder.Binding<BEAN,
?>, Object> Binder.getBeanState
(BEAN bean, Collection<Binder.Binding<BEAN, ?>> bindings) Stores the state of the given bean.protected void
Binder.restoreBeanState
(BEAN bean, Map<Binder.Binding<BEAN, ?>, Object> oldValues) Restores the state of the bean from the given values.void
Binder.writeBean
(BEAN bean, Collection<Binder.Binding<BEAN, ?>> bindingsToWrite) Writes changes from the given bindings to the given bean if all validators (binding and bean level) pass.Constructors in com.vaadin.flow.data.binder with parameters of type Binder.BindingModifierConstructorDescriptionBindingValidationStatus
(Result<TARGET> result, Binder.Binding<?, TARGET> source) Creates a new status change event.