| Package | Description |
|---|---|
| com.vaadin.flow.templatemodel |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicComplexModelType<T>
A model type representing an immutable leaf value (e.g.
|
class |
BeanModelType<T>
A model type corresponding to a Java bean type.
|
class |
ListModelType<T>
A model type corresponding to a list of bean types.
|
class |
ModelDescriptor<T extends TemplateModel>
Describes the model type of a template class.
|
| Modifier and Type | Method and Description |
|---|---|
<C> ComplexModelType<C> |
ListModelType.cast(Class<C> proxyType) |
<C> ComplexModelType<C> |
ComplexModelType.cast(Class<C> proxyType)
Checks that this type uses the provided proxy type and returns this type
as a model type with that proxy type.
|
<C> ComplexModelType<C> |
BasicComplexModelType.cast(Class<C> proxyType) |
ComplexModelType<T> |
ListModelType.getItemType()
Gets the item type.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<ComplexModelType<?>> |
BasicComplexModelType.get(Class<?> type)
Gets the basic model type definition for the given Java class.
|
| Constructor and Description |
|---|
ListModelType(ComplexModelType<T> itemType)
Creates a new list model type with the given bean model type.
|
TemplateModelListProxy(StateNode stateNode,
ComplexModelType<T> itemType)
Creates a new proxy for the given node and item type.
|
Copyright © 2025. All rights reserved.