AbstractKeyMapping

AbstractKeyMapping ⇐ Class

Kind: global abstract class
Extends: Class
Singleton:

AbstractKeyMapping()

This class defines the key mapping constants. It defines all standard key names and application key handler/listener.

getKeyByCode(keyCode) ⇒ Key

Get key by keycode.

Kind: instance method of AbstractKeyMapping
Returns: Key - a key

ParamType
keyCodestring

getKeyByEvent(event) ⇒ Key

Get key by native event.

Kind: instance method of AbstractKeyMapping
Returns: Key - a key

ParamType
eventObject

_getKeyMapping()

Return the mapping of the keys

Kind: instance method of AbstractKeyMapping