CloneSet691


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.978SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1552
Closure/closure/goog/ui/checkboxmenuitem.js
2553
Closure/closure/goog/ui/option.js
Clone Instance
1
Line Count
5
Source Line
52
Source File
Closure/closure/goog/ui/checkboxmenuitem.js

/**
 * Class representing a checkbox menu item.  This is just a convenience class
 * that extends {@link goog.ui.MenuItem} by making it checkable.
 *
 * @param {goog.ui.ControlContent} content Text caption or DOM structure to
 *     display as the content of the item (use to add icons or styling to
 *     menus).
 * @param {Object=} opt_model Data/model associated with the menu item.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper used for
 *     document interactions.
 * @constructor
 * @extends {goog.ui.MenuItem}
 */
goog.ui.CheckBoxMenuItem=  function (content, opt_model, opt_domHelper){
  goog.ui.MenuItem.call(this, content, opt_model, opt_domHelper);
  this.setCheckable( true);
                                                                       } ;
goog.inherits(goog.ui.CheckBoxMenuItem, goog.ui.MenuItem);


Clone Instance
2
Line Count
5
Source Line
53
Source File
Closure/closure/goog/ui/option.js

/**
 * Class representing a menu option.  This is just a convenience class that
 * extends {@link goog.ui.MenuItem} by making it selectable.
 *
 * @param {goog.ui.ControlContent} content Text caption or DOM structure to
 *     display as the content of the item (use to add icons or styling to
 *     menus).
 * @param {*=} opt_model Data/model associated with the menu item.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper used for
 *     document interactions.
 * @constructor
 * @extends {goog.ui.MenuItem}
 */
goog.ui.Option=  function (content, opt_model, opt_domHelper){
  goog.ui.MenuItem.call(this, content, opt_model, opt_domHelper);
  this.setSelectable( true);
                                                             } ;
goog.inherits(goog.ui.Option, goog.ui.MenuItem);


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Class representing a menu option.  This is just a convenience class that
 * extends {@link goog.ui.MenuItem} by making it selectable.
 *
 * @param {goog.ui.ControlContent} content Text caption or DOM structure to
 *     display as the content of the item (use to add icons or styling to
 *     menus).
 * @param {*=} opt_model Data/model associated with the menu item.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper used for
 *     document interactions.
 * @constructor
 * @extends {goog.ui.MenuItem}
 */
/**
 * Class representing a checkbox menu item.  This is just a convenience class
 * that extends {@link goog.ui.MenuItem} by making it checkable.
 *
 * @param {goog.ui.ControlContent} content Text caption or DOM structure to
 *     display as the content of the item (use to add icons or styling to
 *     menus).
 * @param {Object=} opt_model Data/model associated with the menu item.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper used for
 *     document interactions.
 * @constructor
 * @extends {goog.ui.MenuItem}
 */
goog.ui. [[#variable3fddd100]]= function (content,opt_model,opt_domHelper)
                                { goog.ui.MenuItem.call(this,content,opt_model,opt_domHelper);
                                  this. [[#variable3fddcfa0]]( true);
                                } ;
goog.inherits(goog.ui. [[#variable3fddd100]],goog.ui.MenuItem);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3fddd100]]
Option 
12[[#3fddd100]]
CheckBoxMenuItem 
21[[#3fddcfa0]]
setSelectable 
22[[#3fddcfa0]]
setCheckable