Package com.vaadin.flow.data.renderer
Interface Rendering<SOURCE>
- Type Parameters:
SOURCE
- the type of the object model
- All Superinterfaces:
Serializable
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 aDataGenerator
associated with the renderer.default Registration
Gets aRegistration
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 aDataGenerator
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 aRegistration
that can be used to clean up resources associated with the renderer when it's no longer used.- Returns:
- the Registration
- See Also:
-