Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractLocalSignal<T> - Class in com.vaadin.signals.local
-
Base class for local signals providing shared listener notification, usage tracking, and value access logic.
- AbstractLocalSignal(T) - Constructor for class com.vaadin.signals.local.AbstractLocalSignal
-
Creates a new signal with the given initial value.
- AbstractSignal<T> - Class in com.vaadin.signals.shared
-
Base type for full-featured signals that are backed by a transactional signal tree.
- AbstractSignal(SignalTree, Id, CommandValidator) - Constructor for class com.vaadin.signals.shared.AbstractSignal
-
Creates a new signal instance with the given id and validator for the given signal tree.
- AbstractSignal.ChildSignalFactory<I> - Interface in com.vaadin.signals.shared
-
Creates a child signal instance from a node ID.
- AbstractSignal.ResultConverter<T> - Interface in com.vaadin.signals.shared
-
Converts a command result into a specific value type.
- Accept(Map<Id, CommandResult.NodeModification>, Map<Id, SignalCommand.ScopeOwnerCommand>) - Constructor for record class com.vaadin.signals.shared.impl.CommandResult.Accept
-
Creates an instance of a
Acceptrecord class. - ACCEPT_ALL - Static variable in interface com.vaadin.signals.function.CommandValidator
-
A validator that accepts all commands without restriction.
- accepted() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Accept
- accepted() - Method in interface com.vaadin.signals.shared.impl.CommandResult
-
Tests whether this command result is accepted or rejected.
- accepted() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Reject
- add(CommandsAndHandlers) - Method in class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Adds another collection of commands and handlers to this one.
- adoptAs(AbstractSignal<?>, String) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Adopts the given node as a map child with the given key.
- AdoptAsCommand(Id, Id, Id, String) - Constructor for record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Creates an instance of a
AdoptAsCommandrecord class. - adoptAt(AbstractSignal<?>, SharedListSignal.ListPosition) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Adopts the given node as a list child at the given location.
- AdoptAtCommand(Id, Id, Id, SharedListSignal.ListPosition) - Constructor for record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Creates an instance of a
AdoptAtCommandrecord class. - after() - Method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Returns the value of the
afterrecord component. - after(AbstractSignal<?>) - Static method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Gets the insertion position immediately after the given signal.
- Alias(Id) - Constructor for record class com.vaadin.signals.Node.Alias
-
Creates an instance of a
Aliasrecord class. - and(CommandValidator) - Method in interface com.vaadin.signals.function.CommandValidator
-
Returns a composed validator that represents a logical AND of this validator and another.
- ANYTHING_GOES - Static variable in class com.vaadin.signals.shared.AbstractSignal
-
Signal validator that accepts anything.
- apply(SignalCommand, MutableTreeRevision.CommandDispatcher) - Method in class com.vaadin.signals.shared.impl.MutableTreeRevision
-
Applies a single command and passes the results to the provided handler.
- apply(List<SignalCommand>) - Method in class com.vaadin.signals.shared.impl.MutableTreeRevision
-
Applies a sequence of commands and ignores the results.
- applyAndGetResults(List<SignalCommand>) - Method in class com.vaadin.signals.shared.impl.MutableTreeRevision
-
Applies a sequence of commands and collects the results to a map.
- applyChanges() - Method in interface com.vaadin.signals.shared.impl.SignalTree.PendingCommit
-
Updates the tree state so that all pending changes are considered to be submitted.
- asBase64() - Method in record class com.vaadin.signals.Id
-
Returns this id value as a base64 string.
- asList(Class<T>) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Creates a list signal backed by the list children of this node.
- asMap(Class<T>) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Creates a map signal backed by the map children of this node.
- asNode() - Method in class com.vaadin.signals.impl.ComputedSignal
- asNode() - Method in class com.vaadin.signals.shared.AbstractSignal
-
Converts this signal into a node signal.
- asNode() - Method in class com.vaadin.signals.shared.SharedListSignal
- asNode() - Method in class com.vaadin.signals.shared.SharedMapSignal
- asNode() - Method in class com.vaadin.signals.shared.SharedValueSignal
- asNumber() - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Creates a number signal backed by the node value of this node.
- asReadonly() - Method in class com.vaadin.signals.shared.SharedListSignal
-
Wraps this signal to not accept changes.
- asReadonly() - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Wraps this signal to not accept changes.
- asReadonly() - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Wraps this signal to not accept changes.
- asReadonly() - Method in class com.vaadin.signals.shared.SharedNumberSignal
-
Wraps this signal to not accept changes.
- asReadonly() - Method in class com.vaadin.signals.shared.SharedValueSignal
- asReadonly() - Method in interface com.vaadin.signals.WritableSignal
-
Wraps this signal to not accept changes.
- assertLockHeld() - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Asserts that the current thread holds the lock.
- assertValidTree() - Method in class com.vaadin.signals.shared.impl.TreeRevision
-
Asserts that the nodes in this revision are internally consistent.
- asValue(Class<T>) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Creates a value signal backed by the node value of this node.
- ASYNCHRONOUS - Enum constant in enum class com.vaadin.signals.shared.impl.SignalTree.Type
-
Asynchronous trees can only confirm the status of applied commands asynchronously and can thus not participate in transactions that contain other asynchronous or synchronous trees.
- AsynchronousSignalTree - Class in com.vaadin.signals.shared.impl
-
A signal tree that submits commands to an event log and asynchronously waits for external confirmation before completing handling of the command.
- AsynchronousSignalTree() - Constructor for class com.vaadin.signals.shared.impl.AsynchronousSignalTree
-
Creates a new asynchronous signal tree.
B
- before() - Method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Returns the value of the
beforerecord component. - before(AbstractSignal<?>) - Static method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Gets the insertion position immediately before the given signal.
- between(AbstractSignal<?>, AbstractSignal<?>) - Static method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Gets the insertion position between the given signals, assuming those signals are currently adjacent.
- BindingActiveException - Exception Class in com.vaadin.signals
-
Exception indicating that an operation could not be performed because a binding is active.
- BindingActiveException() - Constructor for exception class com.vaadin.signals.BindingActiveException
-
Creates a new exception with a default message.
- BindingActiveException(String) - Constructor for exception class com.vaadin.signals.BindingActiveException
-
Creates a new exception with a custom message.
C
- cancel() - Method in class com.vaadin.signals.operations.CancelableOperation
-
Cancels this operation.
- CancelableOperation<T> - Class in com.vaadin.signals.operations
-
An operation that can be cancelled.
- CancelableOperation() - Constructor for class com.vaadin.signals.operations.CancelableOperation
-
Creates a new cancelable operation.
- canCommit() - Method in interface com.vaadin.signals.shared.impl.SignalTree.PendingCommit
-
Checks whether the pending changes can be committed.
- checkPreconditions() - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Hook for subclasses to perform precondition checks before accessing the value.
- checkPreconditions() - Method in class com.vaadin.signals.local.ValueSignal
- childId() - Method in record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Returns the value of the
childIdrecord component. - childId() - Method in record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Returns the value of the
childIdrecord component. - childId() - Method in record class com.vaadin.signals.SignalCommand.PositionCondition
-
Returns the value of the
childIdrecord component. - cleanup() - Method in interface com.vaadin.signals.function.CleanupCallback
-
Performs cleanup operations such as unregistering listeners or disposing resources.
- CleanupCallback - Interface in com.vaadin.signals.function
-
Represents a cleanup operation that can be invoked to unregister a listener, dispose of resources, or cancel an ongoing operation.
- clear() - Method in class com.vaadin.signals.local.ListSignal
-
Removes all entries from this list.
- clear() - Method in class com.vaadin.signals.shared.AbstractSignal
-
Helper to submit a clear command.
- clear() - Method in class com.vaadin.signals.shared.SharedListSignal
-
Removes all children from this list.
- clear() - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Removes all entries from this map.
- clear() - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Removes all list children and map children from this node.
- ClearCommand(Id, Id) - Constructor for record class com.vaadin.signals.SignalCommand.ClearCommand
-
Creates an instance of a
ClearCommandrecord class. - ClearOwnerCommand(Id, Id) - Constructor for record class com.vaadin.signals.SignalCommand.ClearOwnerCommand
-
Creates an instance of a
ClearOwnerCommandrecord class. - com.vaadin.signals - package com.vaadin.signals
- com.vaadin.signals.function - package com.vaadin.signals.function
- com.vaadin.signals.impl - package com.vaadin.signals.impl
- com.vaadin.signals.local - package com.vaadin.signals.local
- com.vaadin.signals.operations - package com.vaadin.signals.operations
- com.vaadin.signals.shared - package com.vaadin.signals.shared
- com.vaadin.signals.shared.impl - package com.vaadin.signals.shared.impl
- commandId() - Method in record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.ClearCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.ClearOwnerCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in interface com.vaadin.signals.SignalCommand
-
Gets the unique command id used to track the status of this command.
- commandId() - Method in record class com.vaadin.signals.SignalCommand.IncrementCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.KeyCondition
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.LastUpdateCondition
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.PositionCondition
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.PutCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.RemoveByKeyCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.RemoveCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.SetCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.SnapshotCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.TransactionCommand
-
Returns the value of the
commandIdrecord component. - commandId() - Method in record class com.vaadin.signals.SignalCommand.ValueCondition
-
Returns the value of the
commandIdrecord component. - CommandResult - Interface in com.vaadin.signals.shared.impl
-
The result of applying a signal command against a tree revision.
- CommandResult.Accept - Record Class in com.vaadin.signals.shared.impl
-
An accepted command.
- CommandResult.NodeModification - Record Class in com.vaadin.signals.shared.impl
-
A data node update in an accepted command result.
- CommandResult.Reject - Record Class in com.vaadin.signals.shared.impl
-
A rejected command, together with the reason for the rejection.
- commands() - Method in record class com.vaadin.signals.SignalCommand.TransactionCommand
-
Returns the value of the
commandsrecord component. - CommandsAndHandlers - Class in com.vaadin.signals.shared.impl
-
A list of signal commands together with their result handlers.
- CommandsAndHandlers() - Constructor for class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Creates a new empty command list.
- CommandsAndHandlers(SignalCommand, CommandsAndHandlers.CommandResultHandler) - Constructor for class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Creates a new command list with a single command and optional result handler.
- CommandsAndHandlers(List<SignalCommand>, Map<Id, CommandsAndHandlers.CommandResultHandler>) - Constructor for class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Creates a new command list with the given commands and result handlers.
- CommandsAndHandlers.CommandResultHandler - Interface in com.vaadin.signals.shared.impl
-
Handles the result of a signal command execution.
- CommandValidator - Interface in com.vaadin.signals.function
-
Validates whether a signal command is allowed to be executed on a signal.
- commit(Consumer<SignalOperation.ResultOrError<Void>>) - Method in class com.vaadin.signals.impl.Transaction
-
Commits any staged commands in this transaction.
- commit(Consumer<SignalOperation.ResultOrError<Void>>) - Method in class com.vaadin.signals.shared.impl.StagedTransaction
- commitSingleCommand(SignalCommand) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Applies a single command to this tree without listening for the result.
- commitSingleCommand(SignalCommand, CommandsAndHandlers.CommandResultHandler) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Applies a single command to this tree.
- compareTo(Id) - Method in record class com.vaadin.signals.Id
- compute() - Method in interface com.vaadin.signals.function.SignalComputation
-
Computes the signal value, automatically tracking dependencies on other signals.
- computed(SignalComputation<T>) - Static method in interface com.vaadin.signals.Signal
-
Creates a new computed signal with the given computation callback.
- COMPUTED - Enum constant in enum class com.vaadin.signals.shared.impl.SignalTree.Type
-
Computed trees cannot cause conflicts and can thus participate in any transaction without restrictions.
- ComputedSignal<T> - Class in com.vaadin.signals.impl
-
A signal with a value that is computed based on the value of other signals.
- ComputedSignal(SignalComputation<T>) - Constructor for class com.vaadin.signals.impl.ComputedSignal
-
Creates a new computed signal with the provided compute callback.
- conditional(boolean, String) - Static method in interface com.vaadin.signals.shared.impl.CommandResult
-
Creates an accepted or rejected result depending on the provided condition.
- confirm(List<SignalCommand>) - Method in class com.vaadin.signals.shared.impl.AsynchronousSignalTree
-
Adds a sequence of commands to the confirmed snapshot.
- confirmed() - Method in class com.vaadin.signals.shared.impl.AsynchronousSignalTree
- confirmed() - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Gets the current snapshot based on all confirmed commands.
- confirmed() - Method in class com.vaadin.signals.shared.impl.SynchronousSignalTree
- convert(CommandResult.Accept) - Method in interface com.vaadin.signals.shared.AbstractSignal.ResultConverter
-
Converts an accepted command result into a result value.
- create(Id) - Method in interface com.vaadin.signals.shared.AbstractSignal.ChildSignalFactory
-
Creates a child signal instance for the given node ID.
- createUsage(Transaction) - Method in class com.vaadin.signals.impl.ComputedSignal
-
Creates a usage instance based on the current state of this signal.
- createUsage(Transaction) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Creates a usage instance based on the current state of this signal.
D
- data(Id) - Method in class com.vaadin.signals.shared.impl.TreeRevision
-
Get the data node for the given node id, if present.
- data(Transaction) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Gets the data node for this signal in the given transaction.
- data(TreeRevision) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Gets the data node for this signal in the given tree revision.
- Data(Id, Id, Id, JsonNode, List<Id>, Map<String, Id>) - Constructor for record class com.vaadin.signals.Node.Data
-
Creates a new data node.
- delta() - Method in record class com.vaadin.signals.SignalCommand.IncrementCommand
-
Returns the value of the
deltarecord component. - dispose() - Method in class com.vaadin.signals.impl.Effect
-
Disposes this effect by unregistering all current dependencies and preventing the action from running again.
E
- EDGE - Static variable in record class com.vaadin.signals.Id
-
Id representing the edge of a list.
- effect(EffectAction) - Static method in interface com.vaadin.signals.Signal
-
Creates a signal effect with the given action.
- Effect - Class in com.vaadin.signals.impl
-
Applies a side effect based on signal value changes.
- Effect(EffectAction) - Constructor for class com.vaadin.signals.impl.Effect
-
Creates a signal effect with the given action and the default dispatcher.
- Effect(EffectAction, SerializableExecutor) - Constructor for class com.vaadin.signals.impl.Effect
-
Creates a signal effect with the given action and a custom dispatcher.
- EffectAction - Interface in com.vaadin.signals.function
-
Represents an action to be executed as a signal effect.
- EMPTY - Static variable in interface com.vaadin.signals.Node
-
An empty data node without parent, scope owner, value or children and the initial last update id.
- equals(Object) - Method in record class com.vaadin.signals.Id
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.Node.Alias
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.Node.Data
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.operations.SignalOperation.Error
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.operations.SignalOperation.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.shared.impl.CommandResult.Accept
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.shared.impl.CommandResult.NodeModification
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.shared.impl.CommandResult.Reject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.vaadin.signals.shared.SharedListSignal
- equals(Object) - Method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.vaadin.signals.shared.SharedMapSignal
- equals(Object) - Method in class com.vaadin.signals.shared.SharedNodeSignal
- equals(Object) - Method in class com.vaadin.signals.shared.SharedNumberSignal
- equals(Object) - Method in class com.vaadin.signals.shared.SharedValueSignal
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.ClearCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.ClearOwnerCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.IncrementCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.KeyCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.LastUpdateCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.PositionCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.PutCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.RemoveByKeyCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.RemoveCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.SetCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.SnapshotCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.TransactionCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.signals.SignalCommand.ValueCondition
-
Indicates whether some other object is "equal to" this one.
- Error(String) - Constructor for record class com.vaadin.signals.operations.SignalOperation.Error
-
Creates an instance of a
Errorrecord class. - execute() - Method in interface com.vaadin.signals.function.EffectAction
-
Executes the effect action, automatically tracking signal dependencies.
- execute() - Method in interface com.vaadin.signals.function.TransactionTask
-
Executes the task within a transaction context.
- expectedChild() - Method in record class com.vaadin.signals.SignalCommand.KeyCondition
-
Returns the value of the
expectedChildrecord component. - expectedLastUpdate() - Method in record class com.vaadin.signals.SignalCommand.LastUpdateCondition
-
Returns the value of the
expectedLastUpdaterecord component. - expectedParentId() - Method in record class com.vaadin.signals.SignalCommand.RemoveCommand
-
Returns the value of the
expectedParentIdrecord component. - expectedValue() - Method in record class com.vaadin.signals.SignalCommand.ValueCondition
-
Returns the value of the
expectedValuerecord component. - extractValue(Node.Data) - Method in class com.vaadin.signals.impl.ComputedSignal
- extractValue(Node.Data) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Extracts the value for this signal from the given signal data node.
- extractValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedListSignal
- extractValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedMapSignal
- extractValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedNodeSignal
- extractValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedValueSignal
F
- fail(String) - Static method in interface com.vaadin.signals.shared.impl.CommandResult
-
Creates a new rejected result with the given reason.
- first() - Static method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Gets the insertion position that corresponds to the beginning of the list.
- forwardMappedResult(SignalOperation<R>, SerializableFunction<T, R>) - Method in class com.vaadin.signals.operations.SignalOperation
-
Forwards the result of this operation to another operation after applying the mapper function.
- fromJson(JsonNode, Class<T>) - Static method in class com.vaadin.signals.shared.AbstractSignal
-
Helper to convert the given JSON to a Java instance of the given type using the global signal object mapper.
G
- getCommands() - Method in class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Gets an unmodifiable view of the commands.
- getCurrent() - Static method in class com.vaadin.signals.impl.Transaction
-
Gets the current transaction handler.
- getCurrentResultNotifier() - Static method in class com.vaadin.signals.SignalEnvironment
-
Queries currently active environments for an executor to use for notifying the results of an operation that is currently submitted.
- getDefaultEffectDispatcher() - Static method in class com.vaadin.signals.SignalEnvironment
-
Gets an executor that queries currently active environments for an executor to use for evaluating changes for an effect.
- getEffectDispatcher() - Method in class com.vaadin.signals.SignalEnvironment
-
Gets an executor to use for running the callback of an effect.
- getLock() - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Gets the lock that is used for protecting the integrity of this signal tree.
- getResultHandlers() - Method in class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Gets an unmodifiable map of the result handlers.
- getResultNotifier() - Method in class com.vaadin.signals.SignalEnvironment
-
Gets an executor to use for asynchronously notifying about operation results.
- getSignalValue() - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Gets the current signal value.
- getSignalValueUnsafe() - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Gets the current signal value without checking that the lock is held.
- getWithLock(ValueSupplier<T>) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Runs a supplier while holding the lock and returns the provided value.
H
- handle(CommandResult) - Method in interface com.vaadin.signals.shared.impl.CommandsAndHandlers.CommandResultHandler
-
Handles the result of a command execution.
- hasChanges() - Method in interface com.vaadin.signals.impl.UsageTracker.Usage
-
Checks whether the used value has subsequently been changed.
- hashCode() - Method in record class com.vaadin.signals.Id
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.Node.Alias
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.Node.Data
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.operations.SignalOperation.Error
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.operations.SignalOperation.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Accept
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.shared.impl.CommandResult.NodeModification
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Reject
-
Returns a hash code value for this object.
- hashCode() - Method in class com.vaadin.signals.shared.SharedListSignal
- hashCode() - Method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Returns a hash code value for this object.
- hashCode() - Method in class com.vaadin.signals.shared.SharedMapSignal
- hashCode() - Method in class com.vaadin.signals.shared.SharedNodeSignal
- hashCode() - Method in class com.vaadin.signals.shared.SharedNumberSignal
- hashCode() - Method in class com.vaadin.signals.shared.SharedValueSignal
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.ClearCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.ClearOwnerCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.IncrementCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.KeyCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.LastUpdateCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.PositionCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.PutCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.RemoveByKeyCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.RemoveCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.SetCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.SnapshotCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.TransactionCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.signals.SignalCommand.ValueCondition
-
Returns a hash code value for this object.
- hasLock() - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Checks whether the tree lock is currently held.
I
- id() - Method in class com.vaadin.signals.shared.AbstractSignal
-
Gets the unique id of this signal instance.
- id() - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Gets the id of this signal tree.
- Id - Record Class in com.vaadin.signals
-
Generated identifier for signals and other related resources.
- Id(long) - Constructor for record class com.vaadin.signals.Id
-
Creates an instance of a
Idrecord class. - identity() - Static method in interface com.vaadin.signals.function.SerializableFunction
-
Returns a function that always returns its input argument.
- include(SignalTree, SignalCommand, CommandsAndHandlers.CommandResultHandler) - Method in class com.vaadin.signals.impl.Transaction
-
Includes the given command to the given tree in the context of this transaction and sets the command to be applied to the underlying signal tree.
- include(SignalTree, SignalCommand, CommandsAndHandlers.CommandResultHandler, boolean) - Method in class com.vaadin.signals.impl.Transaction
-
Includes the given command to the given tree in the context of this transaction and optionally also sets the command to be applied to the underlying signal tree.
- include(SignalTree, SignalCommand, CommandsAndHandlers.CommandResultHandler, boolean) - Method in class com.vaadin.signals.shared.impl.StagedTransaction
- incrementBy(double) - Method in class com.vaadin.signals.shared.SharedNumberSignal
-
Atomically increments the value of this signal by the given delta amount.
- IncrementCommand(Id, Id, double) - Constructor for record class com.vaadin.signals.SignalCommand.IncrementCommand
-
Creates an instance of a
IncrementCommandrecord class. - insertAt(int, T) - Method in class com.vaadin.signals.local.ListSignal
-
Inserts a value at the given index in this list.
- insertAt(T, SharedListSignal.ListPosition) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Inserts a value at the given position in this list.
- insertChild(SharedListSignal.ListPosition) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Inserts a new node with no value as a list node at the given list position.
- insertChildWithValue(Object, SharedListSignal.ListPosition) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Inserts a new node with the given value as a list node at the given list position.
- InsertCommand(Id, Id, Id, JsonNode, SharedListSignal.ListPosition) - Constructor for record class com.vaadin.signals.SignalCommand.InsertCommand
-
Creates an instance of a
InsertCommandrecord class. - insertFirst(T) - Method in class com.vaadin.signals.local.ListSignal
-
Inserts a value as the first entry in this list.
- insertFirst(T) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Inserts a value as the first entry in this list.
- insertLast(T) - Method in class com.vaadin.signals.local.ListSignal
-
Inserts a value as the last entry in this list.
- insertLast(T) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Inserts a value as the last entry in this list.
- InsertOperation<T> - Class in com.vaadin.signals.operations
-
An operation that inserts a new child signal into a list or map.
- InsertOperation(T) - Constructor for class com.vaadin.signals.operations.InsertOperation
-
Creates a new insert operation based on the new signal instance.
- inTransaction() - Static method in class com.vaadin.signals.impl.Transaction
-
Checks whether a transaction is currently active on the current thread.
- invoke(boolean) - Method in interface com.vaadin.signals.impl.TransientListener
-
Invoked when the next event occurs.
- isActive() - Static method in class com.vaadin.signals.impl.UsageTracker
-
Checks whether a usage tracker is currently active.
- isActive() - Method in class com.vaadin.signals.SignalEnvironment
-
Checks whether this environment is active on the current thread.
- isCancelled() - Method in class com.vaadin.signals.operations.CancelableOperation
-
Checks whether this operation has been canceled.
- isEmpty() - Method in class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Checks whether there are any commands in this list.
- isValid(AbstractSignal<?>, SignalCommand) - Static method in class com.vaadin.signals.shared.SignalUtils
-
Checks whether the given command is considered valid by the validator instance of the provided signal.
- isValid(SignalCommand) - Method in interface com.vaadin.signals.function.CommandValidator
-
Tests whether the given command is valid and should be allowed to execute.
K
- key() - Method in record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Returns the value of the
keyrecord component. - key() - Method in interface com.vaadin.signals.SignalCommand.KeyCommand
-
Gets the targeted map key.
- key() - Method in record class com.vaadin.signals.SignalCommand.KeyCondition
-
Returns the value of the
keyrecord component. - key() - Method in record class com.vaadin.signals.SignalCommand.PutCommand
-
Returns the value of the
keyrecord component. - key() - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Returns the value of the
keyrecord component. - key() - Method in record class com.vaadin.signals.SignalCommand.RemoveByKeyCommand
-
Returns the value of the
keyrecord component. - KeyCondition(Id, Id, String, Id) - Constructor for record class com.vaadin.signals.SignalCommand.KeyCondition
-
Creates an instance of a
KeyConditionrecord class.
L
- last() - Static method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Gets the insertion position that corresponds to the end of the list.
- lastUpdate() - Method in record class com.vaadin.signals.Node.Data
-
Returns the value of the
lastUpdaterecord component. - LastUpdateCondition(Id, Id, Id) - Constructor for record class com.vaadin.signals.SignalCommand.LastUpdateCondition
-
Creates an instance of a
LastUpdateConditionrecord class. - listChildren() - Method in record class com.vaadin.signals.Node.Data
-
Returns the value of the
listChildrenrecord component. - listChildren() - Method in class com.vaadin.signals.shared.SharedNodeSignal.SharedNodeSignalState
-
Gets a list with the children accessed by order.
- ListPosition(Id, Id) - Constructor for record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Creates an instance of a
ListPositionrecord class. - ListSignal<T> - Class in com.vaadin.signals.local
-
A local list signal that holds a list of writable signals, enabling per-entry reactivity.
- ListSignal() - Constructor for class com.vaadin.signals.local.ListSignal
-
Creates a new empty list signal.
- lock() - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Acquires the lock.
M
- map(SerializableFunction<T, R>) - Method in class com.vaadin.signals.operations.CancelableOperation
-
Creates a new cancelable operation that transforms the result value using the given mapper function.
- map(SerializableFunction<T, R>) - Method in class com.vaadin.signals.operations.SignalOperation
-
Creates a new operation that transforms the result value using the given mapper function.
- map(SignalMapper<T, C>) - Method in interface com.vaadin.signals.Signal
-
Creates a simple computed signal based on a mapper function that is passed the value of this signal.
- map(SignalMapper<T, C>, ValueMerger<T, C>) - Method in interface com.vaadin.signals.WritableSignal
-
Creates a two-way mapped signal that provides a bidirectional view of this signal.
- map(T) - Method in interface com.vaadin.signals.function.SignalMapper
-
Applies this mapper to transform a signal value.
- mapChildren() - Method in record class com.vaadin.signals.Node.Data
-
Returns the value of the
mapChildrenrecord component. - mapChildren() - Method in class com.vaadin.signals.shared.SharedNodeSignal.SharedNodeSignalState
-
Gets a map of the children accessed by key.
- mapIntValue(IntFunction<C>) - Method in class com.vaadin.signals.shared.SharedNumberSignal
-
Creates a computed signal based on an integer mapper function that is passed the value of this signal.
- mapMutable(SignalMapper<T, C>, SignalModifier<T, C>) - Method in class com.vaadin.signals.local.ValueSignal
-
Creates a two-way mapped signal that uses in-place modification for writing.
- MappedModifySignal<P,
C> - Class in com.vaadin.signals.impl -
A writable signal that provides a two-way mapped view of a
ValueSignalusing in-place modification. - MappedModifySignal(ValueSignal<P>, SignalMapper<P, C>, SignalModifier<P, C>) - Constructor for class com.vaadin.signals.impl.MappedModifySignal
-
Creates a new mapped modify signal.
- MappedWritableSignal<P,
C> - Class in com.vaadin.signals.impl -
A writable signal that provides a two-way mapped view of another writable signal.
- MappedWritableSignal(WritableSignal<P>, SignalMapper<P, C>, ValueMerger<P, C>) - Constructor for class com.vaadin.signals.impl.MappedWritableSignal
-
Creates a new mapped writable signal.
- markAsAborted() - Method in interface com.vaadin.signals.shared.impl.SignalTree.PendingCommit
-
Sets the result of all pending changes as rejected.
- MAX - Static variable in record class com.vaadin.signals.Id
-
Special id value reserved for internal bookkeeping.
- merge(O, I) - Method in interface com.vaadin.signals.function.ValueMerger
-
Creates a new outer value by merging the new inner value with the old outer value.
- mergeValidators(CommandValidator) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Merges the validator used by this signal with the given validator.
- modify(ValueModifier<T>) - Method in class com.vaadin.signals.local.ValueSignal
-
Runs the given callback to apply changes to a mutable referenced value and then notifies dependents.
- modify(P, C) - Method in interface com.vaadin.signals.function.SignalModifier
-
Modifies the parent value in place with the new child value.
- modify(T) - Method in interface com.vaadin.signals.function.ValueModifier
-
Modifies the provided value in place.
- moveTo(AbstractSignal<T>, SharedListSignal.ListPosition) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Moves the given child signal to the given position in this list.
- MutableTreeRevision - Class in com.vaadin.signals.shared.impl
-
A tree revision that can be mutated by applying signal commands.
- MutableTreeRevision(TreeRevision) - Constructor for class com.vaadin.signals.shared.impl.MutableTreeRevision
-
Creates a new mutable tree revision as a copy of the provided base revision.
N
- newNode() - Method in record class com.vaadin.signals.shared.impl.CommandResult.NodeModification
-
Returns the value of the
newNoderecord component. - NO_USAGE - Static variable in class com.vaadin.signals.impl.UsageTracker
-
A usage that doesn't have any changes and never fires any events.
- Node - Interface in com.vaadin.signals
-
A node in a signal tree.
- Node.Alias - Record Class in com.vaadin.signals
-
A node alias.
- Node.Data - Record Class in com.vaadin.signals
-
A data node.
- NodeModification(Node, Node) - Constructor for record class com.vaadin.signals.shared.impl.CommandResult.NodeModification
-
Creates an instance of a
NodeModificationrecord class. - nodes() - Method in class com.vaadin.signals.shared.impl.TreeRevision
-
Gets the nodes that make up this revision.
- nodes() - Method in record class com.vaadin.signals.SignalCommand.SnapshotCommand
-
Returns the value of the
nodesrecord component. - nodeValue(Node, Class<T>) - Static method in class com.vaadin.signals.shared.AbstractSignal
-
Helper to convert the value of the given node into Java object of the given type.
- not(Signal<Boolean>) - Static method in interface com.vaadin.signals.Signal
-
Crates a new computed signal containing the negation of the provided boolean-valued signal.
- notifyObservers(Snapshot, Snapshot) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Notify all observers that are affected by changes between two snapshots.
- notifyProcessedCommandSubscribers(List<SignalCommand>, Map<Id, CommandResult>) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Notifies all subscribers after a command is processed.
- notifyResultHandlers(Map<Id, CommandResult>) - Method in class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Notifies and removes result handlers for the given results.
- notifyResultHandlers(Map<Id, CommandResult>, List<SignalCommand>) - Method in class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Notifies and removes result handlers for the given results in the given order.
O
- observeNextChange(Id, TransientListener) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Registers an observer for a node in this tree.
- ok() - Static method in interface com.vaadin.signals.shared.impl.CommandResult
-
Creates a simple accepted result without modifications or original inserts.
- oldNode() - Method in record class com.vaadin.signals.shared.impl.CommandResult.NodeModification
-
Returns the value of the
oldNoderecord component. - onCommandProcessed(SignalCommand, CommandResult) - Method in interface com.vaadin.signals.shared.impl.SignalTree.CommandSubscriber
-
Called when a command has been processed.
- onlyUpdate() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Accept
-
Asserts that this result contains exactly one modification and returns it.
- onNextChange(TransientListener) - Method in interface com.vaadin.signals.impl.UsageTracker.Usage
-
Registers a listener that will be invoked the next time there's a change to the used value.
- originalInserts() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Accept
-
Returns the value of the
originalInsertsrecord component. - originalInserts() - Method in class com.vaadin.signals.shared.impl.TreeRevision
-
Gets a map of signal commands for creating any nodes owned by this tree.
- ownerId() - Method in class com.vaadin.signals.shared.impl.TreeRevision
-
Gets the id of the tree that this revision belongs to.
- ownerId() - Method in record class com.vaadin.signals.SignalCommand.ClearOwnerCommand
-
Returns the value of the
ownerIdrecord component.
P
- parent() - Method in record class com.vaadin.signals.Node.Data
-
Returns the value of the
parentrecord component. - parent() - Method in class com.vaadin.signals.shared.SharedNodeSignal.SharedNodeSignalState
-
Gets the parent node of this signal.
- parse(String) - Static method in record class com.vaadin.signals.Id
-
Parses the given base64 string as an id.
- peek() - Method in class com.vaadin.signals.impl.ComputedSignal
- peek() - Method in class com.vaadin.signals.impl.MappedModifySignal
- peek() - Method in class com.vaadin.signals.impl.MappedWritableSignal
- peek() - Method in class com.vaadin.signals.local.AbstractLocalSignal
- peek() - Method in class com.vaadin.signals.shared.AbstractSignal
- peek() - Method in interface com.vaadin.signals.Signal
-
Reads the value without setting up any dependencies.
- peekConfirmed() - Method in class com.vaadin.signals.impl.ComputedSignal
- peekConfirmed() - Method in class com.vaadin.signals.shared.AbstractSignal
-
Reads the confirmed value without setting up any dependencies.
- position() - Method in record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Returns the value of the
positionrecord component. - position() - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Returns the value of the
positionrecord component. - position() - Method in record class com.vaadin.signals.SignalCommand.PositionCondition
-
Returns the value of the
positionrecord component. - PositionCondition(Id, Id, Id, SharedListSignal.ListPosition) - Constructor for record class com.vaadin.signals.SignalCommand.PositionCondition
-
Creates an instance of a
PositionConditionrecord class. - prepareCommit(CommandsAndHandlers) - Method in class com.vaadin.signals.shared.impl.AsynchronousSignalTree
- prepareCommit(CommandsAndHandlers) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Starts the process of committing a set of changes.
- prepareCommit(CommandsAndHandlers) - Method in class com.vaadin.signals.shared.impl.SynchronousSignalTree
- publishChanges() - Method in interface com.vaadin.signals.shared.impl.SignalTree.PendingCommit
-
Notifies dependents and updates all result listeners based on the pending changes.
- put(String, T) - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Associates the given value with the given key.
- putChildIfAbsent(String) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Creates a new node with no value if a map node with the given key doesn't already exist.
- putChildWithValue(String, Object) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Associates the given value with the given key.
- PutCommand(Id, Id, String, JsonNode) - Constructor for record class com.vaadin.signals.SignalCommand.PutCommand
-
Creates an instance of a
PutCommandrecord class. - putIfAbsent(String, T) - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Creates a new entry with the given value if an entry with the given key doesn't already exist.
- PutIfAbsentCommand(Id, Id, Id, String, JsonNode) - Constructor for record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Creates an instance of a
PutIfAbsentCommandrecord class.
R
- random() - Static method in record class com.vaadin.signals.Id
-
Creates a random id.
- read(SignalTree) - Method in class com.vaadin.signals.impl.Transaction
-
Gets a revision for reading from the given tree in the context of this transaction.
- read(SignalTree) - Method in class com.vaadin.signals.shared.impl.StagedTransaction
- reason() - Method in record class com.vaadin.signals.operations.SignalOperation.Error
-
Returns the value of the
reasonrecord component. - reason() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Reject
-
Returns the value of the
reasonrecord component. - register(UsageTracker.Usage) - Method in interface com.vaadin.signals.impl.UsageTracker.UsageRegistrar
-
Called when a usage event occurs.
- register(SignalEnvironment) - Static method in class com.vaadin.signals.SignalEnvironment
-
Registers a signal environment to consider when processing signal operations.
- registerUsage(UsageTracker.Usage) - Static method in class com.vaadin.signals.impl.UsageTracker
-
Registers a usage with the current usage tracker.
- Reject(String) - Constructor for record class com.vaadin.signals.shared.impl.CommandResult.Reject
-
Creates an instance of a
Rejectrecord class. - REJECT_ALL - Static variable in interface com.vaadin.signals.function.CommandValidator
-
A validator that rejects all commands, making the signal readonly.
- rejectAll(Map<Id, CommandResult>, String) - Static method in interface com.vaadin.signals.shared.impl.CommandResult
-
Creates a copy of the given map of command results where all accepted results are replaced with the same rejection.
- remove(ValueSignal<T>) - Method in class com.vaadin.signals.local.ListSignal
-
Removes the given entry from this list.
- remove(AbstractSignal<?>) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Helper to submit a remove command.
- remove(SharedValueSignal<T>) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Removes the given child from this list.
- remove(String) - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Removes the mapping for the given key.
- RemoveByKeyCommand(Id, Id, String) - Constructor for record class com.vaadin.signals.SignalCommand.RemoveByKeyCommand
-
Creates an instance of a
RemoveByKeyCommandrecord class. - removeChild(SharedNodeSignal) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Removes the given child from this node.
- removeChild(String) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Removes the map child with the given key.
- RemoveCommand(Id, Id, Id) - Constructor for record class com.vaadin.signals.SignalCommand.RemoveCommand
-
Creates an instance of a
RemoveCommandrecord class. - removeHandledCommands(Collection<Id>) - Method in class com.vaadin.signals.shared.impl.CommandsAndHandlers
-
Removes commands based on a collection of handled commands.
- replace(C, C) - Method in class com.vaadin.signals.impl.MappedModifySignal
- replace(C, C) - Method in class com.vaadin.signals.impl.MappedWritableSignal
- replace(T, T) - Method in class com.vaadin.signals.local.ValueSignal
-
Sets the value of this signal if and only if the signal has the expected value at the time when the operation is confirmed.
- replace(T, T) - Method in class com.vaadin.signals.shared.SharedValueSignal
- replace(T, T) - Method in interface com.vaadin.signals.WritableSignal
-
Sets the value of this signal if and only if the signal has the expected value at the time when the operation is confirmed.
- result() - Method in class com.vaadin.signals.operations.SignalOperation
-
Gets the eventual operation result.
- Result(T) - Constructor for record class com.vaadin.signals.operations.SignalOperation.Result
-
Creates an instance of a
Resultrecord class. - returnValue() - Method in class com.vaadin.signals.operations.TransactionOperation
-
Gets the return value from the transaction callback.
- rollback() - Method in class com.vaadin.signals.impl.Transaction
-
Rolls back any staged commands in this transaction and notifies the result handlers for those commands.
- rollback() - Method in class com.vaadin.signals.shared.impl.StagedTransaction
- runInTransaction(TransactionTask) - Static method in class com.vaadin.signals.impl.Transaction
-
Runs the given task in a regular transaction and returns an operation object without a value.
- runInTransaction(TransactionTask) - Static method in interface com.vaadin.signals.Signal
-
Runs the provided runnable in a transaction.
- runInTransaction(TransactionTask, Transaction.Type) - Static method in class com.vaadin.signals.impl.Transaction
-
Runs the given task in a transaction of the given type and returns an operation object without a value.
- runInTransaction(ValueSupplier<T>) - Static method in class com.vaadin.signals.impl.Transaction
-
Runs the given supplier in a regular transaction and returns an operation object that wraps the supplier value.
- runInTransaction(ValueSupplier<T>) - Static method in interface com.vaadin.signals.Signal
-
Runs the provided supplier in a transaction.
- runInTransaction(ValueSupplier<T>, Transaction.Type) - Static method in class com.vaadin.signals.impl.Transaction
-
Runs the given supplier in a transaction of the given type and returns an operation object that wraps the supplier value.
- runWithLock(SerializableRunnable) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Runs an action while holding the lock.
- runWithoutTransaction(TransactionTask) - Static method in class com.vaadin.signals.impl.Transaction
-
Runs the given task outside any transaction.
- runWithoutTransaction(TransactionTask) - Static method in interface com.vaadin.signals.Signal
-
Runs the given task outside any transaction.
- runWithoutTransaction(ValueSupplier<T>) - Static method in class com.vaadin.signals.impl.Transaction
-
Runs the given supplier outside any transaction and returns the supplied value.
- runWithoutTransaction(ValueSupplier<T>) - Static method in interface com.vaadin.signals.Signal
-
Runs the given supplier outside any transaction and returns the supplied value.
S
- scopeOwner() - Method in record class com.vaadin.signals.Node.Data
-
Returns the value of the
scopeOwnerrecord component. - scopeOwner() - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Returns the value of the
scopeOwnerrecord component. - scopeOwner() - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Returns the value of the
scopeOwnerrecord component. - scopeOwner() - Method in interface com.vaadin.signals.SignalCommand.ScopeOwnerCommand
-
The owner id.
- SerializableExecutor - Interface in com.vaadin.signals.function
-
An
Executorthat is alsoSerializable. - SerializableFunction<T,
R> - Interface in com.vaadin.signals.function -
A
Functionthat is alsoSerializable. - SerializableRunnable - Interface in com.vaadin.signals.function
-
A
Runnablethat is alsoSerializable. - SetCommand(Id, Id, JsonNode) - Constructor for record class com.vaadin.signals.SignalCommand.SetCommand
-
Creates an instance of a
SetCommandrecord class. - setSignalValue(T) - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Sets the signal value and notifies all registered listeners.
- SharedListSignal<T> - Class in com.vaadin.signals.shared
-
A signal containing a list of values.
- SharedListSignal(SignalTree, Id, CommandValidator, Class<T>) - Constructor for class com.vaadin.signals.shared.SharedListSignal
-
Creates a new list signal instance with the given id and validator for the given signal tree with the given element type.
- SharedListSignal(Class<T>) - Constructor for class com.vaadin.signals.shared.SharedListSignal
-
Creates a new list signal with the given element type.
- SharedListSignal.ListPosition - Record Class in com.vaadin.signals.shared
-
A list insertion position before and/or after the referenced entries.
- SharedMapSignal<T> - Class in com.vaadin.signals.shared
-
A signal containing a map of values with string keys.
- SharedMapSignal(SignalTree, Id, CommandValidator, Class<T>) - Constructor for class com.vaadin.signals.shared.SharedMapSignal
-
Creates a new map signal instance with the given id and validator for the given signal tree with the given element type.
- SharedMapSignal(Class<T>) - Constructor for class com.vaadin.signals.shared.SharedMapSignal
-
Creates a new map signal with the given element type.
- SharedNodeSignal - Class in com.vaadin.signals.shared
-
A signal representing a node in a tree structure.
- SharedNodeSignal() - Constructor for class com.vaadin.signals.shared.SharedNodeSignal
-
Creates a new empty node signal that serves as a root for a hierarchical node structure.
- SharedNodeSignal(SignalTree, Id, CommandValidator) - Constructor for class com.vaadin.signals.shared.SharedNodeSignal
-
Creates a new node signal based on the given tree, node id and validator.
- SharedNodeSignal.SharedNodeSignalState - Class in com.vaadin.signals.shared
-
The snapshot of the state of a node signal.
- SharedNodeSignalState(JsonNode, SharedNodeSignal, List<SharedNodeSignal>, Map<String, SharedNodeSignal>) - Constructor for class com.vaadin.signals.shared.SharedNodeSignal.SharedNodeSignalState
-
Creates a new state snapshot based on the given JSON value, list children and map children.
- SharedNumberSignal - Class in com.vaadin.signals.shared
-
A signal containing a numeric value.
- SharedNumberSignal() - Constructor for class com.vaadin.signals.shared.SharedNumberSignal
-
Creates a new number signal with a zero value.
- SharedNumberSignal(double) - Constructor for class com.vaadin.signals.shared.SharedNumberSignal
-
Creates a new number signal with the given value.
- SharedNumberSignal(SignalTree, Id, CommandValidator) - Constructor for class com.vaadin.signals.shared.SharedNumberSignal
-
Creates a new number signal instance with the given id and validator for the given signal tree.
- SharedValueSignal<T> - Class in com.vaadin.signals.shared
-
A signal containing a value.
- SharedValueSignal(SignalTree, Id, CommandValidator, Class<T>) - Constructor for class com.vaadin.signals.shared.SharedValueSignal
-
Creates a new value signal instance with the given id and validator for the given signal tree with the given value type.
- SharedValueSignal(Class<T>) - Constructor for class com.vaadin.signals.shared.SharedValueSignal
-
Creates a new value signal of the given type with no value.
- SharedValueSignal(T) - Constructor for class com.vaadin.signals.shared.SharedValueSignal
-
Creates a new value signal with the given initial value.
- signal() - Method in class com.vaadin.signals.operations.InsertOperation
-
Gets the newly inserted signal instance.
- Signal<T> - Interface in com.vaadin.signals
-
A signal is a reactive value holder with automatic subscription and unsubscription of listeners.
- SignalCommand - Interface in com.vaadin.signals
-
A command triggered from a signal.
- SignalCommand.AdoptAsCommand - Record Class in com.vaadin.signals
-
Adopts the given node as a child with the given key.
- SignalCommand.AdoptAtCommand - Record Class in com.vaadin.signals
-
Adopts the given node as a child at the given insertion position.
- SignalCommand.ClearCommand - Record Class in com.vaadin.signals
-
Removes all children from the target node.
- SignalCommand.ClearOwnerCommand - Record Class in com.vaadin.signals
-
Removes all nodes that have its scope owner set as the given id.
- SignalCommand.ConditionCommand - Interface in com.vaadin.signals
-
A signal command that doesn't apply any change but only performs a test that will be part of determining whether a transaction passes.
- SignalCommand.GlobalCommand - Interface in com.vaadin.signals
-
A signal command that doesn't target a specific node.
- SignalCommand.IncrementCommand - Record Class in com.vaadin.signals
-
Increments the value of the given node by the given delta.
- SignalCommand.InsertCommand - Record Class in com.vaadin.signals
-
Inserts a new node with the given value at the given list insert position.
- SignalCommand.KeyCommand - Interface in com.vaadin.signals
-
A signal command that targets a map entry by key.
- SignalCommand.KeyCondition - Record Class in com.vaadin.signals
-
Tests whether the given node has the expected child for a specific map key.
- SignalCommand.LastUpdateCondition - Record Class in com.vaadin.signals
-
Tests that the given node was last updated by the command with the given id.
- SignalCommand.PositionCondition - Record Class in com.vaadin.signals
-
Tests whether the given node has a given child at a given position.
- SignalCommand.PutCommand - Record Class in com.vaadin.signals
-
Stores the given value in a child node with the given key.
- SignalCommand.PutIfAbsentCommand - Record Class in com.vaadin.signals
-
Stores the given value in a child node with the given key if it doesn't already exist.
- SignalCommand.RemoveByKeyCommand - Record Class in com.vaadin.signals
-
Removes the child with the given key, if present.
- SignalCommand.RemoveCommand - Record Class in com.vaadin.signals
-
Removes the given node from its parent, optionally verifying that the parent is as expected.
- SignalCommand.ScopeOwnerCommand - Interface in com.vaadin.signals
-
A signal command that creates a new signal node that might have an owner.
- SignalCommand.SetCommand - Record Class in com.vaadin.signals
-
Sets the value of the given node.
- SignalCommand.SnapshotCommand - Record Class in com.vaadin.signals
-
Initializes a tree based on a collection of pre-existing nodes.
- SignalCommand.TransactionCommand - Record Class in com.vaadin.signals
-
A sequence of commands that should be applied atomically and only if all commands are individually accepted.
- SignalCommand.ValueCommand - Interface in com.vaadin.signals
-
A signal command that sets the value of a signal.
- SignalCommand.ValueCondition - Record Class in com.vaadin.signals
-
Tests whether the given node has the expected value, based on JSON equality.
- SignalComputation<T> - Interface in com.vaadin.signals.function
-
Computes a signal value based on other signals.
- SignalEnvironment - Class in com.vaadin.signals
-
The context in which signal operations are processed.
- SignalEnvironment() - Constructor for class com.vaadin.signals.SignalEnvironment
-
Creates a new signal environment.
- SignalMapper<T,
R> - Interface in com.vaadin.signals.function -
Transforms a signal value into another value, creating a derived signal.
- SignalModifier<P,
C> - Interface in com.vaadin.signals.function -
Modifies the parent signal value in place based on a new child value.
- SignalOperation<T> - Class in com.vaadin.signals.operations
-
An operation triggered on a signal instance.
- SignalOperation() - Constructor for class com.vaadin.signals.operations.SignalOperation
-
Creates a new signal operation that will get a result later.
- SignalOperation(SignalOperation.ResultOrError<T>) - Constructor for class com.vaadin.signals.operations.SignalOperation
-
Creates a new signal operation that already has a result.
- SignalOperation.Error<T> - Record Class in com.vaadin.signals.operations
-
A failed signal operation result.
- SignalOperation.Result<T> - Record Class in com.vaadin.signals.operations
-
A successful signal operation result.
- SignalOperation.ResultOrError<T> - Interface in com.vaadin.signals.operations
-
The result of a signal operation.
- SignalTree - Class in com.vaadin.signals.shared.impl
-
Provides thread-safe access to a tree of signal nodes and a way of listening for changes to those nodes.
- SignalTree(SignalTree.Type) - Constructor for class com.vaadin.signals.shared.impl.SignalTree
-
Creates a new signal tree with the given type.
- SignalTree.CommandSubscriber - Interface in com.vaadin.signals.shared.impl
-
Receives notifications about processed signal commands and their results.
- SignalTree.PendingCommit - Interface in com.vaadin.signals.shared.impl
-
Collection of callbacks representing the possible stages when committing a transaction.
- SignalTree.Type - Enum Class in com.vaadin.signals.shared.impl
-
The tree type, used to determine how different tree instances can be combined in a transaction.
- SignalUpdater<T> - Interface in com.vaadin.signals.function
-
Computes a new signal value based on the current value, enabling atomic compare-and-swap updates with automatic retry on conflicts.
- SignalUtils - Class in com.vaadin.signals.shared
-
Utility class for accessing/using signals internal API.
- Snapshot - Class in com.vaadin.signals.shared.impl
-
An immutable tree revision.
- Snapshot(Id, boolean) - Constructor for class com.vaadin.signals.shared.impl.Snapshot
-
Creates an empty snapshot.
- Snapshot(MutableTreeRevision) - Constructor for class com.vaadin.signals.shared.impl.Snapshot
-
Creates a new snapshot from a mutable tree revision.
- SnapshotCommand(Id, Map<Id, Node>) - Constructor for record class com.vaadin.signals.SignalCommand.SnapshotCommand
-
Creates an instance of a
SnapshotCommandrecord class. - STAGED - Enum constant in enum class com.vaadin.signals.impl.Transaction.Type
-
A conventional read-write transaction that stages commands to be submitted as a single commit.
- StagedTransaction - Class in com.vaadin.signals.shared.impl
-
A conventional read-write transaction that stages commands to be submitted as a single commit.
- StagedTransaction(Transaction) - Constructor for class com.vaadin.signals.shared.impl.StagedTransaction
-
Creates a new staged transaction for the given outer transaction.
- submit(SignalCommand) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Submits a command for this signal and updates the created operation without a value once the command result is confirmed.
- submit(SignalCommand, AbstractSignal.ResultConverter<R>) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Submits a command for this signal and uses the provided result converter to updates the created operation once the command result is confirmed.
- submit(SignalCommand, AbstractSignal.ResultConverter<R>, O) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Submits a command for this signal and updates the given operation using the given result converter once the command result is confirmed.
- submit(List<SignalCommand>) - Method in class com.vaadin.signals.shared.impl.AsynchronousSignalTree
-
Submits a sequence of commands to the event log.
- submitInsert(SignalCommand, AbstractSignal.ChildSignalFactory<I>) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Submits a command for this signal and creates and insert operation that is updated once the command result is confirmed.
- submitted() - Method in class com.vaadin.signals.shared.impl.AsynchronousSignalTree
- submitted() - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Gets the current snapshot based on all confirmed and submitted commands.
- submitted() - Method in class com.vaadin.signals.shared.impl.SynchronousSignalTree
- submitVoidOperation(SignalCommand, O) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Submits a command for this signal and updates the given operation without a value once the command result is confirmed.
- subscribeToProcessed(SignalTree.CommandSubscriber) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Registers a callback that is executed after commands are processed (regardless of acceptance or rejection).
- successful() - Method in record class com.vaadin.signals.operations.SignalOperation.Error
- successful() - Method in record class com.vaadin.signals.operations.SignalOperation.Result
- successful() - Method in interface com.vaadin.signals.operations.SignalOperation.ResultOrError
-
Checks whether this instance represents successfully applied signal operation.
- supply() - Method in interface com.vaadin.signals.function.ValueSupplier
-
Supplies a value.
- SYNCHRONOUS - Enum constant in enum class com.vaadin.signals.shared.impl.SignalTree.Type
-
Synchronous trees can confirm the status of applied commands while the tree is locked which makes it possible for multiple sync trees to participate in the same transaction.
- SynchronousSignalTree - Class in com.vaadin.signals.shared.impl
-
A signal tree that immediately confirms commands without waiting for an external system to determine command ordering.
- SynchronousSignalTree(boolean) - Constructor for class com.vaadin.signals.shared.impl.SynchronousSignalTree
-
Creates a new synchronous signal tree.
T
- target() - Method in record class com.vaadin.signals.Node.Alias
-
Returns the value of the
targetrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.ClearCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in interface com.vaadin.signals.SignalCommand.GlobalCommand
- targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.IncrementCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.KeyCondition
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.LastUpdateCondition
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.PositionCondition
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.PutCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.RemoveByKeyCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.RemoveCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.SetCommand
-
Returns the value of the
targetNodeIdrecord component. - targetNodeId() - Method in interface com.vaadin.signals.SignalCommand
-
Gets the id of the signal node that is targeted by this command.
- targetNodeId() - Method in record class com.vaadin.signals.SignalCommand.ValueCondition
-
Returns the value of the
targetNodeIdrecord component. - toJson(Object) - Static method in class com.vaadin.signals.shared.AbstractSignal
-
Helper to convert the given object to JSON using the global signal object mapper.
- toString() - Method in record class com.vaadin.signals.Id
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.Node.Alias
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.Node.Data
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.operations.SignalOperation.Error
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.operations.SignalOperation.Result
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Accept
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.shared.impl.CommandResult.NodeModification
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Reject
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.shared.SharedListSignal.ListPosition
-
Returns a string representation of this record class.
- toString() - Method in class com.vaadin.signals.shared.SharedListSignal
- toString() - Method in class com.vaadin.signals.shared.SharedMapSignal
- toString() - Method in class com.vaadin.signals.shared.SharedNodeSignal
- toString() - Method in class com.vaadin.signals.shared.SharedNumberSignal
- toString() - Method in class com.vaadin.signals.shared.SharedValueSignal
- toString() - Method in record class com.vaadin.signals.SignalCommand.AdoptAsCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.AdoptAtCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.ClearCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.ClearOwnerCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.IncrementCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.KeyCondition
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.LastUpdateCondition
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.PositionCondition
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.PutCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.RemoveByKeyCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.RemoveCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.SetCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.SnapshotCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.TransactionCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.signals.SignalCommand.ValueCondition
-
Returns a string representation of this record class.
- track(SerializableRunnable) - Static method in class com.vaadin.signals.impl.UsageTracker
-
Runs the given task while collecting all cases where a managed value is used.
- track(SerializableRunnable, UsageTracker.UsageRegistrar) - Static method in class com.vaadin.signals.impl.UsageTracker
-
Runs the given task while reacting to all cases where a managed value is used.
- track(Supplier<T>, UsageTracker.UsageRegistrar) - Static method in class com.vaadin.signals.impl.UsageTracker
-
Runs the given task with return value while reacting to all cases where a managed value is used.
- Transaction - Class in com.vaadin.signals.impl
-
A context for running commands that might be related to each other.
- Transaction() - Constructor for class com.vaadin.signals.impl.Transaction
-
Creates a new transaction.
- Transaction.Type - Enum Class in com.vaadin.signals.impl
-
The type of a transaction, determining how it handles reads and writes.
- TransactionCommand(Id, List<SignalCommand>) - Constructor for record class com.vaadin.signals.SignalCommand.TransactionCommand
-
Creates an instance of a
TransactionCommandrecord class. - TransactionOperation<T> - Class in com.vaadin.signals.operations
-
A signal operation representing a transaction and the return value from the transaction callback.
- TransactionOperation(T) - Constructor for class com.vaadin.signals.operations.TransactionOperation
-
Creates a new transaction operation with the provided return value.
- TransactionTask - Interface in com.vaadin.signals.function
-
Represents a task to be executed within a signal transaction context.
- TransientListener - Interface in com.vaadin.signals.impl
-
A listener that is expected to only be invoked the next time some event occurs but not for subsequent events.
- tree() - Method in class com.vaadin.signals.shared.AbstractSignal
-
Gets the signal tree that stores the value for this signal.
- treeOf(AbstractSignal<?>) - Static method in class com.vaadin.signals.shared.SignalUtils
-
Returns the underlying
SignalTreeinstance of the given signal. - TreeRevision - Class in com.vaadin.signals.shared.impl
-
A revision of a signal tree.
- TreeRevision(Id, Map<Id, Node>, Map<Id, SignalCommand.ScopeOwnerCommand>) - Constructor for class com.vaadin.signals.shared.impl.TreeRevision
-
Creates a new revision based on the given owner id, map of signal nodes and map of original inserts.
- tryLock() - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Attempts to acquire the lock without blocking.
- type() - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Gets the type of this signal tree.
U
- unlock() - Method in class com.vaadin.signals.local.AbstractLocalSignal
-
Releases the lock.
- untracked(ValueSupplier<T>) - Static method in class com.vaadin.signals.impl.UsageTracker
-
Runs the given supplier without tracking usage even if a usage tracker is active.
- untracked(ValueSupplier<T>) - Static method in interface com.vaadin.signals.Signal
-
Runs the given supplier without tracking dependencies for signals that are read within the supplier.
- update(SignalUpdater<C>) - Method in class com.vaadin.signals.impl.MappedModifySignal
- update(SignalUpdater<C>) - Method in class com.vaadin.signals.impl.MappedWritableSignal
- update(SignalUpdater<T>) - Method in class com.vaadin.signals.local.ValueSignal
-
Updates the signal value based on the given callback.
- update(SignalUpdater<T>) - Method in class com.vaadin.signals.shared.SharedValueSignal
- update(SignalUpdater<T>) - Method in interface com.vaadin.signals.WritableSignal
-
Updates the signal value based on the given callback.
- update(T) - Method in interface com.vaadin.signals.function.SignalUpdater
-
Computes a new value based on the current value.
- updates() - Method in record class com.vaadin.signals.shared.impl.CommandResult.Accept
-
Returns the value of the
updatesrecord component. - usageChangeValue(Node.Data) - Method in class com.vaadin.signals.impl.ComputedSignal
- usageChangeValue(Node.Data) - Method in class com.vaadin.signals.shared.AbstractSignal
-
Gets a reference value that will be used to determine whether a dependency based on previous usage should be invalidated.
- usageChangeValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedListSignal
- usageChangeValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedMapSignal
- usageChangeValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedNodeSignal
- usageChangeValue(Node.Data) - Method in class com.vaadin.signals.shared.SharedValueSignal
- UsageTracker - Class in com.vaadin.signals.impl
-
Tracks signal value read operations while a task is run.
- UsageTracker.Usage - Interface in com.vaadin.signals.impl
-
Tracks the state of some used value.
- UsageTracker.UsageRegistrar - Interface in com.vaadin.signals.impl
-
Receives notifications about signal usage events.
V
- validator() - Method in class com.vaadin.signals.shared.AbstractSignal
-
Gets the validator used by this signal instance.
- value() - Method in record class com.vaadin.signals.Id
-
Returns the value of the
valuerecord component. - value() - Method in class com.vaadin.signals.impl.MappedModifySignal
- value() - Method in class com.vaadin.signals.impl.MappedWritableSignal
- value() - Method in class com.vaadin.signals.local.AbstractLocalSignal
- value() - Method in record class com.vaadin.signals.Node.Data
-
Returns the value of the
valuerecord component. - value() - Method in record class com.vaadin.signals.operations.SignalOperation.Result
-
Returns the value of the
valuerecord component. - value() - Method in class com.vaadin.signals.shared.AbstractSignal
- value() - Method in class com.vaadin.signals.shared.SharedNumberSignal
- value() - Method in interface com.vaadin.signals.Signal
-
Gets the current value of this signal.
- value() - Method in record class com.vaadin.signals.SignalCommand.InsertCommand
-
Returns the value of the
valuerecord component. - value() - Method in record class com.vaadin.signals.SignalCommand.PutCommand
-
Returns the value of the
valuerecord component. - value() - Method in record class com.vaadin.signals.SignalCommand.PutIfAbsentCommand
-
Returns the value of the
valuerecord component. - value() - Method in record class com.vaadin.signals.SignalCommand.SetCommand
-
Returns the value of the
valuerecord component. - value() - Method in interface com.vaadin.signals.SignalCommand.ValueCommand
-
Gets the JSON node with the value to set.
- value(int) - Method in class com.vaadin.signals.shared.SharedNumberSignal
-
Sets the value of this signal as an integer.
- value(C) - Method in class com.vaadin.signals.impl.MappedModifySignal
- value(C) - Method in class com.vaadin.signals.impl.MappedWritableSignal
- value(Class<T>) - Method in class com.vaadin.signals.shared.SharedNodeSignal.SharedNodeSignalState
-
Gets the value as the given type.
- value(T) - Method in class com.vaadin.signals.local.ValueSignal
- value(T) - Method in class com.vaadin.signals.shared.SharedValueSignal
- value(T) - Method in interface com.vaadin.signals.WritableSignal
-
Sets the value of this signal.
- valueAsInt() - Method in class com.vaadin.signals.shared.SharedNumberSignal
-
Gets the value of this signal as an integer.
- ValueCondition(Id, Id, JsonNode) - Constructor for record class com.vaadin.signals.SignalCommand.ValueCondition
-
Creates an instance of a
ValueConditionrecord class. - ValueMerger<O,
I> - Interface in com.vaadin.signals.function -
Creates a new outer value by merging a new inner value with the old outer value.
- ValueModifier<T> - Interface in com.vaadin.signals.function
-
Receives the current value of a signal for in-place modification.
- valueOf(String) - Static method in enum class com.vaadin.signals.impl.Transaction.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.signals.shared.impl.SignalTree.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.signals.impl.Transaction.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.signals.shared.impl.SignalTree.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueSignal<T> - Class in com.vaadin.signals.local
-
A local writable signal that holds a reference to an object.
- ValueSignal() - Constructor for class com.vaadin.signals.local.ValueSignal
-
Creates a new value signal with an initial value of
null. - ValueSignal(T) - Constructor for class com.vaadin.signals.local.ValueSignal
-
Creates a new value signal with the given initial value.
- ValueSupplier<T> - Interface in com.vaadin.signals.function
-
Supplies a value within a specific context such as a transaction or lock-protected block.
- verifyChild(AbstractSignal<?>) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Checks that the given signal is a child in this list.
- verifyHasKey(String) - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Checks that there is a mapping for the given key in this map.
- verifyKey(String, AbstractSignal<?>) - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Checks that the given child is mapped to the given key in this map.
- verifyKeyAbsent(String) - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Checks that there is no mapping for the given key in this map.
- verifyPosition(AbstractSignal<?>, SharedListSignal.ListPosition) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Checks that the given child is at the given position in this list.
- verifyValue(T) - Method in class com.vaadin.signals.shared.SharedValueSignal
-
Checks that this signal has the expected value.
W
- withValidator(CommandValidator) - Method in class com.vaadin.signals.shared.SharedListSignal
-
Wraps this signal with a validator.
- withValidator(CommandValidator) - Method in class com.vaadin.signals.shared.SharedMapSignal
-
Wraps this signal with a validator.
- withValidator(CommandValidator) - Method in class com.vaadin.signals.shared.SharedNodeSignal
-
Wraps this signal with a validator.
- withValidator(CommandValidator) - Method in class com.vaadin.signals.shared.SharedNumberSignal
-
Wraps this signal with a validator.
- withValidator(CommandValidator) - Method in class com.vaadin.signals.shared.SharedValueSignal
-
Wraps this signal with a validator.
- wrapWithLock(SerializableRunnable) - Method in class com.vaadin.signals.shared.impl.SignalTree
-
Wraps the provided action to run it while holding the lock.
- WritableSignal<T> - Interface in com.vaadin.signals
-
A signal to which a new value can be directly written.
- WRITE_THROUGH - Enum constant in enum class com.vaadin.signals.impl.Transaction.Type
-
A transaction that applies commands immediately to the underlying tree while providing repeatable reads that are updated by changes from applied commands.
Z
- ZERO - Static variable in record class com.vaadin.signals.Id
-
Default or initial id in various contexts.
All Classes and Interfaces|All Packages|Serialized Form