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 TypeMethodDescriptionBinds aSignal's value to this property support and keeps the value synchronized with the signal value while the component is in attached state.default SignalBinding<Boolean> HasStyle.bindClassName(String className, Signal<Boolean> signal) Binds the presence of the given CSS class name to aSignal.default SignalBinding<List<String>> HasStyle.bindClassNames(Signal<List<String>> names) Binds the CSS class names of this component to aSignalso that the class list is dynamically updated to match the signal's value.default SignalBinding<Boolean> HasEnabled.bindEnabled(Signal<Boolean> enabledSignal) Binds aSignal's value to the enabled state of this component and keeps the state synchronized with the signal value while the element is in attached state.default SignalBinding<?> HasSize.bindHeight(Signal<String> heightSignal) Binds aSignal's value to the height of this component and keeps the height synchronized with the signal value while the component is in attached state.default SignalBinding<String> HasHelper.bindHelperText(Signal<String> helperTextSignal) Binds a signal's value to the component's helper text so that the helper text is updated when the signal's value is updated.Html.bindHtmlContent(Signal<String> htmlSignal) Binds aSignal's value to this component's HTML content (outer HTML) and keeps the content synchronized with the signal value while the component is attached.default SignalBinding<String> HasPlaceholder.bindPlaceholder(Signal<String> placeholderSignal) Binds a signal's value to the component's placeholder so that the placeholder is updated when the signal's value is updated.default SignalBinding<Boolean> HasValue.bindReadOnly(Signal<Boolean> readOnlySignal) Binds aSignal's value to the read-only state of this component and keeps the state synchronized with the signal value while the component is in attached state.default SignalBinding<Boolean> HasValueAndElement.bindReadOnly(Signal<Boolean> readOnlySignal) default SignalBinding<Boolean> HasValue.bindRequiredIndicatorVisible(Signal<Boolean> requiredSignal) Binds aSignal's value to the required indicator visible state of this component and keeps the state synchronized with the signal value while the component is in attached state.default SignalBinding<Boolean> HasValueAndElement.bindRequiredIndicatorVisible(Signal<Boolean> requiredSignal) default SignalBinding<String> Binds aSignal's value to the text content of this component and keeps the text content synchronized with the signal value while the element is in attached state.default SignalBinding<Boolean> HasTheme.bindThemeName(String name, Signal<Boolean> signal) Binds the presence of the given theme name to the provided signal so that the theme name is added when the signal value istrueand removed when the value isfalse.default SignalBinding<List<String>> HasTheme.bindThemeNames(Signal<List<String>> names) Binds the theme names of this component to aSignalso that the theme list is dynamically updated to match the signal's value.AbstractCompositeField.bindValue(Signal<T> valueSignal, SerializableConsumer<T> writeCallback) AbstractField.bindValue(Signal<T> valueSignal, SerializableConsumer<T> writeCallback) default SignalBinding<V> HasValue.bindValue(Signal<V> valueSignal, SerializableConsumer<V> writeCallback) Binds aSignal's value to the value state of this component and keeps the state synchronized with the signal value while the element is in attached state.Component.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.default SignalBinding<?> Binds aSignal's value to the width of this component and keeps the width synchronized with the signal value while the component is in attached state. -
Uses of SignalBinding in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal that return SignalBinding -
Uses of SignalBinding in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom that return SignalBindingModifier and TypeMethodDescriptiondefault SignalBinding<List<String>> Binds the class names to the provided signal so that the class list is dynamically updated to match the signal's value.default SignalBinding<Boolean> Binds the presence of the given class name to the provided signal so that the class is added when the signal value istrueand removed when the value isfalse.static <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.default SignalBinding<?> Binds the given style property to the provided string signal and keeps the style property value synchronized with the signal.default SignalBinding<List<String>> Binds the theme names to the provided signal so that the theme list is dynamically updated to match the signal's value.default SignalBinding<Boolean> Binds the presence of the given theme name to the provided signal so that the theme name is added when the signal value istrueand removed when the value isfalse.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 TypeMethodDescriptionBinds the class names to the provided signal so that the class list is dynamically updated to match the signal's value.Binds the presence of the given class name to the provided signal so that the class is added when the signal value istrueand removed when the value isfalse.Binds the given style property to the provided string signal and keeps the style property value synchronized with the signal.AbstractTextElementStateProvider.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.