Package pyjamas :: Package ui :: Module KeyboardListener
[hide private]
[frames] | no frames]

Module KeyboardListener

source code

Classes [hide private]
  KeyboardHandler
Functions [hide private]
 
getKeyboardModifiers(event) source code
 
fireKeyboardEvent(listeners, sender, event) source code
Variables [hide private]
  KEY_ALT = 18
  KEY_BACKSPACE = 8
  KEY_CTRL = 17
  KEY_DELETE = 46
  KEY_DOWN = 40
  KEY_END = 35
  KEY_ENTER = 13
  KEY_ESCAPE = 27
  KEY_HOME = 36
  KEY_LEFT = 37
  KEY_PAGEDOWN = 34
  KEY_PAGEUP = 33
  KEY_RIGHT = 39
  KEY_SHIFT = 16
  KEY_TAB = 9
  KEY_UP = 38
  KEYS = [KEY_ALT, KEY_BACKSPACE, KEY_CTRL, KEY_DELETE, KEY_DOWN...
  MODIFIER_ALT = 4
  MODIFIER_CTRL = 2
  MODIFIER_SHIFT = 1
  KEYBOARD_EVENTS = ["keydown", "keyup", "keypress"]
Variables Details [hide private]

KEYS

Value:
[KEY_ALT, KEY_BACKSPACE, KEY_CTRL, KEY_DELETE, KEY_DOWN, KEY_END, KEY_\
ENTER, KEY_ESCAPE, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_R\
IGHT, KEY_SHIFT, KEY_TAB, KEY_UP,]