Class SerializableNodeList<T extends Serializable>
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.NodeList<T>
com.vaadin.flow.internal.nodefeature.SerializableNodeList<T>
- Type Parameters:
T- the type of Serializable objects this list contains
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractServerHandlers,ElementClassList
A list which contains
Serializable values but not StateNodes.
For a NodeList containing StateNodes, use
StateNodeNodeList.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.internal.nodefeature.NodeList
NodeList.SetView<T extends Serializable> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new list for the given node. -
Method Summary
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeList
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, sizeMethods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
-
Constructor Details
-
SerializableNodeList
Creates a new list for the given node.- Parameters:
node- the node that the list belongs to
-
-
Method Details
-
add
Description copied from class:NodeListInserts an item at the given index of the list.- Overrides:
addin classNodeList<T extends Serializable>- Parameters:
index- index to insert atitem- the item to insert
-