Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


/**
 * Adds a separator bar to a menu, used to divide logical groups of menu items. Generally you will add one of these by using "-" in you call to add() or in your items config rather than creating one directly.
 *
 * <p>This class represents the xtype 'menuseparator' and serves as a
 * typed config object for constructor of class Separator.</p>
 *
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see ext.menu.Separator
 */
{ExtConfig:{target:"ext.menu.Separator", xtype:"menuseparator"}},
"public class menuseparator extends ext.config.menubaseitem",5,function($$private){var $1=ext.config;return[ 

  "public function menuseparator",function menuseparator(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 separators (defaults to "x-menu-sep")
   */
  "override public native function get itemCls"/*():String*/,

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


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