SOURCE - the type of the object modelpublic interface Rendering<SOURCE> extends Serializable
Renderer when building the output
elements. Components that support Renderers can use the context to customize
the rendering according to their needs.Renderer.render(Element, com.vaadin.flow.data.provider.DataKeyMapper)| Modifier and Type | Method and Description |
|---|---|
Optional<com.vaadin.flow.data.provider.DataGenerator<SOURCE>> |
getDataGenerator()
Gets a
DataGenerator associated with the renderer. |
default com.vaadin.flow.shared.Registration |
getRegistration()
Gets a
Registration that can be used to clean up resources
associated with the renderer when it's no longer used. |
com.vaadin.flow.dom.Element |
getTemplateElement()
Deprecated.
since Vaadin 22
|
Optional<com.vaadin.flow.data.provider.DataGenerator<SOURCE>> getDataGenerator()
DataGenerator associated with the renderer. The
DataGenerator is used in components that support in asynchronous loading
of items.@Deprecated com.vaadin.flow.dom.Element getTemplateElement()
<template> element associated with the rendering. This
can be used to set specific attributes to the template, or change its
contents before it is stamped on the client-side.null if no template
element is associated with the renderingdefault com.vaadin.flow.shared.Registration getRegistration()
Registration that can be used to clean up resources
associated with the renderer when it's no longer used.Registration.remove()Copyright © 2022. All rights reserved.