com.vaadin.flow.templatemodel.
Package com.vaadin.flow.templatemodel
-
Interface Summary Interface Description ComplexModelType<T> A complex model type (represents either a list or a bean).
ModelEncoder<D,E extends Serializable> Template models encoder.
ModelType A model type that can convert values between a representation suitable for users and a representation suitable for storage in a
StateNode
.TemplateModel Represents a template model.
TemplateModelProxyHandler.ModelProxy Gives access to the state node of a proxy instance.
-
Class Summary Class Description AbstractBasicModelType<T> Common abstract class with generic functionality for basic mode type.
BasicComplexModelType<T> A model type representing an immutable leaf value (e.g.
BasicModelType A model type representing an immutable leaf value, e.g.
BeanModelType<T> A model type corresponding to a Java bean type.
ConvertedModelType<A,M extends Serializable> A
ModelType
implementation that wraps a model type for performing type conversions on together with aModelEncoder
.ListModelType<T> A model type corresponding to a list of bean types.
ModelDescriptor<T extends TemplateModel> Describes the model type of a template class.
PathLookup<T> A map for items that are looked up by hierarchical keys made up of period separated strings.
PropertyFilter Property name filter that supports composition for resolving sub properties.
TemplateModelListProxy<T> A list implementation which uses a
ModelList
in aStateNode
as the data source.TemplateModelProxyHandler Invocation handler for
TemplateModel
proxy objects.TemplateModelProxyHandler.InterfaceProxy Base type used for interface proxy types.
TemplateModelUtil Utility class for mapping Bean values to
TemplateModel
values. -
Enum Summary Enum Description ClientUpdateMode A mode for whether a model property may be updated from the client.
-
Exception Summary Exception Description InvalidTemplateModelException Exception thrown when encountering an invalid type in a template model.
-
Annotation Types Summary Annotation Type Description AllowClientUpdates Defines the access control setting for a model property.
AllowClientUpdates.Container Internal annotation to enable use of multiple
AllowClientUpdates
annotations.Encode Defines a ModelEncoder on a template model property found through
Encode.path()
.Encode.Container Internal annotation to enable use of multiple
Encode
annotations.Exclude Defines which properties to exclude when importing a bean into a template model.
Include Defines which properties to include when importing a bean into a template model.