Package io.jmix.flowui.data.binding
Interface ValueBinding<V>
- Type Parameters:
V- the type of the value being bound
- All Superinterfaces:
JmixBinding
- All Known Implementing Classes:
AbstractValueBinding,CheckboxValueBinding,FieldValueBinding
Represents a binding between a UI component and a
ValueSource.
This interface allows synchronization of the component's value with the
underlying value source and provides methods to manage this binding.-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()Activates binding between a UI component and aValueSource.com.vaadin.flow.component.HasValue<?,V> Returns the component associated with this binding.Returns theValueSourceassociated with this binding.Methods inherited from interface io.jmix.flowui.data.binding.JmixBinding
bind, unbind
-
Method Details
-
getValueSource
ValueSource<V> getValueSource()Returns theValueSourceassociated with this binding.- Returns:
- the value source used for this binding
-
getComponent
com.vaadin.flow.component.HasValue<?,V> getComponent()Returns the component associated with this binding.- Returns:
- the component associated with this binding
-
activate
void activate()Activates binding between a UI component and aValueSource.
-