| Package | Description |
|---|---|
| com.vaadin.flow.component.combobox | |
| com.vaadin.flow.component.grid | |
| com.vaadin.flow.component.grid.editor | |
| com.vaadin.flow.component.ironlist | |
| com.vaadin.flow.data.renderer |
| Modifier and Type | Method and Description |
|---|---|
void |
ComboBox.setRenderer(Renderer<T> renderer)
Sets the TemplateRenderer responsible to render the individual items in
the list of possible choices of the ComboBox.
|
| Modifier and Type | Method and Description |
|---|---|
Renderer<T> |
Grid.Column.getRenderer()
Get the renderer used for this column.
|
| Modifier and Type | Method and Description |
|---|---|
Grid.Column<T> |
Grid.addColumn(Renderer<T> renderer)
Adds a new text column to this
Grid with a renderer. |
Grid.Column<T> |
Grid.addColumn(Renderer<T> renderer,
String... sortingProperties)
Adds a new text column to this
Grid with a template renderer and
sorting properties. |
protected Grid.Column<T> |
Grid.createColumn(Renderer<T> renderer,
String columnId)
Creates a new column instance for this
Grid instance. |
void |
Grid.setItemDetailsRenderer(Renderer<T> renderer)
Set the renderer to use for displaying the item details rows in this
grid.
|
| Constructor and Description |
|---|
Column(Grid<T> grid,
String columnId,
Renderer<T> renderer)
Constructs a new Column for use inside a Grid.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EditorRenderer<T>
Renderer and DataGenerator used by
Grid.Column to control the state of the
editor components. |
| Modifier and Type | Method and Description |
|---|---|
void |
IronList.setRenderer(Renderer<T> renderer)
Sets a renderer for the items in the list, by using a
TemplateRenderer. |
| Modifier and Type | Class and 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 Component,SOURCE>
Base class for all renderers that support arbitrary
Components. |
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 template renderer for presenting date values.
|
class |
LocalDateTimeRenderer<SOURCE>
A template renderer for presenting
LocalDateTime objects. |
class |
NativeButtonRenderer<SOURCE>
A template renderer to create a clickable button.
|
class |
NumberRenderer<SOURCE>
A template renderer for presenting number values.
|
class |
TemplateRenderer<SOURCE>
Helper class to create
Renderer instances, with fluent API. |
class |
TextRenderer<ITEM>
A renderer that renders each item as a text using provided
ItemLabelGenerator. |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
RendererUtil.registerEventHandlers(Renderer<T> renderer,
Element contentTemplate,
Element templateDataHost,
ValueProvider<String,T> keyMapper)
Registers the event handlers associated to a
TemplateRenderer, if
any. |
Copyright © 2018. All rights reserved.