X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/KeyNav2.html diff --git a/docs/source/KeyNav2.html b/docs/source/KeyNav2.html index e0392677..36878978 100644 --- a/docs/source/KeyNav2.html +++ b/docs/source/KeyNav2.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.util.KeyNav
* <p>Provides a convenient wrapper for normalized keyboard navigation. KeyNav allows you to bind
* navigation keys to function calls that will get called when the keys are pressed, providing an easy
@@ -52,7 +69,7 @@ Ext.define('Ext.util.KeyNav', {
this.setConfig(el, config || {});
},
- /**
+ /**
* Sets up a configuration for the KeyNav.
* @private
* @param {Mixed} el The element to bind to
@@ -88,7 +105,7 @@ Ext.define('Ext.util.KeyNav', {
}
},
- /**
+ /**
* Method for filtering out the map argument
* @private
* @param {Ext.util.KeyMap} map
@@ -99,13 +116,13 @@ Ext.define('Ext.util.KeyNav', {
return handler.call(this, event);
},
- /**
+ /**
* @cfg {Boolean} disabled
* True to disable this KeyNav instance (defaults to false)
*/
disabled: false,
- /**
+ /**
* @cfg {String} defaultEventAction
* The method to call on the {@link Ext.EventObject} after this KeyNav intercepts a key. Valid values are
* {@link Ext.EventObject#stopEvent}, {@link Ext.EventObject#preventDefault} and
@@ -113,7 +130,7 @@ Ext.define('Ext.util.KeyNav', {
*/
defaultEventAction: "stopEvent",
- /**
+ /**
* @cfg {Boolean} forceKeyDown
* Handle the keydown event instead of keypress (defaults to false). KeyNav automatically does this for IE since
* IE does not propagate special keys on keypress, but setting this to true will force other browsers to also
@@ -121,7 +138,7 @@ Ext.define('Ext.util.KeyNav', {
*/
forceKeyDown: false,
- /**
+ /**
* Destroy this KeyNav (this is the same as calling disable).
* @param {Boolean} removeEl True to remove the element associated with this KeyNav.
*/
@@ -130,7 +147,7 @@ Ext.define('Ext.util.KeyNav', {
delete this.map;
},
- /**
+ /**
* Enable this KeyNav
*/
enable: function() {
@@ -138,7 +155,7 @@ Ext.define('Ext.util.KeyNav', {
this.disabled = false;
},
- /**
+ /**
* Disable this KeyNav
*/
disable: function() {
@@ -146,7 +163,7 @@ Ext.define('Ext.util.KeyNav', {
this.disabled = true;
},
- /**
+ /**
* Convenience function for setting disabled/enabled by boolean.
* @param {Boolean} disabled
*/
@@ -155,7 +172,7 @@ Ext.define('Ext.util.KeyNav', {
this.disabled = disabled;
},
- /**
+ /**
* Determines the event to bind to listen for keys. Depends on the {@link #forceKeyDown} setting,
* as well as the useKeyDown option on the EventManager.
* @return {String} The type of event to listen for.
@@ -164,4 +181,6 @@ Ext.define('Ext.util.KeyNav', {
return (forceKeyDown || Ext.EventManager.useKeyDown) ? 'keydown' : 'keypress';
}
});
-
\ No newline at end of file
+
+
+