Package io.jmix.flowui.data.binding
Interface HtmlContainerReadonlyDataBinding
- All Known Implementing Classes:
HtmlContainerReadonlyDataBindingImpl
@NullMarked
@Deprecated(since="3.1",
forRemoval=true)
public interface HtmlContainerReadonlyDataBinding
Deprecated, for removal: This API element is subject to removal in a future version.
Binds
HtmlContainer with ValueSource, InstanceContainer or CollectionContainer
to show entity property value.-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.Registrationbind(com.vaadin.flow.component.HtmlContainer htmlContainer, ValueSource<?> valueSource) Deprecated, for removal: This API element is subject to removal in a future version.BindsHtmlContainerwithValueSourceto showValueSource.getValue()as a text value in html containercom.vaadin.flow.shared.Registrationbind(com.vaadin.flow.component.HtmlContainer htmlContainer, CollectionContainer<?> dataContainer, String property) Deprecated, for removal: This API element is subject to removal in a future version.BindsHtmlContainerwithCollectionContainerto showInstanceContainer.getItem()property as a text value in html containercom.vaadin.flow.shared.Registrationbind(com.vaadin.flow.component.HtmlContainer htmlContainer, InstanceContainer<?> dataContainer, String property) Deprecated, for removal: This API element is subject to removal in a future version.BindsHtmlContainerwithInstanceContainerto showInstanceContainer.getItem()property as a text value in html container
-
Method Details
-
bind
com.vaadin.flow.shared.Registration bind(com.vaadin.flow.component.HtmlContainer htmlContainer, ValueSource<?> valueSource) Deprecated, for removal: This API element is subject to removal in a future version.BindsHtmlContainerwithValueSourceto showValueSource.getValue()as a text value in html container- Parameters:
htmlContainer- html containervalueSource- data component holding a typed value- Returns:
- a registration object for removing an event listener
-
bind
com.vaadin.flow.shared.Registration bind(com.vaadin.flow.component.HtmlContainer htmlContainer, InstanceContainer<?> dataContainer, String property) Deprecated, for removal: This API element is subject to removal in a future version.BindsHtmlContainerwithInstanceContainerto showInstanceContainer.getItem()property as a text value in html container- Parameters:
htmlContainer- html containerdataContainer- instance containerproperty- name of an entity property whose value is shown in html container- Returns:
- a registration object for removing an event listener
-
bind
com.vaadin.flow.shared.Registration bind(com.vaadin.flow.component.HtmlContainer htmlContainer, CollectionContainer<?> dataContainer, String property) Deprecated, for removal: This API element is subject to removal in a future version.BindsHtmlContainerwithCollectionContainerto showInstanceContainer.getItem()property as a text value in html container- Parameters:
htmlContainer- html containerdataContainer- collection containerproperty- name of an entity property whose value is shown in html container- Returns:
- a registration object for removing an event listener
-
TextComponentReadonlyDataBindinginstead, it supports any component that implementsHasText