Class HtmlContainerReadonlyDataBindingImpl

java.lang.Object
io.jmix.flowui.data.binding.impl.HtmlContainerReadonlyDataBindingImpl
All Implemented Interfaces:
HtmlContainerReadonlyDataBinding

@Component("flowui_HtmlContainerDataBinding") public class HtmlContainerReadonlyDataBindingImpl extends Object implements HtmlContainerReadonlyDataBinding
  • Field Details

  • Constructor Details

  • Method Details

    • bind

      public com.vaadin.flow.shared.Registration bind(com.vaadin.flow.component.HtmlContainer htmlContainer, ValueSource<?> valueSource)
      Description copied from interface: HtmlContainerReadonlyDataBinding
      Binds HtmlContainer with ValueSource to show ValueSource.getValue() as a text value in html container
      Specified by:
      bind in interface HtmlContainerReadonlyDataBinding
      Parameters:
      htmlContainer - html container
      valueSource - data component holding a typed value
      Returns:
      a registration object for removing an event listener
    • bind

      public com.vaadin.flow.shared.Registration bind(com.vaadin.flow.component.HtmlContainer htmlContainer, InstanceContainer<?> dataContainer, String property)
      Description copied from interface: HtmlContainerReadonlyDataBinding
      Binds HtmlContainer with InstanceContainer to show InstanceContainer.getItem() property as a text value in html container
      Specified by:
      bind in interface HtmlContainerReadonlyDataBinding
      Parameters:
      htmlContainer - html container
      dataContainer - instance container
      property - name of an entity property whose value is shown in html container
      Returns:
      a registration object for removing an event listener
    • bind

      public com.vaadin.flow.shared.Registration bind(com.vaadin.flow.component.HtmlContainer htmlContainer, CollectionContainer<?> dataContainer, String property)
      Description copied from interface: HtmlContainerReadonlyDataBinding
      Binds HtmlContainer with CollectionContainer to show InstanceContainer.getItem() property as a text value in html container
      Specified by:
      bind in interface HtmlContainerReadonlyDataBinding
      Parameters:
      htmlContainer - html container
      dataContainer - collection container
      property - name of an entity property whose value is shown in html container
      Returns:
      a registration object for removing an event listener
    • updateHtmlContainerText

      protected <T> void updateHtmlContainerText(com.vaadin.flow.component.HtmlContainer htmlContainer, @Nullable T value)
    • checkPermissions

      protected void checkPermissions(com.vaadin.flow.component.HtmlContainer htmlContainer, ValueSource<?> valueSource)
    • checkPermissions

      protected void checkPermissions(com.vaadin.flow.component.HtmlContainer htmlContainer, InstanceContainer<?> dataContainer, String property)