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,SuspendableBindingAware
public class DataViewBindingImpl<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?,?>,V>
extends Object
implements DataViewBinding<C,V>, SuspendableBindingAware
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Cprotected com.vaadin.flow.shared.Registrationprotected com.vaadin.flow.data.provider.DataProvider<V,?> protected com.vaadin.flow.shared.Registrationprotected SuspendableBinding -
Constructor Summary
ConstructorsConstructorDescriptionDataViewBindingImpl(C component, com.vaadin.flow.data.provider.DataProvider<V, ?> dataProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.shared.Registrationvoidbind()protected voidcomponentValueChanged(V value) protected booleancom.vaadin.flow.data.provider.DataProvider<V,?> protected voidonItemsChanged(EntityItems.ItemsChangeEvent<V> itemsChangeEvent) voidsetSuspendableBinding(SuspendableBinding suspendableBinding) voidunbind()
-
Field Details
-
dataProvider
-
component
-
suspendableBinding
-
componentValueChangeRegistration
protected com.vaadin.flow.shared.Registration componentValueChangeRegistration -
itemsChangeRegistration
protected com.vaadin.flow.shared.Registration itemsChangeRegistration
-
-
Constructor Details
-
DataViewBindingImpl
-
-
Method Details
-
getComponent
- Specified by:
getComponentin interfaceDataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?, ?>, V>
-
getDataProvider
- Specified by:
getDataProviderin interfaceDataViewBinding<C extends com.vaadin.flow.component.Component & com.vaadin.flow.data.provider.HasDataView<V,?, ?>, V>
-
bind
public void bind()- Specified by:
bindin interfaceJmixBinding
-
unbind
public void unbind()- Specified by:
unbindin interfaceJmixBinding
-
addComponentValueChangeListener
@Nullable protected com.vaadin.flow.shared.Registration addComponentValueChangeListener() -
componentValueChanged
-
onItemsChanged
-
contains
-
setSuspendableBinding
- Specified by:
setSuspendableBindingin interfaceSuspendableBindingAware
-