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: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/keyBinding.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.KeySequence(keys)
Constructs a new key sequence with the given key strokes.
|
Field Attributes | Field Name and Description |
---|---|
the list of key strokes.
|
Method Attributes | Method Name and Description |
---|---|
equals(kb)
Returns whether this key sequence is the same as the given parameter.
|
|
getKeys()
|
|
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.
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