Class TemplateModelListProxy<T>

java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
com.vaadin.flow.templatemodel.TemplateModelListProxy<T>
Type Parameters:
T - the type of items in the list
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>

@Deprecated public class TemplateModelListProxy<T> extends AbstractList<T> implements Serializable
Deprecated.
This functionality is internal and bound to template model which is not supported for lit template. Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
A list implementation which uses a ModelList in a StateNode as the data source.

For internal use only. May be renamed or removed in a future release.

Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • TemplateModelListProxy

      public TemplateModelListProxy(com.vaadin.flow.internal.StateNode stateNode, ComplexModelType<T> itemType)
      Deprecated.
      Creates a new proxy for the given node and item type.
      Parameters:
      stateNode - the state node containing the model list
      itemType - the type of items in the list
  • Method Details