diff options
author | Tatu Lund <tatu@vaadin.com> | 2019-04-02 07:39:42 +0300 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2019-04-02 07:39:42 +0300 |
commit | 2fa346be939b682e905528c67a531c6a8da9ebff (patch) | |
tree | 060b236d15711dd4952cb2d2dcce03fa0b3f58b4 /server | |
parent | 7d2b6cafc57f01a4f31a7afc490573fdd42f0032 (diff) | |
download | vaadin-framework-2fa346be939b682e905528c67a531c6a8da9ebff.tar.gz vaadin-framework-2fa346be939b682e905528c67a531c6a8da9ebff.zip |
Added missing numpad key codes (#11490)
Fixes #11489
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/event/ShortcutAction.java | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/event/ShortcutAction.java b/server/src/main/java/com/vaadin/event/ShortcutAction.java index 38c96c8d14..270185e0da 100644 --- a/server/src/main/java/com/vaadin/event/ShortcutAction.java +++ b/server/src/main/java/com/vaadin/event/ShortcutAction.java @@ -385,6 +385,44 @@ public class ShortcutAction extends Action { public static final int NUM9 = 57; public static final int SPACEBAR = 32; + + public static final int NUMPAD0 = 96; + + public static final int NUMPAD1 = 97; + + public static final int NUMPAD2 = 98; + + public static final int NUMPAD3 = 99; + + public static final int NUMPAD4 = 100; + + public static final int NUMPAD5 = 101; + + public static final int NUMPAD6 = 102; + + public static final int NUMPAD7 = 103; + + public static final int NUMPAD8 = 104; + + public static final int NUMPAD9 = 105; + + public static final int NUMPAD_MULTIPLY = 106; + + public static final int NUMPAD_PLUS = 107; + + public static final int NUMPAD_MINUS = 109; + + public static final int NUMPAD_PERIOD = 110; + + public static final int NUMPAD_DIVISION = 111; + + public static final int NUMLOCK = 144; + + public static final int SCROLL_LOCK = 145; + + public static final int CONTEXT_MENU = 93; + + public static final int PAUSE = 19; } /** @@ -399,5 +437,9 @@ public class ShortcutAction extends Action { public static final int ALT = 18; public static final int META = 91; + + public static final int WINDOWS_LEFT = 224; + + public static final int WINDOWS_RIGHT = 92; } } |