Class SignalBindingFeature
java.lang.Object
com.vaadin.flow.internal.nodefeature.NodeFeature
com.vaadin.flow.internal.nodefeature.ServerSideFeature
com.vaadin.flow.internal.nodefeature.SignalBindingFeature
- All Implemented Interfaces:
Serializable
Node feature for binding
Signals to various properties of a node.
For internal use only. May be renamed or removed in a future release.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a SignalBindingFeature for the given node. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasBinding(String key) Checks whether there is a binding for the given key.voidremoveBinding(String key) Removes the binding for the given key.voidsetBinding(String key, Registration registration, Signal<?> signal) Sets a binding for the given key.Methods inherited from class com.vaadin.flow.internal.nodefeature.ServerSideFeature
collectChanges, forEachChild, generateChangesFromEmptyMethods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
-
Field Details
-
ENABLED
- See Also:
-
-
Constructor Details
-
SignalBindingFeature
Creates a SignalBindingFeature for the given node.- Parameters:
node- the node which supports the feature
-
-
Method Details
-
hasBinding
Checks whether there is a binding for the given key.- Parameters:
key- the key- Returns:
- true if there is a binding for the given key, false otherwise
-
removeBinding
Removes the binding for the given key.- Parameters:
key- the key