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

    Modifier and Type
    Method
    Description
    void
    Invoked when shortcut has been used.
  • Method Details

    • onShortcut

      void onShortcut(ShortcutEvent event)
      Invoked when shortcut has been used.
      Parameters:
      event - ShortcutEvent based on the registered shortcut