Interface HtmlContainerReadonlyDataBinding

All Known Implementing Classes:
HtmlContainerReadonlyDataBindingImpl

public interface HtmlContainerReadonlyDataBinding
Binds HtmlContainer with ValueSource, InstanceContainer or CollectionContainer to show entity property value.
  • Method Details

    • bind

      void bind(com.vaadin.flow.component.HtmlContainer htmlContainer, ValueSource<?> valueSource)
      Binds HtmlContainer with ValueSource to show ValueSource.getValue() as a text value in html container
      Parameters:
      htmlContainer - html container
      valueSource - data component holding a typed value
    • bind

      void bind(com.vaadin.flow.component.HtmlContainer htmlContainer, InstanceContainer<?> dataContainer, String property)
      Binds HtmlContainer with InstanceContainer to show InstanceContainer.getItem() property as a text value in html container
      Parameters:
      htmlContainer - html container
      dataContainer - instance container
      property - name of an entity property whose value is showed in html container
    • bind

      void bind(com.vaadin.flow.component.HtmlContainer htmlContainer, CollectionContainer<?> dataContainer, String property)
      Binds HtmlContainer with CollectionContainer to show InstanceContainer.getItem() property as a text value in html container
      Parameters:
      htmlContainer - html container
      dataContainer - collection container
      property - name of an entity property whose value is showed in html container
    • unbind

      void unbind(com.vaadin.flow.component.HtmlContainer htmlContainer)
      Remove data binding fom html container
      Parameters:
      htmlContainer - html container