Package com.vaadin.client.flow.model
Class UpdatableModelProperties
java.lang.Object
com.vaadin.client.flow.model.UpdatableModelProperties
The storage class for set of updatable model properties.
This class is stored inside a StateNode via
StateNode.setNodeData(Object) if there is any data to store at all.
Once it's stored in the StateNode the code which sends updates to the
server side when a polymer property is updated uses this data to detect
whether server expects the update to be sent(see
SimpleElementBindingStrategy).
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Constructor Summary
ConstructorsConstructorDescriptionUpdatableModelProperties(JsArray<String> properties) Creates a new instance of storage class based on givenproperties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisUpdatableProperty(String property) Tests whether thepropertyis updatable.
-
Constructor Details
-
UpdatableModelProperties
Creates a new instance of storage class based on givenproperties.- Parameters:
properties- updatable properties array
-
-
Method Details
-
isUpdatableProperty
Tests whether thepropertyis updatable.- Parameters:
property- the property to test- Returns:
trueif property is updatable
-