| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 4 | 0.955 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 1102 | Closure/closure/goog/ui/serverchart.js |
| 2 | 12 | 1124 | Closure/closure/goog/ui/serverchart.js |
| ||||
/**
* Sets the size of the chart title.
*
* @param {number} size The title size, in points.
*/
goog.ui.ServerChart.prototype.setTitleSize= function (size){
this.titleSize_= size;
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.TITLE_FORMAT,
this.titleColor_+ ','+ this.titleSize_);
} ;
/**
* @return {number} size The title size, in points.
*/
goog.ui.ServerChart.prototype.getTitleSize= function ( )
{
return this.titleSize_;
} ;
|
| ||||
/**
* Sets the color of the chart title.
*
* NOTE: The color string should NOT have a '#' at the beginning of it.
*
* @param {string} color The hex value for the title color.
*/
goog.ui.ServerChart.prototype.setTitleColor= function (color){
this.titleColor_= color;
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.TITLE_FORMAT,
this.titleColor_+ ','+ this.titleSize_);
} ;
/**
* @return {string} color The hex value for the title color.
*/
goog.ui.ServerChart.prototype.getTitleColor= function ( )
{
return this.titleColor_;
} ;
|
| |||
/**
* Sets the size of the chart title.
*
* @param {number} size The title size, in points.
*/
/**
* Sets the color of the chart title.
*
* NOTE: The color string should NOT have a '#' at the beginning of it.
*
* @param {string} color The hex value for the title color.
*/
goog.ui.ServerChart.prototype. [[#variable1eee22e0]]= function ( [[#variable1eee22a0]])
{ this. [[#variable1eee2260]]= [[#variable1eee22a0]];
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.TITLE_FORMAT,this.titleColor_+','+this.titleSize_);
} ;
/**
* @return {number} size The title size, in points.
*/
/**
* @return {string} color The hex value for the title color.
*/
goog.ui.ServerChart.prototype. [[#variable1eee2100]]= function ( )
{ return this. [[#variable1eee2260]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1eee22e0]] | setTitleSize |
| 1 | 2 | [[#1eee22e0]] | setTitleColor |
| 2 | 1 | [[#1eee22a0]] | size |
| 2 | 2 | [[#1eee22a0]] | color |
| 3 | 1 | [[#1eee2260]] | titleSize_ |
| 3 | 2 | [[#1eee2260]] | titleColor_ |
| 4 | 1 | [[#1eee2100]] | getTitleSize |
| 4 | 2 | [[#1eee2100]] | getTitleColor |