com.vaadin.flow.data.renderer.
Interface Rendering<SOURCE>
Type Parameters:
SOURCE
- the type of the object model
All Superinterfaces:
Defines the context of a given Renderer
when building the output
elements. Components that support Renderers can use the context to customize
the rendering according to their needs.
Author:
Vaadin Ltd
See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets a
DataGenerator
associated with the renderer.default Registration
Gets a
Registration
that can be used to clean up resources associated with the renderer when it's no longer used.
-
Method Details
-
getDataGenerator
Optional<DataGenerator<SOURCE>> getDataGenerator()Gets a
DataGenerator
associated with the renderer. The DataGenerator is used in components that support in asynchronous loading of items.Returns:
the associated DataGenerator, if any
-
getRegistration
Gets a
Registration
that can be used to clean up resources associated with the renderer when it's no longer used.Returns:
the Registration
See Also:
-