Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.976 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 317 | Closure/closure/goog/ui/popupcolorpicker.js |
2 | 11 | 342 | Closure/closure/goog/ui/popupmenu.js |
| ||||
/** * Sets whether the color picker should toggle off if it is already open. * @param {boolean} toggle The new toggle mode. */ goog.ui.PopupColorPicker.prototype.setToggleMode= function (toggle){ this.toggleMode_= toggle; } ; /** * Gets whether the colorpicker is in toggle mode * @return {boolean} toggle. */ goog.ui.PopupColorPicker.prototype.getToggleMode= function ( ) { return this.toggleMode_; } ; |
| ||||
/** * Sets whether the menu should toggle if it is already open. For context * menus this should be false, for toolbar menus it makes more sense to be true. * @param {boolean} toggle The new toggle mode. */ goog.ui.PopupMenu.prototype.setToggleMode= function (toggle){ this.toggleMode_= toggle; } ; /** * Gets whether the menu is in toggle mode * @return {boolean} toggle. */ goog.ui.PopupMenu.prototype.getToggleMode= function ( ) { return this.toggleMode_; } ; |
| |||
/** * Sets whether the menu should toggle if it is already open. For context * menus this should be false, for toolbar menus it makes more sense to be true. * @param {boolean} toggle The new toggle mode. */ /** * Sets whether the color picker should toggle off if it is already open. * @param {boolean} toggle The new toggle mode. */ goog.ui. [[#variable63477a00]].prototype.setToggleMode= function (toggle) { this.toggleMode_=toggle; } ; /** * Gets whether the menu is in toggle mode * @return {boolean} toggle. */ /** * Gets whether the colorpicker is in toggle mode * @return {boolean} toggle. */ goog.ui. [[#variable63477a00]].prototype.getToggleMode= function ( ) { return this.toggleMode_; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#63477a00]] | PopupMenu |
1 | 2 | [[#63477a00]] | PopupColorPicker |