Package io.jmix.flowui.action.binder
Class AbstractShortcutActionBindingImpl<H extends com.vaadin.flow.component.Component,A extends Action,C extends com.vaadin.flow.component.Component>
java.lang.Object
io.jmix.flowui.action.binder.AbstractActionBindingImpl<H,A,C>
io.jmix.flowui.action.binder.AbstractShortcutActionBindingImpl<H,A,C>
- All Implemented Interfaces:
ActionBinding<C,
,A> ShortcutActionBinding<C,
A>
- Direct Known Subclasses:
ShortcutActionBindingImpl
,ShortcutActionsHolderBindingImpl
public abstract class AbstractShortcutActionBindingImpl<H extends com.vaadin.flow.component.Component,A extends Action,C extends com.vaadin.flow.component.Component>
extends AbstractActionBindingImpl<H,A,C>
implements ShortcutActionBinding<C,A>
-
Field Summary
Modifier and TypeFieldDescriptionprotected KeyCombination
protected com.vaadin.flow.component.ShortcutRegistration
Fields inherited from class io.jmix.flowui.action.binder.AbstractActionBindingImpl
action, binder, component, registrations
-
Constructor Summary
ConstructorDescriptionAbstractShortcutActionBindingImpl
(ActionBinder<H> binder, A action, C component, ShortcutActionHandler<C> actionHandler, List<com.vaadin.flow.shared.Registration> registrations) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addShortcutRegistrationIfNeeded
(KeyCombination shortcutCombination, ShortcutActionHandler<C> actionHandler) Methods inherited from class io.jmix.flowui.action.binder.AbstractActionBindingImpl
getAction, getComponent, unbind
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.action.binder.ActionBinding
getAction, getComponent, unbind
-
Field Details
-
shortcutRegistration
protected com.vaadin.flow.component.ShortcutRegistration shortcutRegistration -
shortcutCombination
-
-
Constructor Details
-
AbstractShortcutActionBindingImpl
public AbstractShortcutActionBindingImpl(ActionBinder<H> binder, A action, C component, ShortcutActionHandler<C> actionHandler, @Nullable List<com.vaadin.flow.shared.Registration> registrations)
-
-
Method Details
-
addShortcutRegistrationIfNeeded
protected void addShortcutRegistrationIfNeeded(@Nullable KeyCombination shortcutCombination, ShortcutActionHandler<C> actionHandler) -
getKeyCombination
- Specified by:
getKeyCombination
in interfaceShortcutActionBinding<H extends com.vaadin.flow.component.Component,
A extends Action>
-