Package io.jmix.flowui.data.binding.impl
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 Summary
-
Constructor Summary
ConstructorDescriptionDataViewBindingImpl
(C component, com.vaadin.flow.data.provider.DataProvider<V, ?> dataProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.shared.Registration
void
bind()
protected void
componentValueChanged
(V value) com.vaadin.flow.data.provider.DataProvider<V,
?> void
unbind()
-
Field Details
-
dataProvider
-
component
-
componentValueChangeRegistration
protected com.vaadin.flow.shared.Registration componentValueChangeRegistration
-
-
Constructor Details
-
DataViewBindingImpl
-
-
Method Details
-
getComponent
- Specified by:
getComponent
in interfaceDataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,
?, ?>, V>
-
getDataProvider
- Specified by:
getDataProvider
in interfaceDataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,
?, ?>, V>
-
bind
public void bind()- Specified by:
bind
in interfaceJmixBinding
-
unbind
public void unbind()- Specified by:
unbind
in interfaceJmixBinding
-
addComponentValueChangeListener
@Nullable protected com.vaadin.flow.shared.Registration addComponentValueChangeListener() -
componentValueChanged
-