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

java.lang.Object
io.jmix.flowui.data.binding.impl.DataViewBindingImpl<C,V>
All Implemented Interfaces:
DataViewBinding<C,V>, JmixBinding

public class DataViewBindingImpl<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?,?>,V> extends Object implements DataViewBinding<C,V>
  • Field Details

    • dataProvider

      protected com.vaadin.flow.data.provider.DataProvider<V,?> dataProvider
    • component

      protected C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?,?> component
    • componentValueChangeRegistration

      protected com.vaadin.flow.shared.Registration componentValueChangeRegistration
  • Constructor Details

    • DataViewBindingImpl

      public DataViewBindingImpl(C component, com.vaadin.flow.data.provider.DataProvider<V,?> dataProvider)
  • Method Details

    • getComponent

      public C getComponent()
      Specified by:
      getComponent in interface DataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?,?>,V>
    • getDataProvider

      public com.vaadin.flow.data.provider.DataProvider<V,?> getDataProvider()
      Specified by:
      getDataProvider in interface DataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?,?>,V>
    • bind

      public void bind()
      Specified by:
      bind in interface JmixBinding
    • unbind

      public void unbind()
      Specified by:
      unbind in interface JmixBinding
    • addComponentValueChangeListener

      @Nullable protected com.vaadin.flow.shared.Registration addComponentValueChangeListener()
    • componentValueChanged

      protected void componentValueChanged(@Nullable V value)