Uses of Class
com.vaadin.flow.data.renderer.LitRenderer

  • Uses of LitRenderer in com.vaadin.flow.data.renderer

    Modifier and Type
    Class
    Description
    class 
    BasicRenderer<SOURCE,TARGET>
    Abstract renderer used as the base implementation for renderers that outputs a simple value in the UI, such as NumberRenderer and LocalDateRenderer.
    class 
    ComponentRenderer<COMPONENT extends com.vaadin.flow.component.Component,SOURCE>
    Base class for all renderers that support arbitrary Components.
    class 
    A renderer that renders each item as a text following by an icon using provided icon generator and label generator.
    class 
    A renderer for presenting date values.
    class 
    A renderer for presenting LocalDateTime objects.
    class 
    A renderer to create a clickable button.
    class 
    A renderer for presenting number values.
    class 
    A renderer that renders each item as a text using provided ItemLabelGenerator.
    Modifier and Type
    Method
    Description
    static <SOURCE> LitRenderer<SOURCE>
    LitRenderer.of(CompiledLitTemplate template)
    Creates a new LitRenderer based on a template declared by a method of a JsSnippets interface.
    static <SOURCE> LitRenderer<SOURCE>
    LitRenderer.of(String templateExpression)
    Creates a new LitRenderer based on the provided template expression.
    LitRenderer.withClientAction(String name, com.vaadin.flow.component.trigger.internal.Action action)
    Adds a client-side action that can be called from within the template expression, for affordances that must run inside the browser's own event handler — copying to the clipboard, sharing, entering fullscreen — where a function cannot work because it round-trips to the server and the user gesture is gone by the time the server responds.
    LitRenderer.withFunction(String functionName, com.vaadin.flow.function.SerializableBiConsumer<SOURCE,tools.jackson.databind.node.ArrayNode> handler)
    Adds a function that can be called from within the template expression.
    LitRenderer.withFunction(String functionName, com.vaadin.flow.function.SerializableConsumer<SOURCE> handler)
    Adds a function that can be called from within the template expression.
    LitRenderer.withProperty(String property, com.vaadin.flow.function.ValueProvider<SOURCE,?> provider)
    Makes a property available to the template expression.