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 | Class and Description |
---|---|
class |
ColumnPathRenderer<SOURCE>
Renderer for columns that doesn't use any template for rendering its contents
(only the value from the object model).
|
Modifier and Type | Method and Description |
---|---|
Renderer<T> |
Grid.Column.getRenderer()
Get the renderer used for this column.
|
Modifier and Type | Method and Description |
---|---|
protected BiFunction<Renderer<T>,String,Grid.Column<T>> |
Grid.getDefaultColumnFactory()
Gives a reference to the column factory.
|
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 and default
column factory. |
protected <C extends Grid.Column<T>> |
Grid.addColumn(Renderer<T> renderer,
BiFunction<Renderer<T>,String,C> columnFactory)
Adds a new text column to this
Grid with a renderer and column
factory provided. |
protected <C extends Grid.Column<T>> |
Grid.addColumn(Renderer<T> renderer,
BiFunction<Renderer<T>,String,C> columnFactory,
String... sortingProperties)
Adds a new text column to this
Grid with a template renderer,
sorting properties and column factory provided. |
Grid.Column<T> |
Grid.addColumn(Renderer<T> renderer,
String... sortingProperties)
Adds a new text column to this
Grid with a template renderer,
sorting properties and default column factory. |
protected Grid.Column<T> |
Grid.createColumn(Renderer<T> renderer,
String columnId)
Deprecated.
This method should not be used outside.
Grid.getDefaultColumnFactory() should be used instead. |
void |
Grid.setItemDetailsRenderer(Renderer<T> renderer)
Set the renderer to use for displaying the item details rows in this
grid.
|
Modifier and Type | Method and Description |
---|---|
protected <C extends Grid.Column<T>> |
Grid.addColumn(Renderer<T> renderer,
BiFunction<Renderer<T>,String,C> columnFactory)
Adds a new text column to this
Grid with a renderer and column
factory provided. |
protected <C extends Grid.Column<T>> |
Grid.addColumn(Renderer<T> renderer,
BiFunction<Renderer<T>,String,C> columnFactory,
String... sortingProperties)
Adds a new text column to this
Grid with a template renderer,
sorting properties and column factory provided. |
protected <C extends Grid.Column<T>> |
Grid.addColumn(String propertyName,
BiFunction<Renderer<T>,String,C> columnFactory)
Adds a new column for the given property name with the column factory
provided.
|
protected <C extends Grid.Column<T>> |
Grid.addColumn(ValueProvider<T,?> valueProvider,
BiFunction<Renderer<T>,String,C> columnFactory)
Adds a new text column to this
Grid with a value provider and
column factory provided. |
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 |
---|---|
EditColumnConfigurator<E> |
GridPro.addEditColumn(ValueProvider<E,?> valueProvider,
Renderer<E> renderer)
Adds a new edit column to this
GridPro with 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 this
GridPro instance. |
Constructor and Description |
---|
EditColumn(GridPro<T> grid,
String columnId,
Renderer<T> renderer)
Constructs a new Column for use inside a Grid.
|
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 |
HierarchyColumnComponentRenderer<COMPONENT extends Component,SOURCE>
Renders components as hierarchy column for tree grid.
|
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
Component 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 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 © 2025. All rights reserved.