COMPONENT
- the type of the output componentSOURCE
- the type of the input model objectpublic class HierarchyColumnComponentRenderer<COMPONENT extends Component,SOURCE> extends ComponentRenderer<COMPONENT,SOURCE>
flow-component-renderer
tag inside of
vaadin-grid-tree-toggle
Constructor and Description |
---|
HierarchyColumnComponentRenderer(ValueProvider<SOURCE,COMPONENT> componentProvider) |
Modifier and Type | Method and Description |
---|---|
Rendering<SOURCE> |
render(Element container,
DataKeyMapper<SOURCE> keyMapper,
Element contentTemplate)
Handles the rendering of the model objects by using the given
<template> element in the given container. |
HierarchyColumnComponentRenderer<COMPONENT,SOURCE> |
withProperty(String property,
ValueProvider<SOURCE,?> provider) |
createComponent, setComponentRendererTag, updateComponent
getEventHandlers, getValueProviders, render, setEventHandler, setProperty
public HierarchyColumnComponentRenderer(ValueProvider<SOURCE,COMPONENT> componentProvider)
public HierarchyColumnComponentRenderer<COMPONENT,SOURCE> withProperty(String property, ValueProvider<SOURCE,?> provider)
public Rendering<SOURCE> render(Element container, DataKeyMapper<SOURCE> keyMapper, Element contentTemplate)
Renderer
<template>
element in the given container.
Subclasses of Renderer usually override this method to provide additional features.
render
in class ComponentRenderer<COMPONENT extends Component,SOURCE>
container
- the element in which the template will be attached to, not
null
keyMapper
- mapper used internally to fetch items by key and to provide
keys for given items. It is required when either event
handlers or DataGenerator
are supportedcontentTemplate
- the <template>
element to be used for rendering in the
container, not null
Copyright © 2025. All rights reserved.