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.ui.declarative.converters.
Interface ShortcutKeyMapper
-
All Superinterfaces:
public interface ShortcutKeyMapper extends Serializable
Provides mappings between shortcut keycodes and their representation in design attributes. Contains a default framework implementation as a field.
Since:
7.4
Author:
Vaadin Ltd
-
-
Field Summary
Fields Modifier and Type Field Description static ShortcutKeyMapper
DEFAULT
An instance of a default keymapper.
-
Method Summary
All Methods Modifier and Type Method Description int
getKeycodeForString(String attributePresentation)
Gets the key code for a given string.
String
getStringForKeycode(int keyCode)
Returns a string for a given key code.
-
-
-
Field Detail
-
DEFAULT
static final ShortcutKeyMapper DEFAULT
An instance of a default keymapper.
-
-
Method Detail
-
getKeycodeForString
int getKeycodeForString(String attributePresentation)
Gets the key code for a given string.
Parameters:
attributePresentation
- StringReturns:
Key code.
-
getStringForKeycode
String getStringForKeycode(int keyCode)
Returns a string for a given key code.
Parameters:
keyCode
- Key code.Returns:
String.
-
-