Uses of Class
com.vaadin.flow.data.renderer.Renderer
-
-
Uses of Renderer in com.vaadin.flow.component.combobox
Methods in com.vaadin.flow.component.combobox with parameters of type Renderer Modifier and Type Method Description voidComboBoxBase. setRenderer(Renderer<TItem> renderer)Sets the Renderer responsible to render the individual items in the list of possible choices of the ComboBox. -
Uses of Renderer in com.vaadin.flow.component.grid
Subclasses of Renderer in com.vaadin.flow.component.grid Modifier and Type Class Description classColumnPathRenderer<SOURCE>Renderer for columns that doesn't use any template for rendering its contents (only the value from the object model).Methods in com.vaadin.flow.component.grid that return Renderer Modifier and Type Method Description Renderer<T>Grid.Column. getRenderer()Get the renderer used for this column.Methods in com.vaadin.flow.component.grid that return types with arguments of type Renderer Modifier and Type Method Description protected BiFunction<Renderer<T>,String,Grid.Column<T>>Grid. getDefaultColumnFactory()Gives a reference to the column factory.Methods in com.vaadin.flow.component.grid with parameters of type Renderer Modifier and Type Method Description Grid.Column<T>Grid. addColumn(Renderer<T> renderer)Adds a new text column to thisGridwith a renderer and default column factory.Grid.Column<T>Grid. addColumn(Renderer<T> renderer, String... sortingProperties)Deprecated.since 23.2 - useaddColumn(renderer).setSortProperty(sortingProperties)instead.protected <C extends Grid.Column<T>>
CGrid. addColumn(Renderer<T> renderer, BiFunction<Renderer<T>,String,C> columnFactory)Adds a new text column to thisGridwith a renderer and column factory provided.protected <C extends Grid.Column<T>>
CGrid. addColumn(Renderer<T> renderer, BiFunction<Renderer<T>,String,C> columnFactory, String... sortingProperties)Deprecated.since 23.2 - useaddColumn(renderer, columnFactory).setSortProperty(sortingProperties)instead.protected Grid.Column<T>Grid. createColumn(Renderer<T> renderer, String columnId)Deprecated.This method should not be used outside.voidGrid. setItemDetailsRenderer(Renderer<T> renderer)Set the renderer to use for displaying the item details rows in this grid.Method parameters in com.vaadin.flow.component.grid with type arguments of type Renderer Modifier and Type Method Description protected <C extends Grid.Column<T>>
CGrid. addColumn(Renderer<T> renderer, BiFunction<Renderer<T>,String,C> columnFactory)Adds a new text column to thisGridwith a renderer and column factory provided.protected <C extends Grid.Column<T>>
CGrid. addColumn(Renderer<T> renderer, BiFunction<Renderer<T>,String,C> columnFactory, String... sortingProperties)Deprecated.since 23.2 - useaddColumn(renderer, columnFactory).setSortProperty(sortingProperties)instead.protected <C extends Grid.Column<T>>
CGrid. addColumn(ValueProvider<T,?> valueProvider, BiFunction<Renderer<T>,String,C> columnFactory)Adds a new text column to thisGridwith a value provider and column factory provided.protected <C extends Grid.Column<T>>
CGrid. addColumn(String propertyName, BiFunction<Renderer<T>,String,C> columnFactory)Adds a new column for the given property name with the column factory provided.Constructors in com.vaadin.flow.component.grid with parameters of type Renderer Constructor Description Column(Grid<T> grid, String columnId, Renderer<T> renderer)Constructs a new Column for use inside a Grid. -
Uses of Renderer in com.vaadin.flow.component.grid.editor
Subclasses of Renderer in com.vaadin.flow.component.grid.editor Modifier and Type Class Description classEditorRenderer<T>Renderer and DataGenerator used byGrid.Columnto control the state of the editor components. -
Uses of Renderer in com.vaadin.flow.component.gridpro
Methods in com.vaadin.flow.component.gridpro with parameters of type Renderer Modifier and Type Method Description EditColumnConfigurator<E>GridPro. addEditColumn(ValueProvider<E,?> valueProvider, Renderer<E> renderer)Adds a new edit column to thisGridProwith a value provider and renderer which is used to display the content when the cell is not in the edit mode.protected GridPro.EditColumn<E>GridPro. createEditColumn(Renderer<E> renderer, String columnId)Creates a new edit column instance for thisGridProinstance.Constructors in com.vaadin.flow.component.gridpro with parameters of type Renderer Constructor Description EditColumn(GridPro<T> grid, String columnId, Renderer<T> renderer)Constructs a new Column for use inside a Grid. -
Uses of Renderer in com.vaadin.flow.component.ironlist
Methods in com.vaadin.flow.component.ironlist with parameters of type Renderer Modifier and Type Method Description voidIronList. setRenderer(Renderer<T> renderer)Deprecated.Sets a renderer for the items in the list, by using aTemplateRenderer. -
Uses of Renderer in com.vaadin.flow.component.treegrid
Subclasses of Renderer in com.vaadin.flow.component.treegrid Modifier and Type Class Description classHierarchyColumnComponentRenderer<COMPONENT extends Component,SOURCE>Renders components as hierarchy column for tree grid. -
Uses of Renderer in com.vaadin.flow.component.virtuallist
Methods in com.vaadin.flow.component.virtuallist with parameters of type Renderer Modifier and Type Method Description voidVirtualList. setRenderer(Renderer<T> renderer)Sets a renderer for the items in the list. -
Uses of Renderer in com.vaadin.flow.data.renderer
Subclasses of Renderer in com.vaadin.flow.data.renderer Modifier and Type Class Description classBasicRenderer<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.classLitRenderer<SOURCE>LitRenderer is aRendererthat uses a Lit-based template literal to render given model objects in the components that support the JS renderer functions API.classLocalDateRenderer<SOURCE>A template renderer for presenting date values.classLocalDateTimeRenderer<SOURCE>A template renderer for presentingLocalDateTimeobjects.classNativeButtonRenderer<SOURCE>A template renderer to create a clickable button.classNumberRenderer<SOURCE>A template renderer for presenting number values.classTemplateRenderer<SOURCE>Deprecated.since Vaadin 22,TemplateRendereris deprecated in favor ofLitRendererclassTextRenderer<ITEM>A renderer that renders each item as a text using providedItemLabelGenerator.Methods in com.vaadin.flow.data.renderer with parameters of type Renderer Modifier and Type Method Description static <T> voidRendererUtil. registerEventHandlers(Renderer<T> renderer, Element contentTemplate, Element templateDataHost, ValueProvider<String,T> keyMapper)Registers the event handlers associated to aTemplateRenderer, if any.
-