X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.KeyMap.html?ds=inline diff --git a/docs/output/Ext.KeyMap.html b/docs/output/Ext.KeyMap.html index 37dc8cc8..330605c8 100644 --- a/docs/output/Ext.KeyMap.html +++ b/docs/output/Ext.KeyMap.html @@ -1,4 +1,4 @@ -
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. +

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 @@ -78,6 +78,6 @@ map.addBinding({ : void
Shorthand for adding a single key listener
Shorthand for adding a single key listener
Parameters:
  • key : Number/Array/Object
    Either the numeric key code, array of key codes or an object with the following options: -{key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}
  • fn : Function
    The function to call
  • scope : Object
    (optional) The scope of the function
Returns:
  • void
KeyMap setDisabledBoolean disabled ) +{key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}
  • fn : Function
    The function to call
  • scope : Object
    (optional) The scope (this reference) in which the function is executed. Defaults to the browser window.
  • Returns:
    • void
    KeyMap setDisabledBoolean disabled ) : void
    Convenience function for setting disabled/enabled by boolean.
    Convenience function for setting disabled/enabled by boolean.
    Parameters:
    • disabled : Boolean
    Returns:
    • void
    KeyMap

    Public Events

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