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.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 aSignal.default SignalBinding<Boolean> HasEnabled.bindEnabled(Signal<Boolean> enabledSignal) Binds aSignal's value to the enabled state of this component.default SignalBinding<?> HasSize.bindHeight(Signal<String> heightSignal) Binds aSignal's value to the height of this component.default SignalBinding<String> HasHelper.bindHelperText(Signal<String> helperTextSignal) Binds a signal's value to the component's helper text.Html.bindHtmlContent(Signal<String> htmlSignal) Binds aSignal's value to this component's HTML content (outer HTML).default SignalBinding<String> HasPlaceholder.bindPlaceholder(Signal<String> placeholderSignal) Binds a signal's value to the component's placeholder.default SignalBinding<Boolean> HasValue.bindReadOnly(Signal<Boolean> readOnlySignal) Binds aSignal's value to the read-only state of this component.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.default SignalBinding<Boolean> HasValueAndElement.bindRequiredIndicatorVisible(Signal<Boolean> requiredSignal) default SignalBinding<String> Binds aSignal's value to the text content of this component.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.Component.bindVisible(Signal<Boolean> visibleSignal) Binds aSignal's value to thevisibleproperty of this component.default SignalBinding<?> Binds aSignal's value to the width of this component. -
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.default SignalBinding<Boolean> Binds the presence of the given class name to the provided signal.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<String> Binds the given style property to the provided string 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.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.<T extends @Nullable Object>
SignalBinding<T> Element.bindProperty(String name, Signal<T> signal, SerializableConsumer<T> writeCallback) Binds aSignal's value to the given property.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.Element.bindVisible(Signal<Boolean> visibleSignal) Binds aSignal's value to thevisibleproperty of this element.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.Binds the presence of the given class name to the provided signal.Binds the given style property to the provided string 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 TypeMethodDescription<T> SignalBinding<T> AbstractPropertyMap.bindSignal(Element owner, String name, Signal<T> 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.