Interface ValueBinding<V>

Type Parameters:
V - the type of the value being bound
All Superinterfaces:
JmixBinding
All Known Implementing Classes:
AbstractValueBinding, CheckboxValueBinding, FieldValueBinding

public interface ValueBinding<V> extends JmixBinding
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 Type
    Method
    Description
    void
    Activates binding between a UI component and a ValueSource.
    com.vaadin.flow.component.HasValue<?,V>
    Returns the component associated with this binding.
    Returns the ValueSource associated with this binding.

    Methods inherited from interface io.jmix.flowui.data.binding.JmixBinding

    bind, unbind
  • Method Details

    • getValueSource

      ValueSource<V> getValueSource()
      Returns the ValueSource associated 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 a ValueSource.