| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 15 | 3 | 3 | 0.964 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 15 | 395 | Closure/closure/goog/ui/tree/treecontrol.js |
| 2 | 15 | 446 | Closure/closure/goog/ui/tree/treecontrol.js |
| 3 | 15 | 468 | Closure/closure/goog/ui/tree/treecontrol.js |
| ||||
/**
* Sets whether to show lines.
* @param {boolean} b Whether to show lines.
*/
goog.ui.tree.TreeControl.prototype.setShowLines= function (b){
if (this.showLines_!= b) {
this.showLines_= b;
if (this.isInDocument( )){
this.updateLinesAndExpandIcons_( );
}
}
} ;
/**
* @return {boolean} Whether to show lines.
*/
goog.ui.tree.TreeControl.prototype.getShowLines= function ( )
{
return this.showLines_;
} ;
|
| ||||
/**
* Sets whether to show root lines.
* @param {boolean} b Whether to show root lines.
*/
goog.ui.tree.TreeControl.prototype.setShowRootLines= function (b){
if (this.showRootLines_!= b) {
this.showRootLines_= b;
if (this.isInDocument( )){
this.updateLinesAndExpandIcons_( );
}
}
} ;
/**
* @return {boolean} Whether to show root lines.
*/
goog.ui.tree.TreeControl.prototype.getShowRootLines= function ( )
{
return this.showRootLines_;
} ;
|
| ||||
/**
* Sets whether to show expand icons.
* @param {boolean} b Whether to show expand icons.
*/
goog.ui.tree.TreeControl.prototype.setShowExpandIcons= function (b){
if (this.showExpandIcons_!= b) {
this.showExpandIcons_= b;
if (this.isInDocument( )){
this.updateLinesAndExpandIcons_( );
}
}
} ;
/**
* @return {boolean} Whether to show expand icons.
*/
goog.ui.tree.TreeControl.prototype.getShowExpandIcons= function ( )
{
return this.showExpandIcons_;
} ;
|
| |||
/**
* Sets whether to show lines.
* @param {boolean} b Whether to show lines.
*/
/**
* Sets whether to show root lines.
* @param {boolean} b Whether to show root lines.
*/
/**
* Sets whether to show expand icons.
* @param {boolean} b Whether to show expand icons.
*/
goog.ui.tree.TreeControl.prototype. [[#variable59ea8520]]= function (b)
{ if (this. [[#variable59ea84a0]]!=b)
{ this. [[#variable59ea84a0]]=b;
if (this.isInDocument( ))
{ this.updateLinesAndExpandIcons_( );
}
}
} ;
/**
* @return {boolean} Whether to show lines.
*/
/**
* @return {boolean} Whether to show root lines.
*/
/**
* @return {boolean} Whether to show expand icons.
*/
goog.ui.tree.TreeControl.prototype. [[#variable59ea8480]]= function ( )
{ return this. [[#variable59ea84a0]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#59ea8520]] | setShowLines |
| 1 | 2 | [[#59ea8520]] | setShowRootLines |
| 1 | 3 | [[#59ea8520]] | setShowExpandIcons |
| 2 | 1 | [[#59ea84a0]] | showLines_ |
| 2 | 2 | [[#59ea84a0]] | showRootLines_ |
| 2 | 3 | [[#59ea84a0]] | showExpandIcons_ |
| 3 | 1 | [[#59ea8480]] | getShowLines |
| 3 | 2 | [[#59ea8480]] | getShowRootLines |
| 3 | 3 | [[#59ea8480]] | getShowExpandIcons |