Uses of Interface
com.vaadin.flow.server.Command
-
Packages that use Command 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 -
-
Uses of Command in com.vaadin.flow.component
Methods in com.vaadin.flow.component with parameters of type Command Modifier and Type Method Description Future<Void>UI. access(Command command)Provides exclusive access to this UI from outside a request handling thread.voidUI. accessSynchronously(Command command)Locks the session of this UI and runs the provided command right away.static ShortcutRegistrationShortcuts. addShortcutListener(Component lifecycleOwner, Command command, Key key, KeyModifier... keyModifiers)Invoke aCommandwhen the shortcut is invoked.ShortcutRegistrationUI. addShortcutListener(Command command, Key key, KeyModifier... keyModifiers)Registers a global shortcut tied to theUIwhich executes the givenCommandwhen invoked. -
Uses of Command in com.vaadin.flow.internal
Methods in com.vaadin.flow.internal with parameters of type Command Modifier and Type Method Description RegistrationStateNode. addAttachListener(Command attachListener)Adds a command as an attach listener.RegistrationStateNode. addDetachListener(Command detachListener)Adds a command as a detach listener. -
Uses of Command in com.vaadin.flow.router
Methods in com.vaadin.flow.router with parameters of type Command Modifier and Type Method Description voidRouteConfiguration. update(Command command)Block updates to the registry configuration from other threads until update command has completed. -
Uses of Command in com.vaadin.flow.router.internal
Methods in com.vaadin.flow.router.internal with parameters of type Command Modifier and Type Method Description voidAbstractRouteRegistry. update(Command command) -
Uses of Command in com.vaadin.flow.server
Subinterfaces of Command in com.vaadin.flow.server Modifier and Type Interface Description interfaceErrorHandlingCommandDefines the interface to handle exceptions thrown during the execution of a FutureAccess.Methods in com.vaadin.flow.server with parameters of type Command Modifier and Type Method 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 forVaadinSession.access(Command).voidVaadinSession. accessSynchronously(Command command)Locks this session and runs the provided Command right away.voidRouteRegistry. update(Command command)Block updates to the registry configuration from other threads until update command has completed.Constructors in com.vaadin.flow.server with parameters of type Command Constructor Description FutureAccess(VaadinSession session, Command command)Creates an instance for the given command. -
Uses of Command in com.vaadin.flow.shared
Methods in com.vaadin.flow.shared with parameters of type Command Modifier and Type Method Description static RegistrationRegistration. once(Command command)Creates a registration that will run a command only once.
-