Class GridRendererAdapter<T,V>

java.lang.Object
com.vaadin.flow.data.renderer.Renderer<T>
com.vaadin.flow.data.renderer.LitRenderer<T>
com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.Component,T>
com.vaadin.flow.data.renderer.BasicRenderer<T,V>
com.vaadin.featurepack.util.GridRendererAdapter<T,V>
All Implemented Interfaces:
Serializable

public class GridRendererAdapter<T,V> extends com.vaadin.flow.data.renderer.BasicRenderer<T,V>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GridRendererAdapter(com.vaadin.flow.function.ValueProvider<T,V> valueProvider, com.vaadin.flow.data.renderer.Renderer<V> renderer, Converter<?,V> converter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.Component
     
     
    protected boolean
     
    com.vaadin.flow.data.renderer.Rendering<T>
    render(com.vaadin.flow.dom.Element container, com.vaadin.flow.data.provider.DataKeyMapper<T> keyMapper, String rendererName)
     
    void
    setConverter(Converter<?,?> converter)
     
    com.vaadin.flow.component.Component
    updateComponent(com.vaadin.flow.component.Component currentComponent, T item)
     

    Methods inherited from class com.vaadin.flow.data.renderer.BasicRenderer

    getFormattedValue, getTemplateExpression, getValueProvider

    Methods inherited from class com.vaadin.flow.data.renderer.LitRenderer

    getValueProviders, of, withFunction, withFunction, withProperty

    Methods inherited from class com.vaadin.flow.data.renderer.Renderer

    render

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GridRendererAdapter

      public GridRendererAdapter(com.vaadin.flow.function.ValueProvider<T,V> valueProvider, com.vaadin.flow.data.renderer.Renderer<V> renderer, Converter<?,V> converter)
  • Method Details

    • createComponent

      public com.vaadin.flow.component.Component createComponent(T item)
      Overrides:
      createComponent in class com.vaadin.flow.data.renderer.BasicRenderer<T,V>
    • updateComponent

      public com.vaadin.flow.component.Component updateComponent(com.vaadin.flow.component.Component currentComponent, T item)
      Overrides:
      updateComponent in class com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.Component,T>
    • render

      public com.vaadin.flow.data.renderer.Rendering<T> render(com.vaadin.flow.dom.Element container, com.vaadin.flow.data.provider.DataKeyMapper<T> keyMapper, String rendererName)
      Overrides:
      render in class com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.Component,T>
    • setConverter

      public void setConverter(Converter<?,?> converter)
    • getConverter

      public Converter<?,V> getConverter()
    • isValueProviderConverted

      protected boolean isValueProviderConverted()