Interface DataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?,?>,V>

Type Parameters:
C - the type of the component, which must extend Component and implement HasDataView
V - the type of data provided by the DataProvider
All Superinterfaces:
JmixBinding
All Known Implementing Classes:
DataViewBindingImpl

public interface DataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?,?>,V> extends JmixBinding
Represents a binding between a UI component and a data provider. This interface is used to manage and synchronize data between the UI and the underlying data source.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the component associated with this binding.
    com.vaadin.flow.data.provider.DataProvider<V,?>
    Retrieves the data provider associated with this binding.

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

    bind, unbind
  • Method Details

    • getComponent

      C getComponent()
      Returns the component associated with this binding.
      Returns:
      the component associated with this binding
    • getDataProvider

      com.vaadin.flow.data.provider.DataProvider<V,?> getDataProvider()
      Retrieves the data provider associated with this binding.
      Returns:
      the data provider managing the data, or null if no data provider is bound