Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
joo.classLoader.prepare("package ext.config",/* {*/


/**
 * Adds a static text string to a menu, usually used as either a heading or group separator.
 *
 * <p>This class represents the xtype 'menutextitem' and serves as a
 * typed config object for constructor of class TextItem.</p>
 *
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see ext.menu.TextItem
 */
{ExtConfig:{target:"ext.menu.TextItem", xtype:"menutextitem"}},
"public class menutextitem extends ext.config.menubaseitem",5,function($$private){var $1=ext.config;return[ 

  "public function menutextitem",function menutextitem(config/*:Object = null*/) {if(arguments.length<=0)config=null;

     $1.menubaseitem.call(this,config);
  },


  /**
   True to hide the containing menu after this item is clicked (defaults to false)
   */
  "override public native function get hideOnClick"/*():Boolean*/,

  /**
   * @private
   */
  "override public native function set hideOnClick"/*(value:Boolean):void*/,

  /**
   The default CSS class to use for text items (defaults to "x-menu-text")
   */
  "override public native function get itemCls"/*():String*/,

  /**
   * @private
   */
  "override public native function set itemCls"/*(value:String):void*/,

  /**
   The text to display for this item (defaults to '')
   */
  "public native function get text"/*():String*/,

  /**
   * @private
   */
  "public native function set text"/*(value:String):void*/,


undefined];},[],["ext.config.menubaseitem"], "0.8.0", "2.0.1"
);
New to GrepCode? Check out our FAQ X