Package com.vaadin.event
Interface Action.ShortcutNotifier
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Button,NativeButton
- Enclosing class:
- Action
public static interface Action.ShortcutNotifier extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RegistrationaddShortcutListener(ShortcutListener shortcut)Add a shortcut listener and return a registration object for unregistering it.voidremoveShortcutListener(ShortcutListener shortcut)Deprecated.As of 8.0, replaced byRegistration.remove()in the registration object returned fromaddShortcutListener(ShortcutListener).
-
-
-
Method Detail
-
addShortcutListener
Registration addShortcutListener(ShortcutListener shortcut)
Add a shortcut listener and return a registration object for unregistering it.- Parameters:
shortcut- listener to add- Returns:
- registration for unregistering the listener
- Since:
- 8.0
-
removeShortcutListener
@Deprecated void removeShortcutListener(ShortcutListener shortcut)
Deprecated.As of 8.0, replaced byRegistration.remove()in the registration object returned fromaddShortcutListener(ShortcutListener).
-
-