| Package | com.pblabs.engine.core |
| Class | public class InputKey |
| Inheritance | InputKey Enumerable Object |
| Property | Defined By | ||
|---|---|---|---|
| defaultType : Enumerable [override] [read-only] | InputKey | ||
| keyCode : int [read-only]
The key code that this wraps. | InputKey | ||
| staticTypeMap : Dictionary [static] [read-only]
A dictionary mapping the string names of all the keys to the InputKey they represent. | InputKey | ||
| typeMap : Dictionary [override] [read-only] | InputKey | ||
| Method | Defined By | ||
|---|---|---|---|
InputKey(keyCode:int = 0) | InputKey | ||
codeToString(value:int):String [static]
Converts a key code to the string that represents it. | InputKey | ||
![]() | deserialize(xml:XML):*
deserializes the object from xml. | Enumerable | |
![]() | serialize(xml:XML):void
serializes the object to XML. | Enumerable | |
stringToCode(value:String):int [static]
Converts the name of a key to the keycode it represents. | InputKey | ||
stringToKey(value:String):InputKey [static]
Converts the name of a key to the InputKey it represents. | InputKey | ||
| Constant | Defined By | ||
|---|---|---|---|
| A : InputKey [static] | InputKey | ||
| ADD : InputKey [static] | InputKey | ||
| ALT : InputKey [static] | InputKey | ||
| B : InputKey [static] | InputKey | ||
| BACKSLASH : InputKey [static] | InputKey | ||
| BACKSPACE : InputKey [static] | InputKey | ||
| C : InputKey [static] | InputKey | ||
| CAPS_LOCK : InputKey [static] | InputKey | ||
| COLON : InputKey [static] | InputKey | ||
| COMMA : InputKey [static] | InputKey | ||
| COMMAND : InputKey [static] | InputKey | ||
| CONTROL : InputKey [static] | InputKey | ||
| D : InputKey [static] | InputKey | ||
| DECIMAL : InputKey [static] | InputKey | ||
| DELETE : InputKey [static] | InputKey | ||
| DIVIDE : InputKey [static] | InputKey | ||
| DOWN : InputKey [static] | InputKey | ||
| E : InputKey [static] | InputKey | ||
| EIGHT : InputKey [static] | InputKey | ||
| END : InputKey [static] | InputKey | ||
| ENTER : InputKey [static] | InputKey | ||
| ESCAPE : InputKey [static] | InputKey | ||
| F : InputKey [static] | InputKey | ||
| F1 : InputKey [static] | InputKey | ||
| F11 : InputKey [static] | InputKey | ||
| F12 : InputKey [static] | InputKey | ||
| F2 : InputKey [static] | InputKey | ||
| F3 : InputKey [static] | InputKey | ||
| F4 : InputKey [static] | InputKey | ||
| F5 : InputKey [static] | InputKey | ||
| F6 : InputKey [static] | InputKey | ||
| F7 : InputKey [static] | InputKey | ||
| F8 : InputKey [static] | InputKey | ||
| F9 : InputKey [static] | InputKey | ||
| FIVE : InputKey [static] | InputKey | ||
| FOUR : InputKey [static] | InputKey | ||
| G : InputKey [static] | InputKey | ||
| H : InputKey [static] | InputKey | ||
| HOME : InputKey [static] | InputKey | ||
| I : InputKey [static] | InputKey | ||
| INSERT : InputKey [static] | InputKey | ||
| INVALID : InputKey [static] | InputKey | ||
| J : InputKey [static] | InputKey | ||
| K : InputKey [static] | InputKey | ||
| L : InputKey [static] | InputKey | ||
| LEFT : InputKey [static] | InputKey | ||
| LEFT_BRACKET : InputKey [static] | InputKey | ||
| M : InputKey [static] | InputKey | ||
| MINUS : InputKey [static] | InputKey | ||
| MOUSE_BUTTON : InputKey [static] | InputKey | ||
| MOUSE_HOVER : InputKey [static] | InputKey | ||
| MOUSE_WHEEL : InputKey [static] | InputKey | ||
| MOUSE_X : InputKey [static] | InputKey | ||
| MOUSE_Y : InputKey [static] | InputKey | ||
| MULTIPLY : InputKey [static] | InputKey | ||
| N : InputKey [static] | InputKey | ||
| NINE : InputKey [static] | InputKey | ||
| NUM0 : InputKey [static] | InputKey | ||
| NUM1 : InputKey [static] | InputKey | ||
| NUM2 : InputKey [static] | InputKey | ||
| NUM3 : InputKey [static] | InputKey | ||
| NUM4 : InputKey [static] | InputKey | ||
| NUM5 : InputKey [static] | InputKey | ||
| NUM6 : InputKey [static] | InputKey | ||
| NUM7 : InputKey [static] | InputKey | ||
| NUM8 : InputKey [static] | InputKey | ||
| NUM9 : InputKey [static] | InputKey | ||
| NUMENTER : InputKey [static] | InputKey | ||
| NUM_LOCK : InputKey [static] | InputKey | ||
| O : InputKey [static] | InputKey | ||
| ONE : InputKey [static] | InputKey | ||
| P : InputKey [static] | InputKey | ||
| PAGE_DOWN : InputKey [static] | InputKey | ||
| PAGE_UP : InputKey [static] | InputKey | ||
| PAUSE : InputKey [static] | InputKey | ||
| PERIOD : InputKey [static] | InputKey | ||
| PLUS : InputKey [static] | InputKey | ||
| Q : InputKey [static] | InputKey | ||
| QUOTE : InputKey [static] | InputKey | ||
| R : InputKey [static] | InputKey | ||
| RIGHT : InputKey [static] | InputKey | ||
| RIGHT_BRACKET : InputKey [static] | InputKey | ||
| S : InputKey [static] | InputKey | ||
| SCROLL_LOCK : InputKey [static] | InputKey | ||
| SEVEN : InputKey [static] | InputKey | ||
| SHIFT : InputKey [static] | InputKey | ||
| SIX : InputKey [static] | InputKey | ||
| SLASH : InputKey [static] | InputKey | ||
| SPACE : InputKey [static] | InputKey | ||
| SUBTRACT : InputKey [static] | InputKey | ||
| T : InputKey [static] | InputKey | ||
| TAB : InputKey [static] | InputKey | ||
| THREE : InputKey [static] | InputKey | ||
| TILDE : InputKey [static] | InputKey | ||
| TWO : InputKey [static] | InputKey | ||
| U : InputKey [static] | InputKey | ||
| UP : InputKey [static] | InputKey | ||
| V : InputKey [static] | InputKey | ||
| W : InputKey [static] | InputKey | ||
| X : InputKey [static] | InputKey | ||
| Y : InputKey [static] | InputKey | ||
| Z : InputKey [static] | InputKey | ||
| ZERO : InputKey [static] | InputKey | ||
| defaultType | property |
defaultType:Enumerable [read-only] [override] public function get defaultType():Enumerable| keyCode | property |
keyCode:int [read-only] The key code that this wraps.
public function get keyCode():int| staticTypeMap | property |
staticTypeMap:Dictionary [read-only] A dictionary mapping the string names of all the keys to the InputKey they represent.
public static function get staticTypeMap():Dictionary| typeMap | property |
typeMap:Dictionary [read-only] [override] public function get typeMap():Dictionary| InputKey | () | Constructor |
public function InputKey(keyCode:int = 0)keyCode:int (default = 0) |
| codeToString | () | method |
public static function codeToString(value:int):StringConverts a key code to the string that represents it.
Parameters
value:int |
String |
| stringToCode | () | method |
public static function stringToCode(value:String):intConverts the name of a key to the keycode it represents.
Parameters
value:String |
int |
| stringToKey | () | method |
public static function stringToKey(value:String):InputKeyConverts the name of a key to the InputKey it represents.
Parameters
value:String |
InputKey |
| A | Constant |
public static const A:InputKey| ADD | Constant |
public static const ADD:InputKey| ALT | Constant |
public static const ALT:InputKey| B | Constant |
public static const B:InputKey| BACKSLASH | Constant |
public static const BACKSLASH:InputKey| BACKSPACE | Constant |
public static const BACKSPACE:InputKey| C | Constant |
public static const C:InputKey| CAPS_LOCK | Constant |
public static const CAPS_LOCK:InputKey| COLON | Constant |
public static const COLON:InputKey| COMMA | Constant |
public static const COMMA:InputKey| COMMAND | Constant |
public static const COMMAND:InputKey| CONTROL | Constant |
public static const CONTROL:InputKey| D | Constant |
public static const D:InputKey| DECIMAL | Constant |
public static const DECIMAL:InputKey| DELETE | Constant |
public static const DELETE:InputKey| DIVIDE | Constant |
public static const DIVIDE:InputKey| DOWN | Constant |
public static const DOWN:InputKey| E | Constant |
public static const E:InputKey| EIGHT | Constant |
public static const EIGHT:InputKey| END | Constant |
public static const END:InputKey| ENTER | Constant |
public static const ENTER:InputKey| ESCAPE | Constant |
public static const ESCAPE:InputKey| F | Constant |
public static const F:InputKey| F1 | Constant |
public static const F1:InputKey| F11 | Constant |
public static const F11:InputKey| F12 | Constant |
public static const F12:InputKey| F2 | Constant |
public static const F2:InputKey| F3 | Constant |
public static const F3:InputKey| F4 | Constant |
public static const F4:InputKey| F5 | Constant |
public static const F5:InputKey| F6 | Constant |
public static const F6:InputKey| F7 | Constant |
public static const F7:InputKey| F8 | Constant |
public static const F8:InputKey| F9 | Constant |
public static const F9:InputKey| FIVE | Constant |
public static const FIVE:InputKey| FOUR | Constant |
public static const FOUR:InputKey| G | Constant |
public static const G:InputKey| H | Constant |
public static const H:InputKey| HOME | Constant |
public static const HOME:InputKey| I | Constant |
public static const I:InputKey| INSERT | Constant |
public static const INSERT:InputKey| INVALID | Constant |
public static const INVALID:InputKey| J | Constant |
public static const J:InputKey| K | Constant |
public static const K:InputKey| L | Constant |
public static const L:InputKey| LEFT | Constant |
public static const LEFT:InputKey| LEFT_BRACKET | Constant |
public static const LEFT_BRACKET:InputKey| M | Constant |
public static const M:InputKey| MINUS | Constant |
public static const MINUS:InputKey| MOUSE_BUTTON | Constant |
public static const MOUSE_BUTTON:InputKey| MOUSE_HOVER | Constant |
public static const MOUSE_HOVER:InputKey| MOUSE_WHEEL | Constant |
public static const MOUSE_WHEEL:InputKey| MOUSE_X | Constant |
public static const MOUSE_X:InputKey| MOUSE_Y | Constant |
public static const MOUSE_Y:InputKey| MULTIPLY | Constant |
public static const MULTIPLY:InputKey| N | Constant |
public static const N:InputKey| NINE | Constant |
public static const NINE:InputKey| NUM_LOCK | Constant |
public static const NUM_LOCK:InputKey| NUM0 | Constant |
public static const NUM0:InputKey| NUM1 | Constant |
public static const NUM1:InputKey| NUM2 | Constant |
public static const NUM2:InputKey| NUM3 | Constant |
public static const NUM3:InputKey| NUM4 | Constant |
public static const NUM4:InputKey| NUM5 | Constant |
public static const NUM5:InputKey| NUM6 | Constant |
public static const NUM6:InputKey| NUM7 | Constant |
public static const NUM7:InputKey| NUM8 | Constant |
public static const NUM8:InputKey| NUM9 | Constant |
public static const NUM9:InputKey| NUMENTER | Constant |
public static const NUMENTER:InputKey| O | Constant |
public static const O:InputKey| ONE | Constant |
public static const ONE:InputKey| P | Constant |
public static const P:InputKey| PAGE_DOWN | Constant |
public static const PAGE_DOWN:InputKey| PAGE_UP | Constant |
public static const PAGE_UP:InputKey| PAUSE | Constant |
public static const PAUSE:InputKey| PERIOD | Constant |
public static const PERIOD:InputKey| PLUS | Constant |
public static const PLUS:InputKey| Q | Constant |
public static const Q:InputKey| QUOTE | Constant |
public static const QUOTE:InputKey| R | Constant |
public static const R:InputKey| RIGHT | Constant |
public static const RIGHT:InputKey| RIGHT_BRACKET | Constant |
public static const RIGHT_BRACKET:InputKey| S | Constant |
public static const S:InputKey| SCROLL_LOCK | Constant |
public static const SCROLL_LOCK:InputKey| SEVEN | Constant |
public static const SEVEN:InputKey| SHIFT | Constant |
public static const SHIFT:InputKey| SIX | Constant |
public static const SIX:InputKey| SLASH | Constant |
public static const SLASH:InputKey| SPACE | Constant |
public static const SPACE:InputKey| SUBTRACT | Constant |
public static const SUBTRACT:InputKey| T | Constant |
public static const T:InputKey| TAB | Constant |
public static const TAB:InputKey| THREE | Constant |
public static const THREE:InputKey| TILDE | Constant |
public static const TILDE:InputKey| TWO | Constant |
public static const TWO:InputKey| U | Constant |
public static const U:InputKey| UP | Constant |
public static const UP:InputKey| V | Constant |
public static const V:InputKey| W | Constant |
public static const W:InputKey| X | Constant |
public static const X:InputKey| Y | Constant |
public static const Y:InputKey| Z | Constant |
public static const Z:InputKey| ZERO | Constant |
public static const ZERO:InputKey