Uses of Interface
com.vaadin.flow.signals.Signal
Packages that use Signal
Package
Description
-
Uses of Signal in com.vaadin.flow.component
Methods in com.vaadin.flow.component with type parameters of type SignalModifier and TypeMethodDescriptionHasComponents.bindChildren(Signal<List<S>> list, SerializableFunction<S, Component> childFactory) Binds a listSignalto this component using a child component factory.Methods in com.vaadin.flow.component with parameters of type SignalModifier and TypeMethodDescriptionvoidBinds aSignal's value to this property support and keeps the value synchronized with the signal value while the component is in attached state.HasComponents.bindChildren(Signal<List<S>> list, SerializableFunction<S, Component> childFactory) Binds a listSignalto this component using a child component factory.default voidHasStyle.bindClassName(String className, Signal<Boolean> signal) Binds the presence of the given CSS class name to aSignal.default voidHasEnabled.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 voidHasValidation.bindErrorMessage(Signal<String> signal) Binds the component's error message to the provided signal so that the error message is kept in sync with the signal's current value.default voidHasSize.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 voidHasHelper.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.voidHtml.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 voidHasValidation.bindInvalid(Signal<Boolean> signal) Binds the component's invalid state to the provided signal so that the invalid flag is kept in sync with the signal's current value.default voidHasPlaceholder.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 voidHasValue.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 voidHasValueAndElement.bindReadOnly(Signal<Boolean> readOnlySignal) default voidHasValue.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 voidHasValueAndElement.bindRequiredIndicatorVisible(Signal<Boolean> requiredSignal) default voidBinds 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 voidHasTheme.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.voidAbstractCompositeField.bindValue(Signal<T> valueSignal, SerializableConsumer<T> writeCallback) voidAbstractField.bindValue(Signal<T> valueSignal, SerializableConsumer<T> writeCallback) default voidHasValue.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.voidComponent.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 voidBinds 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.Constructors in com.vaadin.flow.component with parameters of type Signal -
Uses of Signal in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal with parameters of type Signal -
Uses of Signal in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page that return SignalModifier and TypeMethodDescriptionPage.windowSizeSignal()Returns a signal that tracks the current browser window size. -
Uses of Signal in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom with type parameters of type SignalModifier and TypeMethodDescriptionstatic <T extends @Nullable Object,S extends Signal<T>>
RegistrationElementEffect.bindChildren(Element parentElement, Signal<List<S>> list, SerializableFunction<S, Element> childFactory) Binds a list signal containing child signals to a parent component using a child component factory.Methods in com.vaadin.flow.dom with parameters of type SignalModifier and TypeMethodDescriptiondefault voidBinds 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>
RegistrationElementEffect.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 StyleBinds the given style property to the provided string signal and keeps the style property value synchronized with the signal.default voidBinds 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.voidElement.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.voidElementStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) Binds the given signal to the given attribute.static <T extends @Nullable Object,S extends Signal<T>>
RegistrationElementEffect.bindChildren(Element parentElement, Signal<List<S>> list, SerializableFunction<S, Element> childFactory) Binds a list signal containing child signals to a parent component using a child component factory.voidElement.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>
voidElement.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.voidElementStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) Binds the given signal to the given property.voidBinds 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.voidElement.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.voidElementStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) Binds the given signal to thevisibleproperty. -
Uses of Signal in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl with parameters of type SignalModifier and TypeMethodDescriptionvoidBinds 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.voidvoidAbstractTextElementStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) voidBasicElementStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) voidShadowRootStateProvider.bindAttributeSignal(Element owner, String attribute, Signal<String> signal) voidAbstractTextElementStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) voidBasicElementStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) voidShadowRootStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) voidAbstractTextElementStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) voidBasicElementStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) voidShadowRootStateProvider.bindVisibleSignal(Element owner, Signal<Boolean> signal) -
Uses of Signal in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature that return SignalModifier and TypeMethodDescriptionGets the signal bound to the given key.Signal<?> NodeMap.SignalBinding.signal()Returns the value of thesignalrecord component.Methods in com.vaadin.flow.internal.nodefeature with parameters of type SignalModifier and TypeMethodDescriptionvoidAbstractPropertyMap.bindSignal(Element owner, String name, Signal<?> signal, SerializableConsumer<?> writeCallback) Binds the given signal to the given property with a write callback.voidElementAttributeMap.bindSignal(Element owner, String attribute, Signal<String> signal) Binds the given signal to the given attribute.protected <T extends @Nullable Object>
voidNodeMap.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.voidElementData.bindVisibleSignal(Element owner, Signal<Boolean> signal) Binds the given signal to thevisibleproperty.voidSignalBindingFeature.setBinding(String key, Registration registration, Signal<?> signal) Sets a binding for the given key.voidSignalBindingFeature.setBinding(String key, Registration registration, Signal<?> signal, SerializableConsumer<?> writeCallback) Sets a binding for the given key with a write callback.voidTextBindingFeature.setBinding(Registration registration, Signal<String> textSignal) Constructors in com.vaadin.flow.internal.nodefeature with parameters of type SignalModifierConstructorDescriptionSignalBinding(Signal<?> signal, Registration registration, Serializable value, SerializableConsumer<?> writeCallback) Creates an instance of aSignalBindingrecord class. -
Uses of Signal in com.vaadin.flow.signals
Methods in com.vaadin.flow.signals that return SignalModifier and TypeMethodDescriptionSignal.computed(SignalComputation<T> computation) Creates a new computed signal with the given computation callback.Signal.map(SignalMapper<T, C> mapper) Creates a simple computed signal based on a mapper function that is passed the value of this signal.Creates a new computed signal containing the negation of the provided boolean-valued signal.Methods in com.vaadin.flow.signals with parameters of type Signal -
Uses of Signal in com.vaadin.flow.signals.impl
Classes in com.vaadin.flow.signals.impl that implement SignalModifier and TypeClassDescriptionclassComputedSignal<T extends @Nullable Object>A signal with a value that is computed based on the value of other signals. -
Uses of Signal in com.vaadin.flow.signals.local
Classes in com.vaadin.flow.signals.local that implement SignalModifier and TypeClassDescriptionclassAbstractLocalSignal<T extends @Nullable Object>Base class for local signals providing shared listener notification, usage tracking, and value access logic.classListSignal<T extends @Nullable Object>A local list signal that holds a list of writable signals, enabling per-entry reactivity.classValueSignal<T extends @Nullable Object>A local writable signal that holds a reference to an object.Methods in com.vaadin.flow.signals.local that return SignalModifier and TypeMethodDescriptionValueSignal.asReadonly()Wraps this signal to not accept changes. -
Uses of Signal in com.vaadin.flow.signals.operations
Classes in com.vaadin.flow.signals.operations with type parameters of type SignalModifier and TypeClassDescriptionclassInsertOperation<T extends Signal<?>>An operation that inserts a new child signal into a list or map.final recordPutIfAbsentResult<S extends Signal<?>>The result of a put-if-absent operation.