We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.event.
Interface Action.ShortcutNotifier
-
All Superinterfaces:
All Known Implementing Classes:
Enclosing class:
public static interface Action.ShortcutNotifier extends Serializable
-
-
Method Summary
All Methods Modifier and Type Method Description Registration
addShortcutListener(ShortcutListener shortcut)
Add a shortcut listener and return a registration object for unregistering it.
void
removeShortcutListener(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 addReturns:
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)
.
-
-