Package io.jmix.flowui.data.binding
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 extendComponentand implementHasDataViewV- the type of data provided by theDataProvider
- 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 TypeMethodDescriptionReturns 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
nullif no data provider is bound
-