| Package | net.flashpunk.utils |
| Class | public class Key |
| Inheritance | Key Object |
| Method | Defined By | ||
|---|---|---|---|
name(char:int):String [static]
Returns the name of the key. | Key | ||
| Constant | Defined By | ||
|---|---|---|---|
| A : int = 65 [static] | Key | ||
| ANY : int = -1 [static] | Key | ||
| B : int = 66 [static] | Key | ||
| BACKSPACE : int = 8 [static] | Key | ||
| C : int = 67 [static] | Key | ||
| CAPS_LOCK : int = 20 [static] | Key | ||
| COMMAND : int = 15 [static] | Key | ||
| CONTROL : int = 17 [static] | Key | ||
| D : int = 68 [static] | Key | ||
| DELETE : int = 46 [static] | Key | ||
| DIGIT_0 : int = 48 [static] | Key | ||
| DIGIT_1 : int = 49 [static] | Key | ||
| DIGIT_2 : int = 50 [static] | Key | ||
| DIGIT_3 : int = 51 [static] | Key | ||
| DIGIT_4 : int = 52 [static] | Key | ||
| DIGIT_5 : int = 53 [static] | Key | ||
| DIGIT_6 : int = 54 [static] | Key | ||
| DIGIT_7 : int = 55 [static] | Key | ||
| DIGIT_8 : int = 56 [static] | Key | ||
| DIGIT_9 : int = 57 [static] | Key | ||
| DOWN : int = 40 [static] | Key | ||
| E : int = 69 [static] | Key | ||
| END : int = 35 [static] | Key | ||
| ENTER : int = 13 [static] | Key | ||
| ESCAPE : int = 27 [static] | Key | ||
| F : int = 70 [static] | Key | ||
| F1 : int = 112 [static] | Key | ||
| F10 : int = 121 [static] | Key | ||
| F11 : int = 122 [static] | Key | ||
| F12 : int = 123 [static] | Key | ||
| F13 : int = 124 [static] | Key | ||
| F14 : int = 125 [static] | Key | ||
| F15 : int = 126 [static] | Key | ||
| F2 : int = 113 [static] | Key | ||
| F3 : int = 114 [static] | Key | ||
| F4 : int = 115 [static] | Key | ||
| F5 : int = 116 [static] | Key | ||
| F6 : int = 117 [static] | Key | ||
| F7 : int = 118 [static] | Key | ||
| F8 : int = 119 [static] | Key | ||
| F9 : int = 120 [static] | Key | ||
| G : int = 71 [static] | Key | ||
| H : int = 72 [static] | Key | ||
| HOME : int = 36 [static] | Key | ||
| I : int = 73 [static] | Key | ||
| INSERT : int = 45 [static] | Key | ||
| J : int = 74 [static] | Key | ||
| K : int = 75 [static] | Key | ||
| L : int = 76 [static] | Key | ||
| LEFT : int = 37 [static] | Key | ||
| LEFT_SQUARE_BRACKET : int = 219 [static] | Key | ||
| M : int = 77 [static] | Key | ||
| N : int = 78 [static] | Key | ||
| NUMPAD_0 : int = 96 [static] | Key | ||
| NUMPAD_1 : int = 97 [static] | Key | ||
| NUMPAD_2 : int = 98 [static] | Key | ||
| NUMPAD_3 : int = 99 [static] | Key | ||
| NUMPAD_4 : int = 100 [static] | Key | ||
| NUMPAD_5 : int = 101 [static] | Key | ||
| NUMPAD_6 : int = 102 [static] | Key | ||
| NUMPAD_7 : int = 103 [static] | Key | ||
| NUMPAD_8 : int = 104 [static] | Key | ||
| NUMPAD_9 : int = 105 [static] | Key | ||
| NUMPAD_ADD : int = 107 [static] | Key | ||
| NUMPAD_DECIMAL : int = 110 [static] | Key | ||
| NUMPAD_DIVIDE : int = 111 [static] | Key | ||
| NUMPAD_ENTER : int = 108 [static] | Key | ||
| NUMPAD_MULTIPLY : int = 106 [static] | Key | ||
| NUMPAD_SUBTRACT : int = 109 [static] | Key | ||
| O : int = 79 [static] | Key | ||
| P : int = 80 [static] | Key | ||
| PAGE_DOWN : int = 34 [static] | Key | ||
| PAGE_UP : int = 33 [static] | Key | ||
| Q : int = 81 [static] | Key | ||
| R : int = 82 [static] | Key | ||
| RIGHT : int = 39 [static] | Key | ||
| RIGHT_SQUARE_BRACKET : int = 221 [static] | Key | ||
| S : int = 83 [static] | Key | ||
| SHIFT : int = 16 [static] | Key | ||
| SPACE : int = 32 [static] | Key | ||
| T : int = 84 [static] | Key | ||
| TAB : int = 9 [static] | Key | ||
| U : int = 85 [static] | Key | ||
| UP : int = 38 [static] | Key | ||
| V : int = 86 [static] | Key | ||
| W : int = 87 [static] | Key | ||
| X : int = 88 [static] | Key | ||
| Y : int = 89 [static] | Key | ||
| Z : int = 90 [static] | Key | ||
| name | () | method |
public static function name(char:int):StringReturns the name of the key.
Parameters
char:int — The key to name.
|
String — The name.
|
| A | Constant |
public static const A:int = 65| ANY | Constant |
public static const ANY:int = -1| B | Constant |
public static const B:int = 66| BACKSPACE | Constant |
public static const BACKSPACE:int = 8| C | Constant |
public static const C:int = 67| CAPS_LOCK | Constant |
public static const CAPS_LOCK:int = 20| COMMAND | Constant |
public static const COMMAND:int = 15| CONTROL | Constant |
public static const CONTROL:int = 17| D | Constant |
public static const D:int = 68| DELETE | Constant |
public static const DELETE:int = 46| DIGIT_0 | Constant |
public static const DIGIT_0:int = 48| DIGIT_1 | Constant |
public static const DIGIT_1:int = 49| DIGIT_2 | Constant |
public static const DIGIT_2:int = 50| DIGIT_3 | Constant |
public static const DIGIT_3:int = 51| DIGIT_4 | Constant |
public static const DIGIT_4:int = 52| DIGIT_5 | Constant |
public static const DIGIT_5:int = 53| DIGIT_6 | Constant |
public static const DIGIT_6:int = 54| DIGIT_7 | Constant |
public static const DIGIT_7:int = 55| DIGIT_8 | Constant |
public static const DIGIT_8:int = 56| DIGIT_9 | Constant |
public static const DIGIT_9:int = 57| DOWN | Constant |
public static const DOWN:int = 40| E | Constant |
public static const E:int = 69| END | Constant |
public static const END:int = 35| ENTER | Constant |
public static const ENTER:int = 13| ESCAPE | Constant |
public static const ESCAPE:int = 27| F | Constant |
public static const F:int = 70| F1 | Constant |
public static const F1:int = 112| F10 | Constant |
public static const F10:int = 121| F11 | Constant |
public static const F11:int = 122| F12 | Constant |
public static const F12:int = 123| F13 | Constant |
public static const F13:int = 124| F14 | Constant |
public static const F14:int = 125| F15 | Constant |
public static const F15:int = 126| F2 | Constant |
public static const F2:int = 113| F3 | Constant |
public static const F3:int = 114| F4 | Constant |
public static const F4:int = 115| F5 | Constant |
public static const F5:int = 116| F6 | Constant |
public static const F6:int = 117| F7 | Constant |
public static const F7:int = 118| F8 | Constant |
public static const F8:int = 119| F9 | Constant |
public static const F9:int = 120| G | Constant |
public static const G:int = 71| H | Constant |
public static const H:int = 72| HOME | Constant |
public static const HOME:int = 36| I | Constant |
public static const I:int = 73| INSERT | Constant |
public static const INSERT:int = 45| J | Constant |
public static const J:int = 74| K | Constant |
public static const K:int = 75| L | Constant |
public static const L:int = 76| LEFT | Constant |
public static const LEFT:int = 37| LEFT_SQUARE_BRACKET | Constant |
public static const LEFT_SQUARE_BRACKET:int = 219| M | Constant |
public static const M:int = 77| N | Constant |
public static const N:int = 78| NUMPAD_0 | Constant |
public static const NUMPAD_0:int = 96| NUMPAD_1 | Constant |
public static const NUMPAD_1:int = 97| NUMPAD_2 | Constant |
public static const NUMPAD_2:int = 98| NUMPAD_3 | Constant |
public static const NUMPAD_3:int = 99| NUMPAD_4 | Constant |
public static const NUMPAD_4:int = 100| NUMPAD_5 | Constant |
public static const NUMPAD_5:int = 101| NUMPAD_6 | Constant |
public static const NUMPAD_6:int = 102| NUMPAD_7 | Constant |
public static const NUMPAD_7:int = 103| NUMPAD_8 | Constant |
public static const NUMPAD_8:int = 104| NUMPAD_9 | Constant |
public static const NUMPAD_9:int = 105| NUMPAD_ADD | Constant |
public static const NUMPAD_ADD:int = 107| NUMPAD_DECIMAL | Constant |
public static const NUMPAD_DECIMAL:int = 110| NUMPAD_DIVIDE | Constant |
public static const NUMPAD_DIVIDE:int = 111| NUMPAD_ENTER | Constant |
public static const NUMPAD_ENTER:int = 108| NUMPAD_MULTIPLY | Constant |
public static const NUMPAD_MULTIPLY:int = 106| NUMPAD_SUBTRACT | Constant |
public static const NUMPAD_SUBTRACT:int = 109| O | Constant |
public static const O:int = 79| P | Constant |
public static const P:int = 80| PAGE_DOWN | Constant |
public static const PAGE_DOWN:int = 34| PAGE_UP | Constant |
public static const PAGE_UP:int = 33| Q | Constant |
public static const Q:int = 81| R | Constant |
public static const R:int = 82| RIGHT | Constant |
public static const RIGHT:int = 39| RIGHT_SQUARE_BRACKET | Constant |
public static const RIGHT_SQUARE_BRACKET:int = 221| S | Constant |
public static const S:int = 83| SHIFT | Constant |
public static const SHIFT:int = 16| SPACE | Constant |
public static const SPACE:int = 32| T | Constant |
public static const T:int = 84| TAB | Constant |
public static const TAB:int = 9| U | Constant |
public static const U:int = 85| UP | Constant |
public static const UP:int = 38| V | Constant |
public static const V:int = 86| W | Constant |
public static const W:int = 87| X | Constant |
public static const X:int = 88| Y | Constant |
public static const Y:int = 89| Z | Constant |
public static const Z:int = 90