Package com.vaadin.flow.templatemodel
Class TemplateModelListProxy<T>
java.lang.Object
java.util.AbstractCollection<E>
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>
Deprecated.
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:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionTemplateModelListProxy(StateNode stateNode, ComplexModelType<T> itemType) Deprecated.Creates a new proxy for the given node and item type. -
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
TemplateModelListProxy
Deprecated.Creates a new proxy for the given node and item type.- Parameters:
stateNode- the state node containing the model listitemType- the type of items in the list
-
-
Method Details
-
get
Deprecated. -
set
Deprecated. -
add
Deprecated. -
clear
public void clear()Deprecated.- Specified by:
clearin interfaceCollection<T>- Specified by:
clearin interfaceList<T>- Overrides:
clearin classAbstractList<T>
-
indexOf
Deprecated. -
remove
Deprecated.- Specified by:
removein interfaceCollection<T>- Specified by:
removein interfaceList<T>- Overrides:
removein classAbstractCollection<T>
-
remove
Deprecated. -
size
public int size()Deprecated.- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceList<T>- Specified by:
sizein classAbstractCollection<T>
-
LitTemplateinstead. Read more details from the Vaadin blog.