Package | Description |
---|---|
com.vaadin.flow.component | |
com.vaadin.flow.internal | |
com.vaadin.flow.router | |
com.vaadin.flow.router.internal | |
com.vaadin.flow.server | |
com.vaadin.flow.shared |
Modifier and Type | Method and Description |
---|---|
Future<Void> |
UI.access(Command command)
Provides exclusive access to this UI from outside a request handling
thread.
|
void |
UI.accessSynchronously(Command command)
Locks the session of this UI and runs the provided command right away.
|
ShortcutRegistration |
UI.addShortcutListener(Command command,
Key key,
KeyModifier... keyModifiers)
Registers a global shortcut tied to the
UI which executes the
given Command when invoked. |
static ShortcutRegistration |
Shortcuts.addShortcutListener(Component lifecycleOwner,
Command command,
Key key,
KeyModifier... keyModifiers)
Invoke a
Command when the shortcut is invoked. |
Modifier and Type | Method and Description |
---|---|
Registration |
StateNode.addAttachListener(Command attachListener)
Adds a command as an attach listener.
|
Registration |
StateNode.addDetachListener(Command detachListener)
Adds a command as a detach listener.
|
Modifier and Type | Method and Description |
---|---|
void |
RouteConfiguration.update(Command command)
Block updates to the registry configuration from other threads until
update command has completed.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractRouteRegistry.update(Command command) |
Modifier and Type | Interface and Description |
---|---|
interface |
ErrorHandlingCommand
Defines the interface to handle exceptions thrown during the execution of a
FutureAccess.
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
VaadinSession.access(Command command)
Provides exclusive access to this session from outside a request handling
thread.
|
Future<Void> |
VaadinService.accessSession(VaadinSession session,
Command command)
Implementation for
VaadinSession.access(Command) . |
void |
VaadinSession.accessSynchronously(Command command)
Locks this session and runs the provided Command right away.
|
void |
RouteRegistry.update(Command command)
Block updates to the registry configuration from other threads until
update command has completed.
|
Constructor and Description |
---|
FutureAccess(VaadinSession session,
Command command)
Creates an instance for the given command.
|
Modifier and Type | Method and Description |
---|---|
static Registration |
Registration.once(Command command)
Creates a registration that will run a command only once.
|
Copyright © 2020. All rights reserved.