CloneSet206


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6440.955SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1662
Closure/closure/goog/ui/colormenubutton.js
2655
Closure/closure/goog/ui/toolbarcolormenubutton.js
3654
Closure/closure/goog/ui/toolbarmenubutton.js
4654
Closure/closure/goog/ui/toolbarselect.js
Clone Instance
1
Line Count
6
Source Line
62
Source File
Closure/closure/goog/ui/colormenubutton.js

/**
 * A color menu button control.  Extends {@link goog.ui.MenuButton} by adding
 * an API for getting and setting the currently selected color from a menu of
 * color palettes.
 *
 * @param {goog.ui.ControlContent} content Text caption or existing DOM
 *     structure to display as the button's caption.
 * @param {goog.ui.Menu=} opt_menu Menu to render under the button when clicked;
 *     should contain at least one {@link goog.ui.ColorPalette} if present.
 * @param {goog.ui.MenuButtonRenderer=} opt_renderer Button renderer;
 *     defaults to {@link goog.ui.ColorMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.MenuButton}
 */
goog.ui.ColorMenuButton=  function (content, opt_menu, opt_renderer,
     opt_domHelper){
  goog.ui.MenuButton.call(this, content, opt_menu, opt_renderer
                                                   ||goog.ui.ColorMenuButtonRenderer.getInstance( ),opt_domHelper);
                   } ;
goog.inherits(goog.ui.ColorMenuButton, goog.ui.MenuButton);


Clone Instance
2
Line Count
6
Source Line
55
Source File
Closure/closure/goog/ui/toolbarcolormenubutton.js

/**
 * A color menu button control for a toolbar.
 *
 * @param {goog.ui.ControlContent} content Text caption or existing DOM
 *     structure to display as the button's caption.
 * @param {goog.ui.Menu=} opt_menu Menu to render under the button when clicked;
 *     should contain at least one {@link goog.ui.ColorPalette} if present.
 * @param {goog.ui.ColorMenuButtonRenderer=} opt_renderer Optional
 *     renderer used to render or decorate the button; defaults to
 *     {@link goog.ui.ToolbarColorMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.ColorMenuButton}
 */
goog.ui.ToolbarColorMenuButton=  function (
    content, opt_menu, opt_renderer, opt_domHelper) {
  goog.ui.ColorMenuButton.call(this, content, opt_menu, opt_renderer
                                                        ||goog.ui.ToolbarColorMenuButtonRenderer.getInstance( ),opt_domHelper);
                                                    } ;
goog.inherits(goog.ui.ToolbarColorMenuButton, goog.ui.ColorMenuButton);


Clone Instance
3
Line Count
6
Source Line
54
Source File
Closure/closure/goog/ui/toolbarmenubutton.js

/**
 * A menu button control for a toolbar.
 *
 * @param {goog.ui.ControlContent} content Text caption or existing DOM
 *     structure to display as the button's caption.
 * @param {goog.ui.Menu=} opt_menu Menu to render under the button when clicked.
 * @param {goog.ui.ButtonRenderer=} opt_renderer Optional renderer used to
 *     render or decorate the button; defaults to
 *     {@link goog.ui.ToolbarMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.MenuButton}
 */
goog.ui.ToolbarMenuButton=  function (
    content, opt_menu, opt_renderer, opt_domHelper) {
  goog.ui.MenuButton.call(this, content, opt_menu, opt_renderer
                                                   ||goog.ui.ToolbarMenuButtonRenderer.getInstance( ),opt_domHelper);
                                                    } ;
goog.inherits(goog.ui.ToolbarMenuButton, goog.ui.MenuButton);


Clone Instance
4
Line Count
6
Source Line
54
Source File
Closure/closure/goog/ui/toolbarselect.js

/**
 * A select control for a toolbar.
 *
 * @param {goog.ui.ControlContent} caption Default caption or existing DOM
 *     structure to display as the button's caption when nothing is selected.
 * @param {goog.ui.Menu=} opt_menu Menu containing selection options.
 * @param {goog.ui.MenuButtonRenderer=} opt_renderer Renderer used to
 *     render or decorate the control; defaults to
 *     {@link goog.ui.ToolbarMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.Select}
 */
