Class ShadowRootData
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.NodeValue<StateNode>
com.vaadin.flow.internal.nodefeature.ShadowRootData
- All Implemented Interfaces:
Serializable
Map of basic element information.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorDescriptionShadowRootData
(StateNode node) Creates a new element data map for the given node. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getKey()
Gets the key that should be used when the value of this feature is sent to the client.void
setShadowRoot
(StateNode node) Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeValue
collectChanges, forEachChild, generateChangesFromEmpty, getValue, setValue
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
-
Constructor Details
-
ShadowRootData
Creates a new element data map for the given node.- Parameters:
node
- the node that the map belongs to
-
-
Method Details
-
getKey
Description copied from class:NodeValue
Gets the key that should be used when the value of this feature is sent to the client.The key is fetched on demand from the sub class instead of e.g. requiring it as a constructor parameter to avoid storing an additional member field in each instance.
-
setShadowRoot
-
getShadowRoot
-