public class ElementStylePropertyMap extends AbstractPropertyMap
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
ElementStylePropertyMap(StateNode node)
Creates a new element style map for the given node.
|
| Modifier and Type | Method and Description |
|---|---|
Style |
getStyle()
Returns a style instance for managing element inline styles.
|
void |
setProperty(String name,
Serializable value,
boolean emitChange)
Sets a property to the given value.
|
getProperty, getPropertyNames, hasProperty, isValidValueType, removeAllProperties, removePropertyclear, collectChanges, contains, forEachChild, generateChangesFromEmpty, get, getOrDefault, getOrDefault, getOrDefault, keySet, mayUpdateFromClient, put, put, remove, updateFromClientallowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetachpublic ElementStylePropertyMap(StateNode node)
node - the node that the map belongs topublic void setProperty(String name, Serializable value, boolean emitChange)
AbstractPropertyMapsetProperty in class AbstractPropertyMapname - the property namevalue - the value, must be a string, a boolean, a double or
nullemitChange - true to create a change event for the client sidepublic Style getStyle()
Copyright © 2025. All rights reserved.