We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.nodefeature.
Class ShadowRootData
- java.lang.Object
-
- com.vaadin.flow.internal.nodefeature.NodeFeature
-
- com.vaadin.flow.internal.nodefeature.NodeValue<StateNode>
-
- com.vaadin.flow.internal.nodefeature.ShadowRootData
-
-
Constructor Summary
Constructors Constructor and Description ShadowRootData(StateNode node)
Creates a new element data map for the given node.
-
Method Summary
All Methods Modifier and Type Method and Description protected String
getKey()
Gets the key that should be used when the value of this feature is sent to the client.
StateNode
getShadowRoot()
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 Detail
-
ShadowRootData
public ShadowRootData(StateNode node)
Creates a new element data map for the given node.
Parameters:
node
- the node that the map belongs to
-
-
Method Detail
-
getKey
protected String 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
public void setShadowRoot(StateNode node)
-
getShadowRoot
public StateNode getShadowRoot()
-
-