| 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.server.frontend |
| 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 | Class and Description |
|---|---|
class |
NodeTasks
An executor that it's run when the servlet context is initialised in dev-mode
or when flow-maven-plugin goals are run.
|
class |
NodeUpdater
Base abstract class for frontend updaters that needs to be run when in
dev-mode or from the flow maven plugin.
|
class |
TaskCreatePackageJson
Creates the
package.json if missing. |
class |
TaskRunNpmInstall
Run
npm install after dependencies have been updated. |
class |
TaskUpdateImports
An updater that it's run when the servlet context is initialised in dev-mode
or when flow-maven-plugin goals are run in order to update Flow imports file
and
node_module/@vaadin/flow-frontend contents by visiting all
classes with JsModule HtmlImport and Theme
annotations. |
class |
TaskUpdatePackages
Updates
package.json by visiting NpmPackage annotations
found in the classpath. |
class |
TaskUpdateWebpack
Updates the webpack config file according with current project settings.
|
Copyright © 2000–2019 Vaadin Ltd. All rights reserved.