| Package | Description |
|---|---|
| com.holonplatform.vaadin.flow.components.builders |
| Modifier and Type | Method and Description |
|---|---|
ShortcutConfigurator<P> |
ShortcutConfigurator.allowBrowserDefault()
Allows the default keyboard event handling when the shortcut is invoked.
|
ShortcutConfigurator<P> |
ShortcutConfigurator.allowEventPropagation()
Allow the event to propagate upwards in the DOM tree, when the shortcut is invoked.
|
ShortcutConfigurator<P> |
ShortcutConfigurator.bindLifecycleTo(com.vaadin.flow.component.Component component)
Binds the shortcut's life cycle to that of the given
Component. |
static <P> ShortcutConfigurator<P> |
ShortcutConfigurator.delegated(ShortcutConfigurator<?> delegate,
P parent)
Create a
ShortcutConfigurator which delegates actual configuration to another one. |
ShortcutConfigurator<P> |
ShortcutConfigurator.listenOn(com.vaadin.flow.component.Component listenOnComponent)
Define the
Component onto which the shortcut's listener is bound. |
ShortcutConfigurator<P> |
ShortcutConfigurator.modifiers(com.vaadin.flow.component.KeyModifier... keyModifiers)
Configures
KeyModifiers for the shortcut. |
ShortcutConfigurator<P> |
ShortcutConfigurator.withAlt()
Adds
KeyModifier.ALT to the shortcut's modifiers. |
ShortcutConfigurator<C> |
ClickNotifierConfigurator.withClickShortcut(com.vaadin.flow.component.Key key)
Adds a shortcut to perform a click action for this component when the provided key is pressed.
|
ShortcutConfigurator<P> |
ShortcutConfigurator.withCtrl()
Adds
KeyModifier.CONTROL to the shortcut's modifiers. |
ShortcutConfigurator<C> |
FocusableConfigurator.withFocusShortcut(com.vaadin.flow.component.Key key)
Adds a shortcut which focuses the component when the provided key is pressed.
|
ShortcutConfigurator<P> |
ShortcutConfigurator.withMeta()
Adds
KeyModifier.META to the shortcut's modifiers. |
ShortcutConfigurator<P> |
ShortcutConfigurator.withShift()
Adds
KeyModifier.SHIFT to the shortcut's modifiers. |
| Modifier and Type | Method and Description |
|---|---|
static <P> ShortcutConfigurator<P> |
ShortcutConfigurator.delegated(ShortcutConfigurator<?> delegate,
P parent)
Create a
ShortcutConfigurator which delegates actual configuration to another one. |
Copyright © 2020 The Holon Platform. All rights reserved.