X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Item.html diff --git a/docs/source/Item.html b/docs/source/Item.html index 3625bc3a..a5c57aa5 100644 --- a/docs/source/Item.html +++ b/docs/source/Item.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.menu.Item
  * @extends Ext.Component
 
@@ -32,12 +49,12 @@ Ext.define('Ext.menu.Item', {
     alias: 'widget.menuitem',
     alternateClassName: 'Ext.menu.TextItem',
     
-    /**
+    /**
      * @property {Boolean} activated
      * Whether or not this item is currently activated
      */
 
-    /**
+    /**
      * @cfg {String} activeCls
      * The CSS class added to the menu item when the item is activated (focused/mouseover).
      * Defaults to `Ext.baseCSSPrefix + 'menu-item-active'`.
@@ -45,19 +62,19 @@ Ext.define('Ext.menu.Item', {
      */
     activeCls: Ext.baseCSSPrefix + 'menu-item-active',
     
-    /**
+    /**
      * @cfg {String} ariaRole @hide
      */
     ariaRole: 'menuitem',
     
-    /**
+    /**
      * @cfg {Boolean} canActivate
      * Whether or not this menu item can be activated when focused/mouseovered. Defaults to `true`.
      * @markdown
      */
     canActivate: true,
     
-    /**
+    /**
      * @cfg {Number} clickHideDelay
      * The delay in milliseconds to wait before hiding the menu after clicking the menu item.
      * This only has an effect when `hideOnClick: true`. Defaults to `1`.
@@ -65,13 +82,13 @@ Ext.define('Ext.menu.Item', {
      */
     clickHideDelay: 1,
     
-    /**
+    /**
      * @cfg {Boolean} destroyMenu
      * Whether or not to destroy any associated sub-menu when this item is destroyed. Defaults to `true`.
      */
     destroyMenu: true,
     
-    /**
+    /**
      * @cfg {String} disabledCls
      * The CSS class added to the menu item when the item is disabled.
      * Defaults to `Ext.baseCSSPrefix + 'menu-item-disabled'`.
@@ -79,32 +96,32 @@ Ext.define('Ext.menu.Item', {
      */
     disabledCls: Ext.baseCSSPrefix + 'menu-item-disabled',
     
-    /**
+    /**
      * @cfg {String} href
      * The href attribute to use for the underlying anchor link. Defaults to `#`.
      * @markdown
      */
      
-     /**
+     /**
       * @cfg {String} hrefTarget
       * The target attribute to use for the underlying anchor link. Defaults to `undefined`.
       * @markdown
       */
     
-    /**
+    /**
      * @cfg {Boolean} hideOnClick
      * Whether to not to hide the owning menu when this item is clicked. Defaults to `true`.
      * @markdown
      */
     hideOnClick: true,
     
-    /**
+    /**
      * @cfg {String} icon
      * The path to an icon to display in this item. Defaults to `Ext.BLANK_IMAGE_URL`.
      * @markdown
      */
      
-    /**
+    /**
      * @cfg {String} iconCls
      * A CSS class that specifies a `background-image` to use as the icon for this item. Defaults to `undefined`.
      * @markdown
@@ -112,7 +129,7 @@ Ext.define('Ext.menu.Item', {
     
     isMenuItem: true,
     
-    /**
+    /**
      * @cfg {Mixed} menu
      * Either an instance of {@link Ext.menu.Menu} or a config object for an {@link Ext.menu.Menu}
      * which will act as a sub-menu to this item.
@@ -120,7 +137,7 @@ Ext.define('Ext.menu.Item', {
      * @property {Ext.menu.Menu} menu The sub-menu associated with this item, if one was configured.
      */
     
-    /**
+    /**
      * @cfg {String} menuAlign
      * The default {@link Ext.core.Element#getAlignToXY Ext.Element.getAlignToXY} anchor position value for this
      * item's sub-menu relative to this item's position. Defaults to `'tl-tr?'`.
@@ -128,21 +145,21 @@ Ext.define('Ext.menu.Item', {
      */
     menuAlign: 'tl-tr?',
     
-    /**
+    /**
      * @cfg {Number} menuExpandDelay
      * The delay in milliseconds before this item's sub-menu expands after this item is moused over. Defaults to `200`.
      * @markdown
      */
     menuExpandDelay: 200,
     
-    /**
+    /**
      * @cfg {Number} menuHideDelay
      * The delay in milliseconds before this item's sub-menu hides after this item is moused out. Defaults to `200`.
      * @markdown
      */
     menuHideDelay: 200,
     
-    /**
+    /**
      * @cfg {Boolean} plain
      * Whether or not this item is plain text/html with no icon or visual activation. Defaults to `false`.
      * @markdown
@@ -165,7 +182,7 @@ Ext.define('Ext.menu.Item', {
     
     maskOnDisable: false,
     
-    /**
+    /**
      * @cfg {String} text
      * The text/html to display in this item. Defaults to `undefined`.
      * @markdown
@@ -264,14 +281,14 @@ Ext.define('Ext.menu.Item', {
             cls = [prefix + 'menu-item'];
         
         me.addEvents(
-            /**
+            /**
              * @event activate
              * Fires when this item is activated
              * @param {Ext.menu.Item} item The activated item
              */
             'activate',
             
-            /**
+            /**
              * @event click
              * Fires when this item is clicked
              * @param {Ext.menu.Item} item The item that was clicked
@@ -279,7 +296,7 @@ Ext.define('Ext.menu.Item', {
              */
             'click',
             
-            /**
+            /**
              * @event deactivate
              * Fires when this tiem is deactivated
              * @param {Ext.menu.Item} item The deactivated item
@@ -369,7 +386,7 @@ Ext.define('Ext.menu.Item', {
         me.callParent(arguments);
     },
     
-    /**
+    /**
      * Sets the {@link #click} handler of this item
      * @param {Function} fn The handler function
      * @param {Object} scope (optional) The scope of the handler function
@@ -379,7 +396,7 @@ Ext.define('Ext.menu.Item', {
         this.scope = scope;
     },
     
-    /**
+    /**
      * Sets the {@link #iconCls} of this item
      * @param {String} iconCls The CSS class to set to {@link #iconCls}
      */
@@ -399,7 +416,7 @@ Ext.define('Ext.menu.Item', {
         me.iconCls = iconCls;
     },
     
-    /**
+    /**
      * Sets the {@link #text} of this item
      * @param {String} text The {@link #text}
      */
@@ -425,4 +442,6 @@ Ext.define('Ext.menu.Item', {
         me.text = text;
     }
 });
-
\ No newline at end of file +
+ +