reading this page of the Book of Vaadin:
https://vaadin.com/book/vaadin7/-/page/advanced.shortcuts.html
You can also specify the shortcut by a shorthand notation, where the shortcut key is indicated with an ampersand (&).
// A field with Alt+A bound to it, using shorthand notation
TextField address = new TextField("Address (Alt+A)");
address.addShortcutListener(
new AbstractField.FocusShortcut(address, "&Address"));
This is especially useful for internationalization, so that you can determine the shortcut key from the localized string.
If I add this address
textfield object to my layout and then I press Alt+A the field is focused.
But how does Vaadin knows that "&Address" is ALT+A??? Does it parses the string internally or compares it with something?
What is this "&Address" shorthand notation
for keyboard shortcuts? Are there also other shorthand notations?