Package com.vaadin.flow.component.grid
Class ColumnPathRenderer<SOURCE>
- java.lang.Object
-
- com.vaadin.flow.data.renderer.Renderer<SOURCE>
-
- com.vaadin.flow.component.grid.ColumnPathRenderer<SOURCE>
-
- Type Parameters:
SOURCE
- the object model type
- All Implemented Interfaces:
Serializable
public class ColumnPathRenderer<SOURCE> extends Renderer<SOURCE>
Renderer for columns that doesn't use any template for rendering its contents (only the value from the object model). In such cases, atemplate
element is not needed on the client-side, only thepath
property.- Author:
- Vaadin Ltd.
- See Also:
Grid.addColumn(ValueProvider)
, Serialized Form
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rendering<SOURCE>
render(com.vaadin.flow.dom.Element container, com.vaadin.flow.data.provider.DataKeyMapper<SOURCE> keyMapper)
Rendering<SOURCE>
render(com.vaadin.flow.dom.Element container, com.vaadin.flow.data.provider.DataKeyMapper<SOURCE> keyMapper, com.vaadin.flow.dom.Element contentTemplate)
-
Methods inherited from class com.vaadin.flow.data.renderer.Renderer
getEventHandlers, getValueProviders, setEventHandler, setProperty
-
-