Package | Description |
---|---|
com.vaadin.flow.component.polymertemplate | |
com.vaadin.flow.templatemodel |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTemplate<M extends TemplateModel> |
class |
PolymerTemplate<M extends TemplateModel>
Component for an HTML element declared as a polymer component.
|
Modifier and Type | Class and Description |
---|---|
class |
ModelDescriptor<T extends TemplateModel>
Describes the model type of a template class.
|
Modifier and Type | Method and Description |
---|---|
static <T extends TemplateModel> |
ModelDescriptor.get(Class<T> modelType)
Gets the model descriptor for a model type.
|
Modifier and Type | Method and Description |
---|---|
static <R> R |
TemplateModelUtil.resolveBeanAndRun(TemplateModel model,
String modelPath,
BiFunction<BeanModelType<?>,ElementPropertyMap,R> callback)
Resolves a bean model type and model map based on a model instance and
passes those values to the provided callback.
|
static <R> R |
TemplateModelUtil.resolveListAndRun(TemplateModel model,
String modelPath,
BiFunction<ListModelType<?>,ModelList,R> callback)
Resolves a list model type and a model list based on a model instance and
passes those to the provided callback.
|
Copyright © 2020. All rights reserved.