Class HierarchyColumnComponentRenderer<COMPONENT extends Component,SOURCE>
java.lang.Object
com.vaadin.flow.data.renderer.Renderer<SOURCE>
com.vaadin.flow.data.renderer.LitRenderer<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 Component,SOURCE>
extends ComponentRenderer<COMPONENT,SOURCE>
Renders components as hierarchy column for tree grid.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHierarchyColumnComponentRenderer(ValueProvider<SOURCE, COMPONENT> componentProvider, TreeGrid<SOURCE> grid) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the Lit template expression used to render items.Methods inherited from class com.vaadin.flow.data.renderer.ComponentRenderer
createComponent, render, updateComponentMethods inherited from class com.vaadin.flow.data.renderer.LitRenderer
getValueProviders, of, withFunction, withFunction, withProperty
-
Constructor Details
-
HierarchyColumnComponentRenderer
public HierarchyColumnComponentRenderer(ValueProvider<SOURCE, COMPONENT> componentProvider, TreeGrid<SOURCE> grid)
-
-
Method Details
-
getTemplateExpression
Description copied from class:LitRendererReturns the Lit template expression used to render items.- Overrides:
getTemplateExpressionin classComponentRenderer<COMPONENT extends Component,SOURCE> - Returns:
- the template expression
-