goog.ui.ToolbarSelect=  function (
    caption, opt_menu, opt_renderer, opt_domHelper) {
  goog.ui.Select.call(this, caption, opt_menu, opt_renderer
                                               ||goog.ui.ToolbarMenuButtonRenderer.getInstance( ),opt_domHelper);
                                                    } ;
goog.inherits(goog.ui.ToolbarSelect, goog.ui.Select);


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * A color menu button control.  Extends {@link goog.ui.MenuButton} by adding
 * an API for getting and setting the currently selected color from a menu of
 * color palettes.
 *
 * @param {goog.ui.ControlContent} content Text caption or existing DOM
 *     structure to display as the button's caption.
 * @param {goog.ui.Menu=} opt_menu Menu to render under the button when clicked;
 *     should contain at least one {@link goog.ui.ColorPalette} if present.
 * @param {goog.ui.MenuButtonRenderer=} opt_renderer Button renderer;
 *     defaults to {@link goog.ui.ColorMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.MenuButton}
 */
/**
 * A color menu button control for a toolbar.
 *
 * @param {goog.ui.ControlContent} content Text caption or existing DOM
 *     structure to display as the button's caption.
 * @param {goog.ui.Menu=} opt_menu Menu to render under the button when clicked;
 *     should contain at least one {@link goog.ui.ColorPalette} if present.
 * @param {goog.ui.ColorMenuButtonRenderer=} opt_renderer Optional
 *     renderer used to render or decorate the button; defaults to
 *     {@link goog.ui.ToolbarColorMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.ColorMenuButton}
 */
/**
 * A menu button control for a toolbar.
 *
 * @param {goog.ui.ControlContent} content Text caption or existing DOM
 *     structure to display as the button's caption.
 * @param {goog.ui.Menu=} opt_menu Menu to render under the button when clicked.
 * @param {goog.ui.ButtonRenderer=} opt_renderer Optional renderer used to
 *     render or decorate the button; defaults to
 *     {@link goog.ui.ToolbarMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.MenuButton}
 */
/**
 * A select control for a toolbar.
 *
 * @param {goog.ui.ControlContent} caption Default caption or existing DOM
 *     structure to display as the button's caption when nothing is selected.
 * @param {goog.ui.Menu=} opt_menu Menu containing selection options.
 * @param {goog.ui.MenuButtonRenderer=} opt_renderer Renderer used to
 *     render or decorate the control; defaults to
 *     {@link goog.ui.ToolbarMenuButtonRenderer}.
 * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM hepler, used for
 *     document interaction.
 * @constructor
 * @extends {goog.ui.Select}
 */
goog.ui. [[#variable5ec98540]]= function ( [[#variable5ec984a0]],opt_menu,opt_renderer,opt_domHelper)
                                { goog.ui. [[#variable5ec983e0]].call(this, [[#variable5ec984a0]],opt_menu,opt_renderer
                                                                                                           || goog.ui. [[#variable5ec983c0]].getInstance( ),opt_domHelper);
                                } ;
goog.inherits(goog.ui. [[#variable5ec98540]],goog.ui. [[#variable5ec983e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ec98540]]
ColorMenuButton 
12[[#5ec98540]]
ToolbarColorMenuButton 
13[[#5ec98540]]
ToolbarMenuButton 
14[[#5ec98540]]
ToolbarSelect 
21[[#5ec984a0]]
content 
22[[#5ec984a0]]
content 
23[[#5ec984a0]]
content 
24[[#5ec984a0]]
caption 
31[[#5ec983e0]]
MenuButton 
32[[#5ec983e0]]
ColorMenuButton 
33[[#5ec983e0]]
MenuButton 
34[[#5ec983e0]]
Select 
41[[#5ec983c0]]
ColorMenuButtonRenderer 
42[[#5ec983c0]]
ToolbarColorMenuButtonRenderer 
43[[#5ec983c0]]
ToolbarMenuButtonRenderer 
44[[#5ec983c0]]
ToolbarMenuButtonRenderer