Class Index | File Index

Classes


Class orion.KeySequence

A KeySequence represents of a list of key codes and a modifiers state that can be triggered by the user using the keyboard.
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.core/web/orion/keyBinding.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new key sequence with the given key strokes.
Field Summary
Field Attributes Field Name and Description
 
the list of key strokes.
Method Summary
Method Attributes Method Name and Description
 
equals(kb)
Returns whether this key sequence is the same as the given parameter.
 
 
match(e, index)
Class Detail
orion.KeySequence(keys)
Constructs a new key sequence with the given key strokes.
Parameters:
{orion.KeyStroke[]} keys
the key strokes for this sequence.
See:
orion.editor.TextView#setKeyBinding
Field Detail
{orion.KeyStroke[]} keys
the list of key strokes.
Method Detail
{Boolean} equals(kb)
Returns whether this key sequence is the same as the given parameter.
Parameters:
{orion.KeyBinding|orion.KeySequence} kb
the key binding to compare with.
Returns:
{Boolean} whether or not the parameter and the receiver describe the same key binding.

getKeys()

match(e, index)
Parameters:
e
index

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 18 2017 12:15:12 GMT-0500 (EST)