Uses of Class
com.vaadin.flow.component.ShortcutRegistration
Packages that use ShortcutRegistration
-
Uses of ShortcutRegistration in com.vaadin.flow.component
Methods in com.vaadin.flow.component that return ShortcutRegistrationModifier and TypeMethodDescriptiondefault ShortcutRegistration
ClickNotifier.addClickShortcut
(Key key, KeyModifier... keyModifiers) Adds a shortcut which 'clicks' theComponent
which implementsClickNotifier
interface.default ShortcutRegistration
Focusable.addFocusShortcut
(Key key, KeyModifier... keyModifiers) static ShortcutRegistration
Shortcuts.addShortcutListener
(Component lifecycleOwner, ShortcutEventListener listener, Key key, KeyModifier... keyModifiers) Invoke aShortcutEventListener
when the shortcut is invoked.static ShortcutRegistration
Shortcuts.addShortcutListener
(Component lifecycleOwner, Command command, Key key, KeyModifier... keyModifiers) Invoke aCommand
when the shortcut is invoked.UI.addShortcutListener
(ShortcutEventListener listener, Key key, KeyModifier... keyModifiers) Registers a global shortcut tied to theUI
which executes the givenComponentEventListener
when invoked.UI.addShortcutListener
(Command command, Key key, KeyModifier... keyModifiers) Registers a global shortcut tied to theUI
which executes the givenCommand
when invoked.ShortcutRegistration.allowBrowserDefault()
Allows the default keyboard event handling when the shortcut is invoked.ShortcutRegistration.allowEventPropagation()
Allow the event to propagate upwards in the DOM tree, when the shortcut is invoked.ShortcutRegistration.bindLifecycleTo
(Component component) Binds the shortcut's life cycle to that of the givenComponent
.Fluently define theComponent
onto which the shortcut's listener is bound.ShortcutRegistration.resetFocusOnActiveElement()
Reset focus on active element before triggering shortcut event handler.ShortcutRegistration.setDisabledUpdateMode
(DisabledUpdateMode disabledUpdateMode) Configure whether this listener will be called even in cases when the component is disabled.ShortcutRegistration.withAlt()
Fluently addsKeyModifier.ALT
to the shortcut's modifiers.ShortcutRegistration.withCtrl()
Fluently addsKeyModifier.CONTROL
to the shortcut's modifiers.ShortcutRegistration.withMeta()
Fluently addsKeyModifier.META
to the shortcut's modifiers.ShortcutRegistration.withModifiers
(KeyModifier... keyModifiers) ConfiguresKeyModifiers
for the shortcut.ShortcutRegistration.withShift()
Fluently addsKeyModifier.SHIFT
to the shortcut's modifiers. -
Uses of ShortcutRegistration in com.vaadin.flow.component.button
Methods in com.vaadin.flow.component.button that return ShortcutRegistration