Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 23 | 2 | 0.950 | SourceElements[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 58 | Closure/closure/goog/ui/buttonrenderer.js |
2 | 5 | 45 | Closure/closure/goog/ui/colormenubuttonrenderer.js |
3 | 5 | 52 | Closure/closure/goog/ui/custombuttonrenderer.js |
4 | 5 | 53 | Closure/closure/goog/ui/dimensionpickerrenderer.js |
5 | 6 | 48 | Closure/closure/goog/ui/filterobservingmenuitemrenderer.js |
6 | 5 | 49 | Closure/closure/goog/ui/flatbuttonrenderer.js |
7 | 5 | 55 | Closure/closure/goog/ui/flatmenubuttonrenderer.js |
8 | 5 | 52 | Closure/closure/goog/ui/linkbuttonrenderer.js |
9 | 5 | 50 | Closure/closure/goog/ui/menubuttonrenderer.js |
10 | 5 | 48 | Closure/closure/goog/ui/menurenderer.js |
11 | 5 | 45 | Closure/closure/goog/ui/menuseparatorrenderer.js |
12 | 5 | 49 | Closure/closure/goog/ui/nativebuttonrenderer.js |
13 | 5 | 66 | Closure/closure/goog/ui/paletterenderer.js |
14 | 5 | 47 | Closure/closure/goog/ui/roundedtabrenderer.js |
15 | 5 | 55 | Closure/closure/goog/ui/submenurenderer.js |
16 | 5 | 54 | Closure/closure/goog/ui/tabbarrenderer.js |
17 | 5 | 46 | Closure/closure/goog/ui/tabrenderer.js |
18 | 5 | 43 | Closure/closure/goog/ui/toolbarbuttonrenderer.js |
19 | 6 | 45 | Closure/closure/goog/ui/toolbarcolormenubuttonrenderer.js |
20 | 5 | 43 | Closure/closure/goog/ui/toolbarmenubuttonrenderer.js |
21 | 5 | 47 | Closure/closure/goog/ui/toolbarrenderer.js |
22 | 5 | 45 | Closure/closure/goog/ui/toolbarseparatorrenderer.js |
23 | 5 | 48 | Closure/closure/goog/ui/tristatemenuitemrenderer.js |
| ||||
/** * Default renderer for {@link goog.ui.Button}s. Extends the superclass with * the following button-specific API methods: * <ul> * <li>{@code getValue} - returns the button element's value * <li>{@code setValue} - updates the button element to reflect its new value * <li>{@code getTooltip} - returns the button element's tooltip text * <li>{@code setTooltip} - updates the button element's tooltip text * <li>{@code setCollapsed} - removes one or both of the button element's * borders * </ul> * For alternate renderers, see {@link goog.ui.NativeButtonRenderer}, * {@link goog.ui.CustomButtonRenderer}, and {@link goog.ui.FlatButtonRenderer}. * @constructor * @extends {goog.ui.ControlRenderer} */ goog.ui.ButtonRenderer= function ( ) { goog.ui.ControlRenderer.call(this ); } ; goog.inherits(goog.ui.ButtonRenderer, goog.ui.ControlRenderer); goog.addSingletonGetter(goog.ui.ButtonRenderer); |
| ||||
/** * Renderer for {@link goog.ui.ColorMenuButton}s. * @constructor * @extends {goog.ui.MenuButtonRenderer} */ goog.ui.ColorMenuButtonRenderer= function ( ) { goog.ui.MenuButtonRenderer.call(this ); } ; goog.inherits(goog.ui.ColorMenuButtonRenderer, goog.ui.MenuButtonRenderer); goog.addSingletonGetter(goog.ui.ColorMenuButtonRenderer); |
| ||||
/** * Custom renderer for {@link goog.ui.Button}s. Custom buttons can contain * almost arbitrary HTML content, will flow like inline elements, but can be * styled like block-level elements. * * @constructor * @extends {goog.ui.ButtonRenderer} */ goog.ui.CustomButtonRenderer= function ( ) { goog.ui.ButtonRenderer.call(this ); } ; goog.inherits(goog.ui.CustomButtonRenderer, goog.ui.ButtonRenderer); goog.addSingletonGetter(goog.ui.CustomButtonRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.DimensionPicker}s. Renders the * palette as two divs, one with the un-highlighted background, and one with the * highlighted background. * * @constructor * @extends {goog.ui.ControlRenderer} */ goog.ui.DimensionPickerRenderer= function ( ) { goog.ui.ControlRenderer.call(this ); } ; goog.inherits(goog.ui.DimensionPickerRenderer, goog.ui.ControlRenderer); goog.addSingletonGetter(goog.ui.DimensionPickerRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.FilterObservingMenuItem}s. Each item has * the following structure: * <div class="goog-filterobsmenuitem"><div>...(content)...</div></div> * * @constructor * @extends {goog.ui.MenuItemRenderer} */ goog.ui.FilterObservingMenuItemRenderer= function ( ) { goog.ui.MenuItemRenderer.call(this ); } ; goog.inherits(goog.ui.FilterObservingMenuItemRenderer, goog.ui.MenuItemRenderer); goog.addSingletonGetter(goog.ui.FilterObservingMenuItemRenderer); |
| ||||
/** * Flat renderer for {@link goog.ui.Button}s. Flat buttons can contain * almost arbitrary HTML content, will flow like inline elements, but can be * styled like block-level elements. * @constructor * @extends {goog.ui.ButtonRenderer} */ goog.ui.FlatButtonRenderer= function ( ) { goog.ui.ButtonRenderer.call(this ); } ; goog.inherits(goog.ui.FlatButtonRenderer, goog.ui.ButtonRenderer); goog.addSingletonGetter(goog.ui.FlatButtonRenderer); |
| ||||
/** * Flat Menu Button renderer. Creates a simpler version of * {@link goog.ui.MenuButton} that doesn't look like a button and * doesn't have rounded corners. Uses just a <div> and looks more like * a traditional <select> element. * @constructor * @extends {goog.ui.FlatButtonRenderer} */ goog.ui.FlatMenuButtonRenderer= function ( ) { goog.ui.FlatButtonRenderer.call(this ); } ; goog.inherits(goog.ui.FlatMenuButtonRenderer, goog.ui.FlatButtonRenderer); goog.addSingletonGetter(goog.ui.FlatMenuButtonRenderer); |
| ||||
/** * Link renderer for {@link goog.ui.Button}s. Link buttons can contain * almost arbitrary HTML content, will flow like inline elements, but can be * styled like block-level elements. * @constructor * @extends {goog.ui.FlatButtonRenderer} */ goog.ui.LinkButtonRenderer= function ( ) { goog.ui.FlatButtonRenderer.call(this ); } ; goog.inherits(goog.ui.LinkButtonRenderer, goog.ui.FlatButtonRenderer); goog.addSingletonGetter(goog.ui.LinkButtonRenderer); |
| ||||
/** * Renderer for {@link goog.ui.MenuButton}s. This implementation overrides * {@link goog.ui.CustomButtonRenderer#createButton} to create a separate * caption and dropdown element. * @constructor * @extends {goog.ui.CustomButtonRenderer} */ goog.ui.MenuButtonRenderer= function ( ) { goog.ui.CustomButtonRenderer.call(this ); } ; goog.inherits(goog.ui.MenuButtonRenderer, goog.ui.CustomButtonRenderer); goog.addSingletonGetter(goog.ui.MenuButtonRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.Menu}s, based on {@link * goog.ui.ContainerRenderer}. * @constructor * @extends {goog.ui.ContainerRenderer} */ goog.ui.MenuRenderer= function ( ) { goog.ui.ContainerRenderer.call(this ); } ; goog.inherits(goog.ui.MenuRenderer, goog.ui.ContainerRenderer); goog.addSingletonGetter(goog.ui.MenuRenderer); |
| ||||
/** * Renderer for menu separators. * @constructor * @extends {goog.ui.ControlRenderer} */ goog.ui.MenuSeparatorRenderer= function ( ) { goog.ui.ControlRenderer.call(this ); } ; goog.inherits(goog.ui.MenuSeparatorRenderer, goog.ui.ControlRenderer); goog.addSingletonGetter(goog.ui.MenuSeparatorRenderer); |
| ||||
/** * Renderer for {@link goog.ui.Button}s. Renders and decorates native HTML * button elements. Since native HTML buttons have built-in support for many * features, overrides many expensive (and redundant) superclass methods to * be no-ops. * @constructor * @extends {goog.ui.ButtonRenderer} */ goog.ui.NativeButtonRenderer= function ( ) { goog.ui.ButtonRenderer.call(this ); } ; goog.inherits(goog.ui.NativeButtonRenderer, goog.ui.ButtonRenderer); goog.addSingletonGetter(goog.ui.NativeButtonRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.Palette}s. Renders the palette as an * HTML table wrapped in a DIV, with one palette item per cell: * * <div class="goog-palette"> * <table class="goog-palette-table"> * <tbody class="goog-palette-body"> * <tr class="goog-palette-row"> * <td class="goog-palette-cell">...Item 0...</td> * <td class="goog-palette-cell">...Item 1...</td> * ... * </tr> * <tr class="goog-palette-row"> * ... * </tr> * </tbody> * </table> * </div> * * @constructor * @extends {goog.ui.ControlRenderer} */ goog.ui.PaletteRenderer= function ( ) { goog.ui.ControlRenderer.call(this ); } ; goog.inherits(goog.ui.PaletteRenderer, goog.ui.ControlRenderer); goog.addSingletonGetter(goog.ui.PaletteRenderer); |
| ||||
/** * Rounded corner tab renderer for {@link goog.ui.Tab}s. * @constructor * @extends {goog.ui.TabRenderer} */ goog.ui.RoundedTabRenderer= function ( ) { goog.ui.TabRenderer.call(this ); } ; goog.inherits(goog.ui.RoundedTabRenderer, goog.ui.TabRenderer); goog.addSingletonGetter(goog.ui.RoundedTabRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.SubMenu}s. Each item has the following * structure: * <div class="goog-submenu"> * ...(menuitem content)... * <div class="goog-menu"> * ... (submenu content) ... * </div> * </div> * @constructor * @extends {goog.ui.MenuItemRenderer} */ goog.ui.SubMenuRenderer= function ( ) { goog.ui.MenuItemRenderer.call(this ); } ; goog.inherits(goog.ui.SubMenuRenderer, goog.ui.MenuItemRenderer); goog.addSingletonGetter(goog.ui.SubMenuRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.TabBar}s, based on the {@code TabPane} * code. The tab bar's DOM structure is determined by its orientation and * location relative to tab contents. For example, a horizontal tab bar * located above tab contents looks like this: * <pre> * <div class="goog-tab-bar goog-tab-bar-horizontal goog-tab-bar-top"> * ...(tabs here)... * </div> * </pre> * @constructor * @extends {goog.ui.ContainerRenderer} */ goog.ui.TabBarRenderer= function ( ) { goog.ui.ContainerRenderer.call(this ); } ; goog.inherits(goog.ui.TabBarRenderer, goog.ui.ContainerRenderer); goog.addSingletonGetter(goog.ui.TabBarRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.Tab}s, based on the {@code TabPane} code. * @constructor * @extends {goog.ui.ControlRenderer} */ goog.ui.TabRenderer= function ( ) { goog.ui.ControlRenderer.call(this ); } ; goog.inherits(goog.ui.TabRenderer, goog.ui.ControlRenderer); goog.addSingletonGetter(goog.ui.TabRenderer); |
| ||||
/** * Toolbar-specific renderer for {@link goog.ui.Button}s, based on {@link * goog.ui.CustomButtonRenderer}. * @constructor * @extends {goog.ui.CustomButtonRenderer} */ goog.ui.ToolbarButtonRenderer= function ( ) { goog.ui.CustomButtonRenderer.call(this ); } ; goog.inherits(goog.ui.ToolbarButtonRenderer, goog.ui.CustomButtonRenderer); goog.addSingletonGetter(goog.ui.ToolbarButtonRenderer); |
| ||||
/** * Toolbar-style renderer for {@link goog.ui.ColorMenuButton}s. * @constructor * @extends {goog.ui.ToolbarMenuButtonRenderer} */ goog.ui.ToolbarColorMenuButtonRenderer= function ( ) { goog.ui.ToolbarMenuButtonRenderer.call(this ); } ; goog.inherits(goog.ui.ToolbarColorMenuButtonRenderer, goog.ui.ToolbarMenuButtonRenderer); goog.addSingletonGetter(goog.ui.ToolbarColorMenuButtonRenderer); |
| ||||
/** * Toolbar-specific renderer for {@link goog.ui.MenuButton}s, based on {@link * goog.ui.MenuButtonRenderer}. * @constructor * @extends {goog.ui.MenuButtonRenderer} */ goog.ui.ToolbarMenuButtonRenderer= function ( ) { goog.ui.MenuButtonRenderer.call(this ); } ; goog.inherits(goog.ui.ToolbarMenuButtonRenderer, goog.ui.MenuButtonRenderer); goog.addSingletonGetter(goog.ui.ToolbarMenuButtonRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.Toolbar}s, based on {@link * goog.ui.ContainerRenderer}. * @constructor * @extends {goog.ui.ContainerRenderer} */ goog.ui.ToolbarRenderer= function ( ) { goog.ui.ContainerRenderer.call(this ); } ; goog.inherits(goog.ui.ToolbarRenderer, goog.ui.ContainerRenderer); goog.addSingletonGetter(goog.ui.ToolbarRenderer); |
| ||||
/** * Renderer for toolbar separators. * @constructor * @extends {goog.ui.MenuSeparatorRenderer} */ goog.ui.ToolbarSeparatorRenderer= function ( ) { goog.ui.MenuSeparatorRenderer.call(this ); } ; goog.inherits(goog.ui.ToolbarSeparatorRenderer, goog.ui.MenuSeparatorRenderer); goog.addSingletonGetter(goog.ui.ToolbarSeparatorRenderer); |
| ||||
/** * Default renderer for {@link goog.ui.TriStateMenuItemRenderer}s. Each item has * the following structure: * <div class="goog-tristatemenuitem"> * <div class="goog-tristatemenuitem-checkbox"></div> * <div>...(content)...</div> * </div> * @constructor * @extends {goog.ui.MenuItemRenderer} */ goog.ui.TriStateMenuItemRenderer= function ( ) { goog.ui.MenuItemRenderer.call(this ); } ; goog.inherits(goog.ui.TriStateMenuItemRenderer, goog.ui.MenuItemRenderer); goog.addSingletonGetter(goog.ui.TriStateMenuItemRenderer); |
| |||
/** * Default renderer for {@link goog.ui.TriStateMenuItemRenderer}s. Each item has * the following structure: * <div class="goog-tristatemenuitem"> * <div class="goog-tristatemenuitem-checkbox"></div> * <div>...(content)...</div> * </div> * @constructor * @extends {goog.ui.MenuItemRenderer} */ /** * Default renderer for {@link goog.ui.Toolbar}s, based on {@link * goog.ui.ContainerRenderer}. * @constructor * @extends {goog.ui.ContainerRenderer} */ /** * Toolbar-specific renderer for {@link goog.ui.MenuButton}s, based on {@link * goog.ui.MenuButtonRenderer}. * @constructor * @extends {goog.ui.MenuButtonRenderer} */ /** * Link renderer for {@link goog.ui.Button}s. Link buttons can contain * almost arbitrary HTML content, will flow like inline elements, but can be * styled like block-level elements. * @constructor * @extends {goog.ui.FlatButtonRenderer} */ /** * Custom renderer for {@link goog.ui.Button}s. Custom buttons can contain * almost arbitrary HTML content, will flow like inline elements, but can be * styled like block-level elements. * * @constructor * @extends {goog.ui.ButtonRenderer} */ /** * Toolbar-specific renderer for {@link goog.ui.Button}s, based on {@link * goog.ui.CustomButtonRenderer}. * @constructor * @extends {goog.ui.CustomButtonRenderer} */ /** * Default renderer for {@link goog.ui.Tab}s, based on the {@code TabPane} code. * @constructor * @extends {goog.ui.ControlRenderer} */ /** * Default renderer for {@link goog.ui.TabBar}s, based on the {@code TabPane} * code. The tab bar's DOM structure is determined by its orientation and * location relative to tab contents. For example, a horizontal tab bar * located above tab contents looks like this: * <pre> * <div class="goog-tab-bar goog-tab-bar-horizontal goog-tab-bar-top"> * ...(tabs here)... * </div> * </pre> * @constructor * @extends {goog.ui.ContainerRenderer} */ /** * Default renderer for {@link goog.ui.SubMenu}s. Each item has the following * structure: * <div class="goog-submenu"> * ...(menuitem content)... * <div class="goog-menu"> * ... (submenu content) ... * </div> * </div> * @constructor * @extends {goog.ui.MenuItemRenderer} */ /** * Renderer for {@link goog.ui.MenuButton}s. This implementation overrides * {@link goog.ui.CustomButtonRenderer#createButton} to create a separate * caption and dropdown element. * @constructor * @extends {goog.ui.CustomButtonRenderer} */ /** * Default renderer for {@link goog.ui.Palette}s. Renders the palette as an * HTML table wrapped in a DIV, with one palette item per cell: * * <div class="goog-palette"> * <table class="goog-palette-table"> * <tbody class="goog-palette-body"> * <tr class="goog-palette-row"> * <td class="goog-palette-cell">...Item 0...</td> * <td class="goog-palette-cell">...Item 1...</td> * ... * </tr> * <tr class="goog-palette-row"> * ... * </tr> * </tbody> * </table> * </div> * * @constructor * @extends {goog.ui.ControlRenderer} */ /** * Renderer for {@link goog.ui.Button}s. Renders and decorates native HTML * button elements. Since native HTML buttons have built-in support for many * features, overrides many expensive (and redundant) superclass methods to * be no-ops. * @constructor * @extends {goog.ui.ButtonRenderer} */ /** * Default renderer for {@link goog.ui.DimensionPicker}s. Renders the * palette as two divs, one with the un-highlighted background, and one with the * highlighted background. * * @constructor * @extends {goog.ui.ControlRenderer} */ /** * Renderer for menu separators. * @constructor * @extends {goog.ui.ControlRenderer} */ /** * Flat renderer for {@link goog.ui.Button}s. Flat buttons can contain * almost arbitrary HTML content, will flow like inline elements, but can be * styled like block-level elements. * @constructor * @extends {goog.ui.ButtonRenderer} */ /** * Renderer for toolbar separators. * @constructor * @extends {goog.ui.MenuSeparatorRenderer} */ /** * Toolbar-style renderer for {@link goog.ui.ColorMenuButton}s. * @constructor * @extends {goog.ui.ToolbarMenuButtonRenderer} */ /** * Rounded corner tab renderer for {@link goog.ui.Tab}s. * @constructor * @extends {goog.ui.TabRenderer} */ /** * Default renderer for {@link goog.ui.Menu}s, based on {@link * goog.ui.ContainerRenderer}. * @constructor * @extends {goog.ui.ContainerRenderer} */ /** * Flat Menu Button renderer. Creates a simpler version of * {@link goog.ui.MenuButton} that doesn't look like a button and * doesn't have rounded corners. Uses just a <div> and looks more like * a traditional <select> element. * @constructor * @extends {goog.ui.FlatButtonRenderer} */ /** * Default renderer for {@link goog.ui.FilterObservingMenuItem}s. Each item has * the following structure: * <div class="goog-filterobsmenuitem"><div>...(content)...</div></div> * * @constructor * @extends {goog.ui.MenuItemRenderer} */ /** * Renderer for {@link goog.ui.ColorMenuButton}s. * @constructor * @extends {goog.ui.MenuButtonRenderer} */ /** * Default renderer for {@link goog.ui.Button}s. Extends the superclass with * the following button-specific API methods: * <ul> * <li>{@code getValue} - returns the button element's value * <li>{@code setValue} - updates the button element to reflect its new value * <li>{@code getTooltip} - returns the button element's tooltip text * <li>{@code setTooltip} - updates the button element's tooltip text * <li>{@code setCollapsed} - removes one or both of the button element's * borders * </ul> * For alternate renderers, see {@link goog.ui.NativeButtonRenderer}, * {@link goog.ui.CustomButtonRenderer}, and {@link goog.ui.FlatButtonRenderer}. * @constructor * @extends {goog.ui.ControlRenderer} */ goog.ui. [[#variable20306440]]= function ( ) { goog.ui. [[#variable20306360]].call(this ); } ; goog.inherits(goog.ui. [[#variable20306440]],goog.ui. [[#variable20306360]]); goog.addSingletonGetter(goog.ui. [[#variable20306440]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20306440]] | TriStateMenuItemRenderer |
1 | 2 | [[#20306440]] | ToolbarRenderer |
1 | 3 | [[#20306440]] | ToolbarMenuButtonRenderer |
1 | 4 | [[#20306440]] | LinkButtonRenderer |
1 | 5 | [[#20306440]] | CustomButtonRenderer |
1 | 6 | [[#20306440]] | ToolbarButtonRenderer |
1 | 7 | [[#20306440]] | TabRenderer |
1 | 8 | [[#20306440]] | TabBarRenderer |
1 | 9 | [[#20306440]] | SubMenuRenderer |
1 | 10 | [[#20306440]] | MenuButtonRenderer |
1 | 11 | [[#20306440]] | PaletteRenderer |
1 | 12 | [[#20306440]] | NativeButtonRenderer |
1 | 13 | [[#20306440]] | DimensionPickerRenderer |
1 | 14 | [[#20306440]] | MenuSeparatorRenderer |
1 | 15 | [[#20306440]] | FlatButtonRenderer |
1 | 16 | [[#20306440]] | ToolbarSeparatorRenderer |
1 | 17 | [[#20306440]] | ToolbarColorMenuButtonRenderer |
1 | 18 | [[#20306440]] | RoundedTabRenderer |
1 | 19 | [[#20306440]] | MenuRenderer |
1 | 20 | [[#20306440]] | FlatMenuButtonRenderer |
1 | 21 | [[#20306440]] | FilterObservingMenuItemRenderer |
1 | 22 | [[#20306440]] | ColorMenuButtonRenderer |
1 | 23 | [[#20306440]] | ButtonRenderer |
2 | 1 | [[#20306360]] | MenuItemRenderer |
2 | 2 | [[#20306360]] | ContainerRenderer |
2 | 3 | [[#20306360]] | MenuButtonRenderer |
2 | 4 | [[#20306360]] | FlatButtonRenderer |
2 | 5 | [[#20306360]] | ButtonRenderer |
2 | 6 | [[#20306360]] | CustomButtonRenderer |
2 | 7 | [[#20306360]] | ControlRenderer |
2 | 8 | [[#20306360]] | ContainerRenderer |
2 | 9 | [[#20306360]] | MenuItemRenderer |
2 | 10 | [[#20306360]] | CustomButtonRenderer |
2 | 11 | [[#20306360]] | ControlRenderer |
2 | 12 | [[#20306360]] | ButtonRenderer |
2 | 13 | [[#20306360]] | ControlRenderer |
2 | 14 | [[#20306360]] | ControlRenderer |
2 | 15 | [[#20306360]] | ButtonRenderer |
2 | 16 | [[#20306360]] | MenuSeparatorRenderer |
2 | 17 | [[#20306360]] | ToolbarMenuButtonRenderer |
2 | 18 | [[#20306360]] | TabRenderer |
2 | 19 | [[#20306360]] | ContainerRenderer |
2 | 20 | [[#20306360]] | FlatButtonRenderer |
2 | 21 | [[#20306360]] | MenuItemRenderer |
2 | 22 | [[#20306360]] | MenuButtonRenderer |
2 | 23 | [[#20306360]] | ControlRenderer |