Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
25 | 2 | 2 | 0.969 | SourceElements[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 24 | 42 | Closure/closure/goog/ui/style/app/menubuttonrenderer.js |
2 | 25 | 38 | Closure/closure/goog/ui/style/app/primaryactionbuttonrenderer.js |
| ||||
goog.require('goog.ui.style.app.ButtonRenderer'); /** * Renderer for {@link goog.ui.style.app.MenuButton}s. This implementation * overrides {@link goog.ui.style.app.ButtonRenderer#createButton} to insert a * dropdown element into the content element after the specified content. * @constructor * @extends {goog.ui.style.app.ButtonRenderer} */ goog.ui.style.app.MenuButtonRenderer= function ( ) { goog.ui.style.app.ButtonRenderer.call(this ); } ; goog.inherits(goog.ui.style.app.MenuButtonRenderer, goog.ui.style.app.ButtonRenderer); goog.addSingletonGetter(goog.ui.style.app.MenuButtonRenderer); /** * Default CSS class to be applied to the root element of components rendered * by this renderer. * @type {string} */ goog.ui.style.app.MenuButtonRenderer.CSS_CLASS= 'goog-menu-button'; |
| ||||
goog.require('goog.ui.style.app.ButtonRenderer'); /** * Custom renderer for {@link goog.ui.Button}s. This renderer supports the * "primary action" style for buttons. * * @constructor * @extends {goog.ui.style.app.ButtonRenderer} */ goog.ui.style.app.PrimaryActionButtonRenderer= function ( ) { goog.ui.style.app.ButtonRenderer.call(this ); } ; goog.inherits(goog.ui.style.app.PrimaryActionButtonRenderer, goog.ui.style.app.ButtonRenderer); goog.addSingletonGetter(goog.ui.style.app.PrimaryActionButtonRenderer); /** * Default CSS class to be applied to the root element of components rendered * by this renderer. * @type {string} */ goog.ui.style.app.PrimaryActionButtonRenderer.CSS_CLASS= 'goog-primaryactionbutton'; |
| |||
goog.require('goog.ui.style.app.ButtonRenderer'); /** * Custom renderer for {@link goog.ui.Button}s. This renderer supports the * "primary action" style for buttons. * * @constructor * @extends {goog.ui.style.app.ButtonRenderer} */ /** * Renderer for {@link goog.ui.style.app.MenuButton}s. This implementation * overrides {@link goog.ui.style.app.ButtonRenderer#createButton} to insert a * dropdown element into the content element after the specified content. * @constructor * @extends {goog.ui.style.app.ButtonRenderer} */ goog.ui.style.app. [[#variable3d64a520]]= function ( ) { goog.ui.style.app.ButtonRenderer.call(this ); } ; goog.inherits(goog.ui.style.app. [[#variable3d64a520]],goog.ui.style.app.ButtonRenderer); goog.addSingletonGetter(goog.ui.style.app. [[#variable3d64a520]]); /** * Default CSS class to be applied to the root element of components rendered * by this renderer. * @type {string} */ goog.ui.style.app. [[#variable3d64a520]].CSS_CLASS= [[#variable3d64a420]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3d64a520]] | PrimaryActionButtonRenderer |
1 | 2 | [[#3d64a520]] | MenuButtonRenderer |
2 | 1 | [[#3d64a420]] | 'goog-primaryactionbutton' |
2 | 2 | [[#3d64a420]] | 'goog-menu-button' |