Package | Description |
---|---|
com.vaadin.flow.data.provider | |
com.vaadin.flow.data.provider.hierarchy | |
com.vaadin.flow.data.renderer |
Modifier and Type | Class and Description |
---|---|
class |
KeyMapper<V>
KeyMapper is the simple two-way map for generating textual keys
for objects and retrieving the objects later with the key. |
Modifier and Type | Method and Description |
---|---|
DataKeyMapper<T> |
DataCommunicator.getKeyMapper()
Gets the
DataKeyMapper used by this DataCommunicator . |
Modifier and Type | Method and Description |
---|---|
protected void |
DataCommunicator.setKeyMapper(DataKeyMapper<T> keyMapper)
Sets the
DataKeyMapper used in this DataCommunicator . |
Constructor and Description |
---|
HierarchicalCommunicationController(String parentKey,
DataKeyMapper<T> keyMapper,
HierarchyMapper<T,?> mapper,
DataGenerator<T> dataGenerator,
SerializableFunction<Integer,HierarchicalArrayUpdater.HierarchicalUpdate> startUpdate,
SerializableBiFunction<String,Range,Stream<T>> fetchItems)
Constructs communication controller with support for hierarchical data
structure.
|
Modifier and Type | Method and Description |
---|---|
Rendering<SOURCE> |
Renderer.render(Element container,
DataKeyMapper<SOURCE> keyMapper)
Handles the rendering of the model objects by creating a new
<template> element in the given container. |
Rendering<SOURCE> |
Renderer.render(Element container,
DataKeyMapper<SOURCE> keyMapper,
Element contentTemplate)
Handles the rendering of the model objects by using the given
<template> element in the given container. |
Rendering<SOURCE> |
ComponentRenderer.render(Element container,
DataKeyMapper<SOURCE> keyMapper,
Element contentTemplate) |
Rendering<SOURCE> |
BasicRenderer.render(Element container,
DataKeyMapper<SOURCE> keyMapper,
Element contentTemplate) |
Copyright © 2018. All rights reserved.