Key (gb.web.gui)
This class return the detail of a keyboard event.
It can only be used during a
KeyPress event handler.
This class is static.
Static properties
Alt
|
Return if the ALT key is pressed.
|
Code
|
Return the code of the pressed key.
|
Control
|
Return if the CTRL key is pressed.
|
Meta
|
Return if the META key is pressed.
|
Normal
|
Return if no special key (SHIFT , CTRL ...) is pressed.
|
Shift
|
Return if the SHIFT key is pressed.
|
Shortcut
|
Return the pressed key with its modifiers a string shorcut.
|
Text
|
Return the text associated with the key.
|