X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/KeyMap.html diff --git a/docs/source/KeyMap.html b/docs/source/KeyMap.html index 93c9d07d..56085283 100644 --- a/docs/source/KeyMap.html +++ b/docs/source/KeyMap.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.util.KeyMap
  * 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 {@link #addBinding}.
@@ -63,7 +80,7 @@ Ext.define('Ext.util.KeyMap', {
     
     eventName: 'keydown',
 
-    /**
+    /**
      * Add a new binding to this KeyMap. The following config object properties are supported:
      * <pre>
 Property            Type             Description
@@ -140,7 +157,7 @@ map.addBinding({
         }, binding));
     },
     
-    /**
+    /**
      * Process any keydown events on the element
      * @private
      * @param {Ext.EventObject} event
@@ -158,7 +175,7 @@ map.addBinding({
         }
     },
     
-    /**
+    /**
      * Ugly hack to allow this class to be tested. Currently WebKit gives
      * no way to raise a key event properly with both
      * a) A keycode
@@ -172,7 +189,7 @@ map.addBinding({
         return event;
     },
     
-    /**
+    /**
      * Process a particular binding and fire the handler if necessary.
      * @private
      * @param {Object} binding The binding information
@@ -201,7 +218,7 @@ map.addBinding({
         }
     },
     
-    /**
+    /**
      * Check if the modifiers on the event match those on the binding
      * @private
      * @param {Object} binding
@@ -224,7 +241,7 @@ map.addBinding({
         return true;
     },
 
-    /**
+    /**
      * Shorthand for adding a single key listener
      * @param {Number/Array/Object} key Either the numeric key code, array of key codes or an object with the
      * following options:
@@ -252,7 +269,7 @@ map.addBinding({
         });
     },
 
-    /**
+    /**
      * Returns true if this KeyMap is enabled
      * @return {Boolean}
      */
@@ -260,7 +277,7 @@ map.addBinding({
         return this.enabled;
     },
 
-    /**
+    /**
      * Enables this KeyMap
      */
     enable: function(){
@@ -270,7 +287,7 @@ map.addBinding({
         }
     },
 
-    /**
+    /**
      * Disable this KeyMap
      */
     disable: function(){
@@ -280,7 +297,7 @@ map.addBinding({
         }
     },
 
-    /**
+    /**
      * Convenience function for setting disabled/enabled by boolean.
      * @param {Boolean} disabled
      */
@@ -292,7 +309,7 @@ map.addBinding({
         }
     },
     
-    /**
+    /**
      * Destroys the KeyMap instance and removes all handlers.
      * @param {Boolean} removeEl True to also remove the attached element
      */
@@ -306,4 +323,6 @@ map.addBinding({
         }
         delete me.el;
     }
-});
\ No newline at end of file +});
+ +