X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/src/menu/CheckItem.js diff --git a/src/menu/CheckItem.js b/src/menu/CheckItem.js index 5d3aa52c..00bab09c 100644 --- a/src/menu/CheckItem.js +++ b/src/menu/CheckItem.js @@ -13,15 +13,9 @@ If you are unsure which license is appropriate for your use, please contact the */ /** - * @class Ext.menu.CheckItem - * @extends Ext.menu.Item - * * A menu item that contains a togglable checkbox by default, but that can also be a part of a radio group. * - * {@img Ext.menu.CheckItem/Ext.menu.CheckItem.png Ext.menu.CheckItem component} - * - * __Example Usage__ - * + * @example * Ext.create('Ext.menu.Menu', { * width: 100, * height: 110, @@ -39,8 +33,7 @@ If you are unsure which license is appropriate for your use, please contact the * },{ * text: 'regular item' * }] - * }); - * + * }); */ Ext.define('Ext.menu.CheckItem', { extend: 'Ext.menu.Item', @@ -50,14 +43,12 @@ Ext.define('Ext.menu.CheckItem', { * @cfg {String} checkedCls * The CSS class used by {@link #cls} to show the checked state. * Defaults to `Ext.baseCSSPrefix + 'menu-item-checked'`. - * @markdown */ checkedCls: Ext.baseCSSPrefix + 'menu-item-checked', /** * @cfg {String} uncheckedCls * The CSS class used by {@link #cls} to show the unchecked state. * Defaults to `Ext.baseCSSPrefix + 'menu-item-unchecked'`. - * @markdown */ uncheckedCls: Ext.baseCSSPrefix + 'menu-item-unchecked', /** @@ -65,7 +56,6 @@ Ext.define('Ext.menu.CheckItem', { * The CSS class applied to this item's icon image to denote being a part of a radio group. * Defaults to `Ext.baseCSSClass + 'menu-group-icon'`. * Any specified {@link #iconCls} overrides this. - * @markdown */ groupCls: Ext.baseCSSPrefix + 'menu-group-icon', @@ -73,7 +63,6 @@ Ext.define('Ext.menu.CheckItem', { * @cfg {Boolean} hideOnClick * Whether to not to hide the owning menu when this item is clicked. * Defaults to `false` for checkbox items, and to `true` for radio group items. - * @markdown */ hideOnClick: false, @@ -158,7 +147,6 @@ Ext.define('Ext.menu.CheckItem', { * Sets the checked state of the item * @param {Boolean} checked True to check, false to uncheck * @param {Boolean} suppressEvents (optional) True to prevent firing the checkchange events. Defaults to `false`. - * @markdown */ setChecked: function(checked, suppressEvents) { var me = this;