Uses of Class
com.vaadin.flow.data.renderer.LitRenderer
Packages that use LitRenderer
Package
Description
-
Uses of LitRenderer in com.vaadin.flow.component.treegrid
Subclasses of LitRenderer in com.vaadin.flow.component.treegridModifier and TypeClassDescriptionclass
HierarchyColumnComponentRenderer<COMPONENT extends Component,
SOURCE> Renders components as hierarchy column for tree grid. -
Uses of LitRenderer in com.vaadin.flow.data.renderer
Subclasses of LitRenderer in com.vaadin.flow.data.rendererModifier and TypeClassDescriptionclass
BasicRenderer<SOURCE,
TARGET> Abstract renderer used as the base implementation for renderers that outputs a simple value in the UI, such asNumberRenderer
andLocalDateRenderer
.class
ComponentRenderer<COMPONENT extends Component,
SOURCE> Base class for all renderers that support arbitraryComponent
s.class
IconRenderer<ITEM>
A renderer that renders each item as a text following by an icon using provided icon generator and label generator.class
LocalDateRenderer<SOURCE>
A renderer for presenting date values.class
LocalDateTimeRenderer<SOURCE>
A renderer for presentingLocalDateTime
objects.class
NativeButtonRenderer<SOURCE>
A renderer to create a clickable button.class
NumberRenderer<SOURCE>
A renderer for presenting number values.class
TextRenderer<ITEM>
A renderer that renders each item as a text using providedItemLabelGenerator
.Methods in com.vaadin.flow.data.renderer that return LitRendererModifier and TypeMethodDescriptionstatic <SOURCE> LitRenderer<SOURCE>
Creates a new LitRenderer based on the provided template expression.LitRenderer.withFunction
(String functionName, SerializableBiConsumer<SOURCE, elemental.json.JsonArray> handler) Adds a function that can be called from within the template expression.LitRenderer.withFunction
(String functionName, SerializableConsumer<SOURCE> handler) Adds a function that can be called from within the template expression.LitRenderer.withProperty
(String property, ValueProvider<SOURCE, ?> provider) Makes a property available to the template expression. -
Uses of LitRenderer in com.vaadin.testbench.unit
Methods in com.vaadin.testbench.unit with parameters of type LitRendererModifier and TypeMethodDescriptionLitRendererTestUtil.getFunctionNames
(LitRenderer<Y> litRenderer, BiFunction<Class<?>, String, Field> fieldGetter) Gets the function names for the suppliedLitRenderer
using the given field getter.LitRendererTestUtil.getProperties
(LitRenderer<Y> litRenderer, BiFunction<Class<?>, String, Field> fieldGetter) Gets the property names for the suppliedLitRenderer
using the given field getter.static <Y,
V> V LitRendererTestUtil.getPropertyValue
(LitRenderer<Y> litRenderer, BiFunction<Class<?>, String, Field> fieldGetter, IntFunction<Y> itemGetter, int index, String propertyName, Class<V> propertyClass) Gets the property value for the suppliedLitRenderer
.static <Y> void
LitRendererTestUtil.invokeFunction
(LitRenderer<Y> litRenderer, BiFunction<Class<?>, String, Field> fieldGetter, IntFunction<Y> itemGetter, int index, String functionName, elemental.json.JsonArray jsonArray) Invokes the function by name for the suppliedLitRenderer
using the given field getter.