| Package | Description |
|---|---|
| com.vaadin.flow.templatemodel |
| 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 |
|---|---|
BeanModelType<?> |
TemplateModelProxyHandler.ModelProxy.$modelType()
Gets the model type definition for this type.
|
<C> BeanModelType<C> |
BeanModelType.cast(Class<C> proxyType) |
static BeanModelType<?> |
TemplateModelProxyHandler.getModelTypeForProxy(Object proxy)
Gets the model type that a proxy instance is bound to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateModelProxyHandler.ModelProxy.$modelType(BeanModelType<?> type)
Sets the model type for this instance.
|
static <T> T |
TemplateModelProxyHandler.createModelProxy(StateNode stateNode,
BeanModelType<T> modelType)
Creates a proxy object for the given
modelType type for the given
state node. |
| 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.
|
Copyright © 2025. All rights reserved.