Class HierarchyColumnComponentRenderer<COMPONENT extends com.vaadin.flow.component.Component,SOURCE>
- java.lang.Object
-
- com.vaadin.flow.data.renderer.Renderer<SOURCE>
-
- com.vaadin.flow.data.renderer.ComponentRenderer<COMPONENT,SOURCE>
-
- com.vaadin.flow.component.treegrid.HierarchyColumnComponentRenderer<COMPONENT,SOURCE>
-
- Type Parameters:
COMPONENT- the type of the output componentSOURCE- the type of the input model object
- All Implemented Interfaces:
Serializable
public class HierarchyColumnComponentRenderer<COMPONENT extends com.vaadin.flow.component.Component,SOURCE> extends ComponentRenderer<COMPONENT,SOURCE>
Renders components as hierarchy column for tree grid. Basically putsflow-component-renderertag inside ofvaadin-grid-tree-toggle- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HierarchyColumnComponentRenderer(com.vaadin.flow.function.ValueProvider<SOURCE,COMPONENT> componentProvider)
-
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, com.vaadin.flow.dom.Element contentTemplate)HierarchyColumnComponentRenderer<COMPONENT,SOURCE>withProperty(String property, com.vaadin.flow.function.ValueProvider<SOURCE,?> provider)-
Methods inherited from class com.vaadin.flow.data.renderer.ComponentRenderer
createComponent, setComponentRendererTag, updateComponent
-
Methods inherited from class com.vaadin.flow.data.renderer.Renderer
getEventHandlers, getValueProviders, render, setEventHandler, setProperty
-
-
-
-
Method Detail
-
withProperty
public HierarchyColumnComponentRenderer<COMPONENT,SOURCE> withProperty(String property, com.vaadin.flow.function.ValueProvider<SOURCE,?> provider)
-
-