CloneSet1406


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.989ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14101
Closure/closure/goog/ui/colormenubuttonrenderer.js
2581
Closure/closure/goog/ui/toolbarcolormenubuttonrenderer.js
Clone Instance
1
Line Count
4
Source Line
101
Source File
Closure/closure/goog/ui/colormenubuttonrenderer.js

/**
 * Takes a color menu button control's root element and a value object
 * (which is assumed to be a color), and updates the button's DOM to reflect
 * the new color.  Overrides {@link goog.ui.ButtonRenderer#setValue}.
 * @param {Element} element The button control's root element (if rendered).
 * @param {*} value New value; assumed to be a color spec string.
 */
goog.ui.ColorMenuButtonRenderer.prototype.setValue=  function (element, value){
  if (element) {
    goog.ui.ColorMenuButtonRenderer.setCaptionValue(
        this.getContentElement(element), value);
               }
                                                                              } ;


Clone Instance
2
Line Count
5
Source Line
81
Source File
Closure/closure/goog/ui/toolbarcolormenubuttonrenderer.js

/**
 * Takes a color menu button control's root element and a value object
 * (which is assumed to be a color), and updates the button's DOM to reflect
 * the new color.  Overrides {@link goog.ui.ButtonRenderer#setValue}.
 * @param {Element} element The button control's root element (if rendered).
 * @param {*} value New value; assumed to be a color spec string.
 */
goog.ui.ToolbarColorMenuButtonRenderer.prototype.setValue=  function (element,
     value){
  if (element) {
    goog.ui.ColorMenuButtonRenderer.setCaptionValue(
        this.getContentElement(element), value);
               }
           } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Takes a color menu button control's root element and a value object
 * (which is assumed to be a color), and updates the button's DOM to reflect
 * the new color.  Overrides {@link goog.ui.ButtonRenderer#setValue}.
 * @param {Element} element The button control's root element (if rendered).
 * @param {*} value New value; assumed to be a color spec string.
 */
goog.ui. [[#variable5816d320]].prototype.setValue= function (element,value)
                                                   { if (element)
                                                       { goog.ui.ColorMenuButtonRenderer.setCaptionValue(this.getContentElement(element),value);
                                                       }
                                                   } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5816d320]]
ColorMenuButtonRenderer 
12[[#5816d320]]
ToolbarColorMenuButtonRenderer