Package com.vaadin.flow.component
Interface ShortcutEventListener
-
- All Superinterfaces:
EventListener
,Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ShortcutEventListener extends EventListener, Serializable
Listener for shortcut events.- Since:
- 1.3
- Author:
- Vaadin Ltd.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onShortcut(ShortcutEvent event)
Invoked when shortcut has been used.
-
-
-
Method Detail
-
onShortcut
void onShortcut(ShortcutEvent event)
Invoked when shortcut has been used.- Parameters:
event
-ShortcutEvent
based on the registered shortcut
-
-