Class ColumnPathRenderer<SOURCE>

java.lang.Object
com.vaadin.flow.data.renderer.Renderer<SOURCE>
io.jmix.groupgridflowui.kit.vaadin.grid.ColumnPathRenderer<SOURCE>
Type Parameters:
SOURCE - the object model type
All Implemented Interfaces:
Serializable

public class ColumnPathRenderer<SOURCE> extends com.vaadin.flow.data.renderer.Renderer<SOURCE>
Renderer for columns that doesn't use a renderer function for rendering its contents (only the value from the object model). In such cases, a renderer function is not needed on the client-side, only the path property.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ColumnPathRenderer(String property, com.vaadin.flow.function.ValueProvider<SOURCE,?> provider)
    Creates a new renderer based on the property and the value provider for that property.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.data.renderer.Rendering<SOURCE>
    render(com.vaadin.flow.dom.Element container, com.vaadin.flow.data.provider.DataKeyMapper<SOURCE> keyMapper, String rendererName)
     

    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

    • ColumnPathRenderer

      public ColumnPathRenderer(String property, com.vaadin.flow.function.ValueProvider<SOURCE,?> provider)
      Creates a new renderer based on the property and the value provider for that property.
      Parameters:
      property - the property name
      provider - the value provider for the property
  • Method Details

    • render

      public com.vaadin.flow.data.renderer.Rendering<SOURCE> render(com.vaadin.flow.dom.Element container, com.vaadin.flow.data.provider.DataKeyMapper<SOURCE> keyMapper, String rendererName)
      Specified by:
      render in class com.vaadin.flow.data.renderer.Renderer<SOURCE>