Uses of Interface
com.vaadin.data.Binder.Binding
-
Packages that use Binder.Binding Package Description com.vaadin.data com.vaadin.ui -
-
Uses of Binder.Binding in com.vaadin.data
Classes in com.vaadin.data that implement Binder.Binding Modifier and Type Class Description protected static class
Binder.BindingImpl<BEAN,FIELDVALUE,TARGET>
An internal implementation ofBinding
.Methods in com.vaadin.data that return Binder.Binding Modifier and Type Method Description <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>Binder. bind(HasValue<FIELDVALUE> field, String propertyName)
Binds the given field to the property with the given name.Binder.Binding<BEAN,TARGET>
Binder.BindingBuilder. bind(ValueProvider<BEAN,TARGET> getter, Setter<BEAN,TARGET> setter)
Completes this binding using the given getter and setter functions representing a backing bean property.Binder.Binding<BEAN,TARGET>
Binder.BindingBuilder. bind(String propertyName)
Completes this binding by connecting the field to the property with the given name.Binder.Binding<BEAN,TARGET>
Binder.BindingBuilderImpl. bind(ValueProvider<BEAN,TARGET> getter, Setter<BEAN,TARGET> setter)
Binder.Binding<BEAN,TARGET>
Binder.BindingBuilderImpl. bind(String propertyName)
Binder.Binding<?,TARGET>
BindingValidationStatus. getBinding()
Gets the source binding of the validation status.Methods in com.vaadin.data that return types with arguments of type Binder.Binding Modifier and Type Method Description protected Map<Binder.Binding<BEAN,?>,Object>
Binder. getBeanState(BEAN bean, Collection<Binder.Binding<BEAN,?>> bindings)
Stores the state of the given bean.Optional<Binder.Binding<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.data with parameters of type Binder.Binding Modifier and Type Method Description static <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, HasValue.ValueChangeEvent<?> event)
Informs the Binder that a value in Binding was changed.boolean
Binder. hasChanges(Binder.Binding<BEAN,?> binding)
Checks whether a bound field has uncommitted 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.data with type arguments of type Binder.Binding Modifier and Type Method Description protected 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.data with parameters of type Binder.Binding Constructor Description BindingValidationStatus(Binder.Binding<?,TARGET> source, BindingValidationStatus.Status status, ValidationResult result)
Deprecated.BindingValidationStatus(Binder.Binding<?,TARGET> source, ValidationResult result)
Deprecated.BindingValidationStatus(Result<TARGET> result, Binder.Binding<?,TARGET> source)
Creates a new status change event. -
Uses of Binder.Binding in com.vaadin.ui
Methods in com.vaadin.ui that return Binder.Binding Modifier and Type Method Description Binder.Binding<T,?>
Grid.Column. getEditorBinding()
Gets the binder binding that is currently used for this column.Methods in com.vaadin.ui with parameters of type Binder.Binding Modifier and Type Method Description Grid.Column<T,V>
Grid.Column. setEditorBinding(Binder.Binding<T,?> binding)
Sets an editor binding for this column.
-