X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/docs/output/Ext.KeyMap.html diff --git a/docs/output/Ext.KeyMap.html b/docs/output/Ext.KeyMap.html index b1f0f54b..b0edc7ab 100644 --- a/docs/output/Ext.KeyMap.html +++ b/docs/output/Ext.KeyMap.html @@ -1,26 +1,10 @@ -
-
- Properties - Methods - Events - Direct Link -
-

Class Ext.KeyMap

- - - - - -
Package:Ext
Defined In:KeyMap.js
Class:KeyMap
Extends:Object
-
- * -Handles mapping keys to actions for an element. One key map can be used for multiple actions. -The constructor accepts the same config object as defined by addBinding. +

Class Ext.KeyMap

Package:Ext
Defined In:KeyMap.js
Class:KeyMap
Extends:Object
Handles mapping keys to actions for an element. One key map can be used for multiple actions. +The constructor accepts the same config object as defined by addBinding. If you bind a callback function to a KeyMap, anytime the KeyMap handles an expected key combination it will call the function with this signature (if the match is a multi-key combination the callback will still be called only once): (String key, Ext.EventObject e) A KeyMap can also handle a string representation of keys.
-Usage: +Usage:
// map one key by key code
 var map = new Ext.KeyMap("my-element", {
     key: 13, // or Ext.EventObject.ENTER
@@ -50,83 +34,32 @@ Usage:
         fn: function(){ alert('Control + shift + tab was pressed.'); }
     }
 ]);
-Note: A KeyMap starts enabled
- -
- -

Public Properties

- - - - - - - - - - -
PropertyDefined By
- -

Public Methods

- - - - - - - - - - - - -
MethodDefined By

Public Events

This class has no public events.
\ No newline at end of file