Class ElementClassList
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.NodeList<T>
com.vaadin.flow.internal.nodefeature.SerializableNodeList<String>
com.vaadin.flow.internal.nodefeature.ElementClassList
- All Implemented Interfaces:
Serializable
Handles CSS class names for an element.
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
ConstructorDescriptionElementClassList
(StateNode node) Creates a new class list for the given node. -
Method Summary
Methods inherited from class com.vaadin.flow.internal.nodefeature.SerializableNodeList
add
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeList
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, size
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
-
Constructor Details
-
ElementClassList
Creates a new class list for the given node.- Parameters:
node
- the node that the list belongs to
-
-
Method Details
-
getClassList
Creates a view into this list.- Returns:
- a view into this list
-