Package com.vaadin.signals.operations
Class InsertOperation<T extends Signal<?>>
java.lang.Object
com.vaadin.signals.operations.SignalOperation<Void>
com.vaadin.signals.operations.InsertOperation<T>
- Type Parameters:
T- the type of the newly inserted signal
An operation that inserts a new child signal into a list or map. In addition
to the regular signal operation, there's also direct access to the newly
inserted child signal.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.signals.operations.SignalOperation
SignalOperation.Error<T>, SignalOperation.Result<T>, SignalOperation.ResultOrError<T> -
Constructor Summary
ConstructorsConstructorDescriptionInsertOperation(T newSignal) Creates a new insert operation based on the new signal instance. -
Method Summary
Methods inherited from class com.vaadin.signals.operations.SignalOperation
result
-
Constructor Details
-
InsertOperation
Creates a new insert operation based on the new signal instance.- Parameters:
newSignal- the new signal instance, notnull
-
-
Method Details
-
signal
Gets the newly inserted signal instance. The instance can be used immediately even in cases where the result of the operation is not immediately confirmed.- Returns:
- the newly inserted signal instance, not
null
-