Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


/**
 * Adds a menu item that contains a checkbox by default, but can also be part of a radio group.
 *
 * <p>This class represents the xtype 'menucheckitem' and serves as a
 * typed config object for constructor of class CheckItem.</p>
 *
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see ext.menu.CheckItem
 */
{ExtConfig:{target:"ext.menu.CheckItem", xtype:"menucheckitem"}},
"public class menucheckitem extends ext.config.menuitem",6,function($$private){var $1=ext.config;return[ 

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

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


  /**
   True to initialize this checkbox as checked (defaults to false). Note that if this checkbox is part of a radio group (group = true) only the first item in the group that is initialized with checked = true will be rendered as checked.
   */
  "public native function get checked"/*():Boolean*/,

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

  /**
   All check items with the same group name will automatically be grouped into a single-select radio button group (defaults to '')
   */
  "public native function get group"/*():String*/,

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

  /**
   The default CSS class to use for radio group check items (defaults to "x-menu-group-item")
   */
  "public native function get groupClass"/*():String*/,

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

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

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


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