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 TypeClassDescriptionclassHierarchyColumnComponentRenderer<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 TypeClassDescriptionclassBasicRenderer<SOURCE,TARGET> Abstract renderer used as the base implementation for renderers that outputs a simple value in the UI, such asNumberRendererandLocalDateRenderer.classComponentRenderer<COMPONENT extends Component,SOURCE> Base class for all renderers that support arbitraryComponents.classIconRenderer<ITEM>A renderer that renders each item as a text following by an icon using provided icon generator and label generator.classLocalDateRenderer<SOURCE>A renderer for presenting date values.classLocalDateTimeRenderer<SOURCE>A renderer for presentingLocalDateTimeobjects.classNativeButtonRenderer<SOURCE>A renderer to create a clickable button.classNumberRenderer<SOURCE>A renderer for presenting number values.classTextRenderer<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 suppliedLitRendererusing the given field getter.LitRendererTestUtil.getProperties(LitRenderer<Y> litRenderer, BiFunction<Class<?>, String, Field> fieldGetter) Gets the property names for the suppliedLitRendererusing 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> voidLitRendererTestUtil.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 suppliedLitRendererusing the given field getter.