Uses of Interface
com.vaadin.flow.function.SerializableConsumer
-
Packages that use SerializableConsumer Package Description com.vaadin.flow.component com.vaadin.flow.component.internal com.vaadin.flow.component.page com.vaadin.flow.internal com.vaadin.flow.internal.nodefeature -
-
Uses of SerializableConsumer in com.vaadin.flow.component
Methods in com.vaadin.flow.component that return SerializableConsumer Modifier and Type Method Description <T> SerializableConsumer<T>UI. accessLater(SerializableConsumer<T> accessTask, SerializableRunnable detachHandler)Wraps the given access task as a consumer that passes a value to the given task with this UI locked.Methods in com.vaadin.flow.component with parameters of type SerializableConsumer Modifier and Type Method Description <T> SerializableConsumer<T>UI. accessLater(SerializableConsumer<T> accessTask, SerializableRunnable detachHandler)Wraps the given access task as a consumer that passes a value to the given task with this UI locked.StateTree.ExecutionRegistrationUI. beforeClientResponse(Component component, SerializableConsumer<ExecutionContext> execution)Registers a task to be executed before the response is sent to the client. -
Uses of SerializableConsumer in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal with parameters of type SerializableConsumer Modifier and Type Method Description voidPendingJavaScriptInvocation. then(SerializableConsumer<elemental.json.JsonValue> successHandler, SerializableConsumer<String> errorHandler)Constructors in com.vaadin.flow.component.internal with parameters of type SerializableConsumer Constructor Description AbstractFieldSupport(C component, T defaultValue, SerializableBiPredicate<T,T> valueEquals, SerializableConsumer<T> setPresentationValue)Creates a new field support. -
Uses of SerializableConsumer in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page with parameters of type SerializableConsumer Modifier and Type Method Description voidPage. fetchCurrentURL(SerializableConsumer<URL> callback)Retrieves the current url from the browser.default voidPendingJavaScriptResult. then(SerializableConsumer<elemental.json.JsonValue> resultHandler)Adds an untyped handler that will be run for a successful execution.voidPendingJavaScriptResult. then(SerializableConsumer<elemental.json.JsonValue> resultHandler, SerializableConsumer<String> errorHandler)Adds an untyped handler that will be run for a successful execution and a handler that will be run for a failed execution.default <T> voidPendingJavaScriptResult. then(Class<T> targetType, SerializableConsumer<T> resultHandler)Adds a typed handler that will be run for a successful execution.default <T> voidPendingJavaScriptResult. then(Class<T> targetType, SerializableConsumer<T> resultHandler, SerializableConsumer<String> errorHandler)Adds a typed handler that will be run for a successful execution and a handler that will be run for a failed execution. -
Uses of SerializableConsumer in com.vaadin.flow.internal
Methods in com.vaadin.flow.internal that return SerializableConsumer Modifier and Type Method Description SerializableConsumer<ExecutionContext>StateTree.BeforeClientResponseEntry. getExecution()Methods in com.vaadin.flow.internal with parameters of type SerializableConsumer Modifier and Type Method Description StateTree.ExecutionRegistrationStateTree. beforeClientResponse(StateNode context, SerializableConsumer<ExecutionContext> execution)Registers a task to be executed before the response is sent to the client.voidStateNode. runWhenAttached(SerializableConsumer<UI> command)Runs the command when the node is attached to a UI. -
Uses of SerializableConsumer in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature with parameters of type SerializableConsumer Modifier and Type Method Description ReturnChannelRegistrationReturnChannelMap. registerChannel(SerializableConsumer<elemental.json.JsonArray> handler)Registers a new channel based on a callback that receives the provided arguments when a message is passed to the channel.
-