Class Index | File Index

Classes


Class Guacamole.Keyboard.ModifierState


Defined in: Keyboard.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
The state of all supported keyboard modifiers.
Field Summary
Field Attributes Field Name and Description
 
alt
Whether alt is currently pressed.
 
Whether ctrl is currently pressed.
 
Whether hyper (windows key) is currently pressed.
 
Whether meta (apple key) is currently pressed.
 
Whether shift is currently pressed.
Method Summary
Method Attributes Method Name and Description
<static>  
Guacamole.Keyboard.ModifierState.fromKeyboardEvent(e)
Returns the modifier state applicable to the keyboard event given.
Class Detail
Guacamole.Keyboard.ModifierState()
The state of all supported keyboard modifiers.
Field Detail
{Boolean} alt
Whether alt is currently pressed.

{Boolean} ctrl
Whether ctrl is currently pressed.

{Boolean} hyper
Whether hyper (windows key) is currently pressed.

{Boolean} meta
Whether meta (apple key) is currently pressed.

{Boolean} shift
Whether shift is currently pressed.
Method Detail
<static> {Guacamole.Keyboard.ModifierState} Guacamole.Keyboard.ModifierState.fromKeyboardEvent(e)
Returns the modifier state applicable to the keyboard event given.
Parameters:
{KeyboardEvent} e
The keyboard event to read.
Returns:
{Guacamole.Keyboard.ModifierState} The current state of keyboard modifiers.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jun 10 2015 21:35:44 GMT-0700 (PDT)