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 TypeMethodDescriptionstatic <T,S extends Signal<T>, P extends Component & HasComponents>
RegistrationComponentEffect.bindChildren(P parent, Signal<List<S>> list, SerializableFunction<S, Component> childFactory) Binds a list signal containing child signals to a parent component using a child component factory.default <T,S extends Signal<T>>
voidHasComponents.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 TypeMethodDescriptionstatic <C extends Component,T>
RegistrationComponentEffect.bind(C owner, Signal<T> signal, SerializableBiConsumer<C, T> setter) Binds asignal's value to a given owner component in a way defined insetterfunction and creates a Signal effect function executing the setter whenever the signal value changes.voidBinds aSignal's value to this property support and keeps the value synchronized with the signal value while the component is in attached state.static <T,S extends Signal<T>, P extends Component & HasComponents>
RegistrationComponentEffect.bindChildren(P parent, Signal<List<S>> list, SerializableFunction<S, Component> childFactory) Binds a list signal containing child signals to a parent component using a child component factory.default <T,S extends Signal<T>>
voidHasComponents.bindChildren(Signal<List<S>> list, SerializableFunction<S, Component> childFactory) Binds a listSignalto this component using a child component factory.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 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.button
Methods in com.vaadin.flow.component.button with parameters of type SignalConstructors in com.vaadin.flow.component.button with parameters of type SignalModifierConstructorDescriptionCreates a button with a text bound to a signal.Creates a button with an icon and a text bound to a signal.Button(Signal<String> textSignal, ComponentEventListener<ClickEvent<Button>> clickListener) Creates a button with a text bound to a signal and a listener for click events.Button(Signal<String> textSignal, Component icon, ComponentEventListener<ClickEvent<Button>> clickListener) Creates a button with an icon, a text bound to a signal, and a listener for click events. -
Uses of Signal in com.vaadin.flow.component.datepicker
Methods in com.vaadin.flow.component.datepicker with parameters of type SignalModifier and TypeMethodDescriptionvoidDatePicker.bindInitialPosition(Signal<LocalDate> signal) Binds the given signal to the visible date when there is no value selected.voidBinds the given signal to the maximum date allowed to be selected for this field.voidBinds the given signal to the minimum date allowed to be selected for this field. -
Uses of Signal in com.vaadin.flow.component.datetimepicker
Methods in com.vaadin.flow.component.datetimepicker with parameters of type SignalModifier and TypeMethodDescriptionvoidDateTimePicker.bindMax(Signal<LocalDateTime> signal) Binds the given signal to the maximum date and time allowed to be set for this field.voidDateTimePicker.bindMin(Signal<LocalDateTime> signal) Binds the given signal to the minimum date and time allowed to be set for this field. -
Uses of Signal in com.vaadin.flow.component.dialog
Methods in com.vaadin.flow.component.dialog with type parameters of type SignalModifier and TypeMethodDescription<T,S extends Signal<T>>
voidDialog.bindChildren(Signal<List<S>> list, SerializableFunction<S, Component> childFactory) Dialog does not support binding children directly.Methods in com.vaadin.flow.component.dialog with parameters of type SignalModifier and TypeMethodDescription<T,S extends Signal<T>>
voidDialog.bindChildren(Signal<List<S>> list, SerializableFunction<S, Component> childFactory) Dialog does not support binding children directly. -
Uses of Signal in com.vaadin.flow.component.html
Methods in com.vaadin.flow.component.html with parameters of type SignalModifier and TypeMethodDescriptionvoidFieldSet.bindLegendText(Signal<String> legendTextSignal) Binds a signal's value to the fieldset legend text so that the legend is updated when the signal's value is updated.voidBinds a signal's value to the "name" attribute as a one-way binding, so that the attribute is updated when the signal's value is updated.voidNativeDetails.bindSummaryText(Signal<String> summarySignal) Binds a signal's value to the summary text so that the text is updated when the signal's value is updated.voidBinds a signal's value to the "value" attribute as a one-way binding, so that the attribute is updated when the signal's value is updated.Constructors in com.vaadin.flow.component.html with parameters of type SignalModifierConstructorDescriptionCreates a new abbreviation with its text content bound to the given signal.Anchor(DownloadHandler downloadHandler, Signal<String> textSignal) Creates an anchor component with its text content bound to the given signal and a callback that handles data download from the server to the client when clicking this anchor.Creates an anchor component with the given href and binds its text content to the given signal.Creates a new code component with its text content bound to the given signal.Description(Signal<String> textSignal) Creates a new description with its text content bound to the given signal.Creates a new div with its text content bound to the given signal.Creates a new emphasis with its text content bound to the given signal.Creates a new fieldset with its legend text bound to the given signal.Creates a new heading with its text content bound to the given signal.Creates a new heading with its text content bound to the given signal.Creates a new heading with its text content bound to the given signal.Creates a new heading with its text content bound to the given signal.Creates a new heading with its text content bound to the given signal.Creates a new heading with its text content bound to the given signal.Creates a new legend with its text content bound to the given signal.Creates a new list item with its text content bound to the given signal.NativeButton(Signal<String> textSignal) Creates a button with its text content bound to the given signal.NativeDetails(Signal<String> summarySignal) Binds a signal's value to the summary text so that the text is updated when the signal's value is updated.NativeDetails(Signal<String> summarySignal, Component content) Creates a new details using the provided summary signal and content.NativeLabel(Signal<String> textSignal) Creates a new label with its text content bound to the given signal.NativeTableCell(Signal<String> textSignal) Creates a new table cell with its text content bound to the given signal.NativeTableHeaderCell(Signal<String> textSignal) Creates a new header cell with its text content bound to the given signal.Creates a new paragraph with its text content bound to the given signal.Creates a new preformatted text component with its text content bound to the given signal.Creates a new span with its text content bound to the given signal. -
Uses of Signal in com.vaadin.flow.component.icon
Methods in com.vaadin.flow.component.icon with parameters of type SignalModifier and TypeMethodDescriptionvoidFontIcon.bindCharCode(Signal<String> signal) Binds the given signal to the character code of the font icon.voidIcon.bindIcon(Signal<VaadinIcon> signal) Binds the given signal to the icon of the component.voidFontIcon.bindLigature(Signal<String> signal) Binds the given signal to the ligature name of the font icon.voidSvgIcon.bindSymbol(Signal<String> signal) Binds the given signal to the symbol of the SVG icon.Constructors in com.vaadin.flow.component.icon with parameters of type SignalModifierConstructorDescriptionIcon(Signal<VaadinIcon> iconSignal) Creates an Icon component that displays the icon from the given signal.SvgIcon(DownloadHandler src, Signal<String> symbolSignal) Creates an SVG icon with the given download handler resource and binds the given signal to the symbol.Creates an SVG icon with the given source and binds the given signal to the symbol. -
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.login
Methods in com.vaadin.flow.component.login with parameters of type Signal -
Uses of Signal in com.vaadin.flow.component.notification
Methods in com.vaadin.flow.component.notification with parameters of type SignalModifier and TypeMethodDescriptionvoidBinds the notification text to the given signal.Constructors in com.vaadin.flow.component.notification with parameters of type SignalModifierConstructorDescriptionNotification(Signal<String> textSignal) Creates a Notification with the text bound to the given Signal, that does not close automatically.Notification(Signal<String> textSignal, int duration) Creates a Notification with the text bound to the given Signal and duration.Notification(Signal<String> textSignal, int duration, Notification.Position position) Creates a Notification with the text bound to the given Signal, duration and position.Notification(Signal<String> textSignal, int duration, Notification.Position position, boolean assertive) Creates a Notification with the text bound to the given Signal, duration, position and assertive state. -
Uses of Signal in com.vaadin.flow.component.progressbar
Methods in com.vaadin.flow.component.progressbar with parameters of type SignalModifier and TypeMethodDescriptionvoidBinds the given signal to the maximum bound of the progressbar.voidBinds the given signal to the minimum bound of the progressbar.voidBinds the given signal to the value of the progressbar as a one-way binding so that the property is updated when the signal's value is updated. -
Uses of Signal in com.vaadin.flow.component.textfield
Methods in com.vaadin.flow.component.textfield with parameters of type SignalModifier and TypeMethodDescriptionvoidBinds the given signal to the maximum value for this field.voidBinds the given signal to the maximum value for this field.protected final voidAbstractNumberField.bindMaxInternal(Signal<Double> signal) Internal helper to bind a signal to the maximum value.voidBinds the given signal to the minimum value for this field.voidBinds the given signal to the minimum value for this field.protected final voidAbstractNumberField.bindMinInternal(Signal<Double> signal) Internal helper to bind a signal to the minimum value. -
Uses of Signal in com.vaadin.flow.component.timepicker
Methods in com.vaadin.flow.component.timepicker with parameters of type SignalModifier and TypeMethodDescriptionvoidBinds the given signal to the maximum time allowed to be selected for this field.voidBinds the given signal to the minimum time allowed to be selected for this field. -
Uses of Signal in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder that return SignalModifier and TypeMethodDescriptionBinder.getValidationStatus()Gets a read-onlySignalemittingBinderValidationStatuschanges. -
Uses of Signal in com.vaadin.flow.dom
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> 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.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.voidElement.bindProperty(String name, Signal<?> signal) 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) 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) voidBasicElementStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal) voidShadowRootStateProvider.bindPropertySignal(Element owner, String name, Signal<?> signal) 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 TypeMethodDescription<T> Signal<T> Gets 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) Binds the given signal to the given property.voidElementAttributeMap.bindSignal(Element owner, String attribute, Signal<String> signal) Binds the given signal to the given attribute.protected <T> voidNodeMap.bindSignal(Element owner, String key, Signal<T> signal, SerializableBiConsumer<Element, T> setter) Binds the given signal to the given key.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) Creates an instance of aSignalBindingrecord class. -
Uses of Signal in com.vaadin.flow.signals
Subinterfaces of Signal in com.vaadin.flow.signalsModifier and TypeInterfaceDescriptioninterfaceA signal to which a new value can be directly written.Methods in com.vaadin.flow.signals that return SignalModifier and TypeMethodDescriptionWritableSignal.asReadonly()Wraps this signal to not accept changes.static <T> Signal<T> Signal.computed(SignalComputation<T> computation) Creates a new computed signal with the given computation callback.default <C> Signal<C> Signal.map(SignalMapper<T, C> mapper) Creates a simple computed signal based on a mapper function that is passed the value of this signal.Crates 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 TypeClassDescriptionclassA signal with a value that is computed based on the value of other signals.classMappedModifySignal<P,C> A writable signal that provides a two-way mapped view of aValueSignalusing in-place modification.classMappedWritableSignal<P,C> A writable signal that provides a two-way mapped view of another writable signal. -
Uses of Signal in com.vaadin.flow.signals.local
Classes in com.vaadin.flow.signals.local that implement SignalModifier and TypeClassDescriptionclassBase class for local signals providing shared listener notification, usage tracking, and value access logic.classListSignal<T>A local list signal that holds a list of writable signals, enabling per-entry reactivity.classValueSignal<T>A local writable signal that holds a reference to an object. -
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.