| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.978 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 77 | Closure/closure/goog/graphics/vmlelement.js |
| 2 | 3 | 344 | Closure/closure/goog/graphics/vmlelement.js |
| ||||
/**
* Thin wrapper for VML group elements.
* This is an implementation of the goog.graphics.GroupElement interface.
* You should not construct objects from this constructor. The graphics
* will return the object for you.
* @param {Element} element The DOM element to wrap.
* @param {goog.graphics.VmlGraphics} graphics The graphics creating
* this element.
* @constructor
* @extends {goog.graphics.GroupElement}
*/
goog.graphics.VmlGroupElement= function (element, graphics){
this.id_= element.id;
goog.graphics.GroupElement.call(this, element, graphics);
} ;
|
| ||||
/**
* Thin wrapper for VML image elements.
* This is an implementation of the goog.graphics.ImageElement interface.
* You should not construct objects from this constructor. The graphics
* will return the object for you.
* @param {Element} element The DOM element to wrap.
* @param {goog.graphics.VmlGraphics} graphics The graphics creating
* this element.
* @constructor
* @extends {goog.graphics.ImageElement}
*/
goog.graphics.VmlImageElement= function (element, graphics){
this.id_= element.id;
goog.graphics.ImageElement.call(this, element, graphics);
} ;
|
| |||
/**
* Thin wrapper for VML image elements.
* This is an implementation of the goog.graphics.ImageElement interface.
* You should not construct objects from this constructor. The graphics
* will return the object for you.
* @param {Element} element The DOM element to wrap.
* @param {goog.graphics.VmlGraphics} graphics The graphics creating
* this element.
* @constructor
* @extends {goog.graphics.ImageElement}
*/
/**
* Thin wrapper for VML group elements.
* This is an implementation of the goog.graphics.GroupElement interface.
* You should not construct objects from this constructor. The graphics
* will return the object for you.
* @param {Element} element The DOM element to wrap.
* @param {goog.graphics.VmlGraphics} graphics The graphics creating
* this element.
* @constructor
* @extends {goog.graphics.GroupElement}
*/
goog.graphics. [[#variable3eadae80]]= function (element,graphics)
{ this.id_=element.id;
goog.graphics. [[#variable3eadae00]].call(this,element,graphics);
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3eadae80]] | VmlImageElement |
| 1 | 2 | [[#3eadae80]] | VmlGroupElement |
| 2 | 1 | [[#3eadae00]] | ImageElement |
| 2 | 2 | [[#3eadae00]] | GroupElement |