Uses of Interface
com.vaadin.flow.signals.Signal
Packages that use Signal
Package
Description
Trigger API and its internal wiring.
-
Uses of Signal in com.vaadin.flow.component
Methods in com.vaadin.flow.component with type parameters of type SignalModifier and TypeMethodDescriptionHasComponentsOfType.bindChildren(Signal<List<S>> list, SerializableFunction<S, T> childFactory) Binds a listSignalto this component using a child component factory.Methods in com.vaadin.flow.component that return SignalModifier and TypeMethodDescriptionUI.localeSignal()Gets a read-only signal that holds the current locale of this UI.UI.routerStateSignal()Gets a read-only signal that holds the currentRouterStateof this UI.Methods in com.vaadin.flow.component with parameters of type SignalModifier and TypeMethodDescriptionBinds aSignal's value to this property support.HasComponentsOfType.bindChildren(Signal<List<S>> list, SerializableFunction<S, T> childFactory) Binds a listSignalto this component using a child component factory.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.Constructors in com.vaadin.flow.component with parameters of type Signal -
Uses of Signal in com.vaadin.flow.component.geolocation
Methods in com.vaadin.flow.component.geolocation that return SignalModifier and TypeMethodDescriptionGeolocationWatcher.activeSignal()Returns a read-only signal indicating whether the watcher is currently receiving updates.static Signal<GeolocationAvailability> Geolocation.availabilityHintSignal()Returns a read-only signal hinting at whether geolocation is usable for the current UI.static Signal<GeolocationAvailability> Geolocation.availabilityHintSignal(UI ui) Returns a read-only signal hinting at whether geolocation is usable for the given UI.GeolocationWatcher.positionSignal()Returns a read-only signal that holds the most recent reading. -
Uses of Signal in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal that return SignalModifier and TypeMethodDescriptionUIInternals.getRouterStateSignal()Gets the cached read-onlySignalthat holds the currentRouterStatefor this UI.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.pageVisibilitySignal()Returns a read-only signal that tracks the browser tab's visibility and focus state.Page.windowSizeSignal()Returns a signal that tracks the current browser window size. -
Uses of Signal in com.vaadin.flow.component.trigger.internal
Constructors in com.vaadin.flow.component.trigger.internal with parameters of type SignalModifierConstructorDescriptionSignalInput(Component owner, Signal<T> signal) Creates a signal-backed input. -
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 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.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.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. -
Uses of Signal in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl with parameters of type SignalModifier 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 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.InternalSignalBinding.signal()Returns the value of thesignalrecord component.Methods in com.vaadin.flow.internal.nodefeature with parameters of type SignalModifier 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.voidSignalBindingFeature.setBinding(String key, Signal<?> signal) Sets a binding for the given key.voidSignalBindingFeature.setBinding(String key, Signal<?> signal, @Nullable SerializableConsumer<?> writeCallback) Sets a binding for the given key with a write callback.Constructors in com.vaadin.flow.internal.nodefeature with parameters of type SignalModifierConstructorDescriptionInternalSignalBinding(Signal<?> signal, Serializable value, SerializableConsumer<?> writeCallback) Creates an instance of aInternalSignalBindingrecord class. -
Uses of Signal in com.vaadin.flow.server
Methods in com.vaadin.flow.server that return SignalModifier and TypeMethodDescriptionVaadinSession.localeSignal()Gets a read-only signal that holds the current locale of this session. -
Uses of Signal in com.vaadin.flow.signals
Methods in com.vaadin.flow.signals that return SignalModifier and TypeMethodDescriptionCreates a new cached signal based on the given inner signal.Signal.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 SignalModifier and TypeMethodDescriptionCreates a new cached signal based on the given inner signal.Creates a new computed signal containing the negation of the provided boolean-valued signal. -
Uses of Signal in com.vaadin.flow.signals.impl
Classes in com.vaadin.flow.signals.impl that implement SignalModifier and TypeClassDescriptionclassCachedSignal<T extends @Nullable Object>A signal that caches the value of an inner signal.Constructors in com.vaadin.flow.signals.impl with parameters of type SignalModifierConstructorDescriptionCachedSignal(Signal<T> inner) Creates a new cached signal with the provided inner signal. -
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 TypeClassDescriptionclassBulkInsertOperation<T extends Signal<?>>An operation that inserts multiple child signals into a list as a single atomic batch.classInsertOperation<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.