| 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 |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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.ExecutionRegistration |
UI.beforeClientResponse(Component component,
SerializableConsumer<ExecutionContext> execution)
Registers a task to be executed before the response is sent to the
client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PendingJavaScriptInvocation.then(SerializableConsumer<elemental.json.JsonValue> successHandler,
SerializableConsumer<String> errorHandler) |
void |
PendingJavaScriptInvocation.then(SerializableConsumer<elemental.json.JsonValue> successHandler,
SerializableConsumer<String> errorHandler) |
| Constructor and Description |
|---|
AbstractFieldSupport(C component,
T defaultValue,
SerializableBiPredicate<T,T> valueEquals,
SerializableConsumer<T> setPresentationValue)
Creates a new field support.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Page.fetchCurrentURL(SerializableConsumer<URL> callback)
Retrieves the current url from the browser.
|
default <T> void |
PendingJavaScriptResult.then(Class<T> targetType,
SerializableConsumer<T> resultHandler)
Adds a typed handler that will be run for a successful execution.
|
default <T> void |
PendingJavaScriptResult.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.
|
default <T> void |
PendingJavaScriptResult.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.
|
default void |
PendingJavaScriptResult.then(SerializableConsumer<elemental.json.JsonValue> resultHandler)
Adds an untyped handler that will be run for a successful execution.
|
void |
PendingJavaScriptResult.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.
|
void |
PendingJavaScriptResult.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.
|
| Modifier and Type | Method and Description |
|---|---|
SerializableConsumer<ExecutionContext> |
StateTree.BeforeClientResponseEntry.getExecution() |
| Modifier and Type | Method and Description |
|---|---|
StateTree.ExecutionRegistration |
StateTree.beforeClientResponse(StateNode context,
SerializableConsumer<ExecutionContext> execution)
Registers a task to be executed before the response is sent to the
client.
|
void |
StateNode.runWhenAttached(SerializableConsumer<UI> command)
Runs the command when the node is attached to a UI.
|
| Modifier and Type | Method and Description |
|---|---|
ReturnChannelRegistration |
ReturnChannelMap.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.
|
Copyright © 2000–2024 Vaadin Ltd. All rights reserved.