Uses of Class
com.vaadin.flow.dom.SignalBinding
Packages that use SignalBinding
Package
Description
-
Uses of SignalBinding in com.vaadin.flow.component
Methods in com.vaadin.flow.component that return SignalBindingModifier and TypeMethodDescriptionComponent.bindVisible(Signal<Boolean> visibleSignal) Binds aSignal's value to thevisibleproperty of this component and keeps property synchronized with the signal value while the component is in attached state. -
Uses of SignalBinding in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom that return SignalBindingModifier and TypeMethodDescriptionstatic <T extends @Nullable Object>
SignalBinding<T> ElementEffect.bind(Element owner, Signal<T> signal, SerializableBiConsumer<Element, T> setter) Binds asignal's value to a given owner element in a way defined insetterfunction and creates a Signal effect function executing the setter whenever the signal value changes.Element.bindAttribute(String attribute, Signal<String> signal) Binds aSignal's value to a given attribute and keeps the attribute value synchronized with the signal value while the element is in attached state.ElementStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) Binds the given signal to the given attribute.Element.bindEnabled(Signal<Boolean> enabledSignal) Binds aSignal's value to the enabled state of this element and keeps the state synchronized with the signal value while the element is in attached state.<T extends @Nullable Object>
SignalBinding<T> Element.bindProperty(String name, Signal<T> signal, SerializableConsumer<T> writeCallback) Binds aSignal's value to the given property and keeps the property value synchronized with the signal value while the element is in attached state.ElementStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) Binds the given signal to the given property.Binds aSignal's value to the text content of this element and keeps the text content synchronized with the signal value while the element is in attached state.Element.bindVisible(Signal<Boolean> visibleSignal) Binds aSignal's value to thevisibleproperty of this element and keeps property synchronized with the signal value while the element is in attached state.ElementStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) Binds the given signal to thevisibleproperty.SignalBinding.onChange(SerializableConsumer<BindingContext<T>> action) Registers a callback that is invoked every time the bound signal value changes and the binding updates the element. -
Uses of SignalBinding in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl that return SignalBindingModifier and TypeMethodDescriptionAbstractTextElementStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) BasicElementStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) ShadowRootStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) AbstractTextElementStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) BasicElementStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) ShadowRootStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) AbstractTextElementStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) BasicElementStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) ShadowRootStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) -
Uses of SignalBinding in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature that return SignalBindingModifier and TypeMethodDescriptionAbstractPropertyMap.bindSignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) Binds the given signal to the given property with a write callback.ElementAttributeMap.bindSignal(Element owner, String attribute, Signal<String> signal) Binds the given signal to the given attribute.protected <T extends @Nullable Object>
SignalBinding<T> NodeMap.bindSignal(Element owner, String key, Signal<T> signal, SerializableBiConsumer<Element, T> setter, SerializableConsumer<?> writeCallback) Binds a signal to a given key using a setter function and stores the writeCallback in SignalBindingFeature.ElementData.bindVisibleSignal(Element owner, Signal<Boolean> signal) Binds the given signal to thevisibleproperty.