public class SynchronizedPropertiesList extends SerializableNodeList<String>
NodeList.SetView<T extends Serializable>
Constructor and Description |
---|
SynchronizedPropertiesList(StateNode node)
Creates a new synchronized properties list for the given node.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String property,
DisabledUpdateMode mode)
Add the
property to the synchronized properties list. |
DisabledUpdateMode |
getDisabledUpdateMode(String property)
Gets property update mode for disabled element.
|
Set<String> |
getSynchronizedProperties()
Creates a view into this list.
|
add
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, size
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
public SynchronizedPropertiesList(StateNode node)
node
- the node that the list belongs topublic Set<String> getSynchronizedProperties()
public void add(String property, DisabledUpdateMode mode)
property
to the synchronized properties list.property
- the property to synchronizemode
- controls RPC from the client side to the server side when the
element is disabled, not null
public DisabledUpdateMode getDisabledUpdateMode(String property)
property
- the property to get update modeCopyright © 2019. All rights reserved.