CloneSet255


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4620.976ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1460
Closure/closure/goog/ui/checkboxmenuitem.js
2474
Closure/closure/goog/ui/option.js
34389
Closure/closure/goog/ui/select.js
43661
Closure/closure/goog/ui/submenu.js
5465
Closure/closure/goog/ui/togglebutton.js
6362
Closure/closure/goog/ui/toolbartogglebutton.js
Clone Instance
1
Line Count
4
Source Line
60
Source File
Closure/closure/goog/ui/checkboxmenuitem.js

// Register a decorator factory function for goog.ui.CheckBoxMenuItems.
goog.ui.registry.setDecoratorByClassName(
    goog.getCssName('goog-checkbox-menuitem'), function ( )
                                                          {
  // CheckBoxMenuItem defaults to using MenuItemRenderer.
  return new goog.ui.CheckBoxMenuItem(null);
                                                          } );


Clone Instance
2
Line Count
4
Source Line
74
Source File
Closure/closure/goog/ui/option.js

// Register a decorator factory function for goog.ui.Options.
goog.ui.registry.setDecoratorByClassName(
    goog.getCssName('goog-option'), function ( )
                                               {
  // Option defaults to using MenuItemRenderer.
  return new goog.ui.Option(null);
                                               } );


Clone Instance
3
Line Count
4
Source Line
389
Source File
Closure/closure/goog/ui/select.js

// Register a decorator factory function for goog.ui.Selects.
goog.ui.registry.setDecoratorByClassName(
    goog.getCssName('goog-select'), function ( )
                                               {
  // Select defaults to using MenuButtonRenderer, since it shares its L&F.
  return new goog.ui.Select(null);
                                               } );


Clone Instance
4
Line Count
3
Source Line
661
Source File
Closure/closure/goog/ui/submenu.js

// Register a decorator factory function for goog.ui.SubMenus.
goog.ui.registry.setDecoratorByClassName(goog.getCssName('goog-submenu'),
    function ( )
               {
  return new goog.ui.SubMenu(null);
               }                        );


Clone Instance
5
Line Count
4
Source Line
65
Source File
Closure/closure/goog/ui/togglebutton.js

// Register a decorator factory function for goog.ui.ToggleButtons.
goog.ui.registry.setDecoratorByClassName(
  goog.getCssName('goog-toggle-button'), function ( )
                                                    {
  // ToggleButton defaults to using CustomButtonRenderer.
  return new goog.ui.ToggleButton(null);
                                                    } );


Clone Instance
6
Line Count
3
Source Line
62
Source File
Closure/closure/goog/ui/toolbartogglebutton.js

// Registers a decorator factory function for toggle buttons in toolbars.
goog.ui.registry.setDecoratorByClassName(
    goog.getCssName('goog-toolbar-toggle-button'), function ( )
                                                              {
      return new goog.ui.ToolbarToggleButton(null);
                                                              } );


Clone AbstractionParameter Count: 2Parameter Bindings

// Register a decorator factory function for goog.ui.CheckBoxMenuItems.
// Register a decorator factory function for goog.ui.Options.
// Register a decorator factory function for goog.ui.Selects.
// Register a decorator factory function for goog.ui.SubMenus.
// Register a decorator factory function for goog.ui.ToggleButtons.
// Registers a decorator factory function for toggle buttons in toolbars.
goog.ui.registry.setDecoratorByClassName(goog.getCssName( [[#variable606ab6a0]]), function ( )
                                                                                  {
                                                                                    // CheckBoxMenuItem defaults to using MenuItemRenderer.
                                                                                    // Option defaults to using MenuItemRenderer.
                                                                                    // Select defaults to using MenuButtonRenderer, since it shares its L&F.
                                                                                    // ToggleButton defaults to using CustomButtonRenderer.
                                                                                    return new goog.ui. [[#variable6228d1a0]](null);
                                                                                  } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#606ab6a0]]
'goog-checkbox-menuitem' 
12[[#606ab6a0]]
'goog-option' 
13[[#606ab6a0]]
'goog-select' 
14[[#606ab6a0]]
'goog-submenu' 
15[[#606ab6a0]]
'goog-toggle-button' 
16[[#606ab6a0]]
'goog-toolbar-toggle-button' 
21[[#6228d1a0]]
CheckBoxMenuItem 
22[[#6228d1a0]]
Option 
23[[#6228d1a0]]
Select 
24[[#6228d1a0]]
SubMenu 
25[[#6228d1a0]]
ToggleButton 
26[[#6228d1a0]]
ToolbarToggleButton