Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 2 | 0.963 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 48 | Closure/closure/goog/graphics/groupelement.js |
2 | 4 | 50 | Closure/closure/goog/graphics/imageelement.js |
3 | 4 | 60 | Closure/closure/goog/graphics/svgelement.js |
4 | 4 | 234 | Closure/closure/goog/graphics/svgelement.js |
| ||||
/** * Interface for a graphics group element. * 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.AbstractGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.Element} */ goog.graphics.GroupElement= function (element, graphics){ goog.graphics.Element.call(this, element, graphics); } ; goog.inherits(goog.graphics.GroupElement, goog.graphics.Element); |
| ||||
/** * Interface for a graphics image element. * You should not construct objects from this constructor. Instead, * you should use {@code goog.graphics.Graphics.drawImage} and it * will return an implementation of this interface for you. * * @param {Element} element The DOM element to wrap. * @param {goog.graphics.AbstractGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.Element} */ goog.graphics.ImageElement= function (element, graphics){ goog.graphics.Element.call(this, element, graphics); } ; goog.inherits(goog.graphics.ImageElement, goog.graphics.Element); |
| ||||
/** * Thin wrapper for SVG group elements. * 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.SvgGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.GroupElement} */ goog.graphics.SvgGroupElement= function (element, graphics){ goog.graphics.GroupElement.call(this, element, graphics); } ; goog.inherits(goog.graphics.SvgGroupElement, goog.graphics.GroupElement); |
| ||||
/** * Thin wrapper for SVG 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.SvgGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.ImageElement} */ goog.graphics.SvgImageElement= function (element, graphics){ goog.graphics.ImageElement.call(this, element, graphics); } ; goog.inherits(goog.graphics.SvgImageElement, goog.graphics.ImageElement); |
| |||
/** * Interface for a graphics image element. * You should not construct objects from this constructor. Instead, * you should use {@code goog.graphics.Graphics.drawImage} and it * will return an implementation of this interface for you. * * @param {Element} element The DOM element to wrap. * @param {goog.graphics.AbstractGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.Element} */ /** * Thin wrapper for SVG group elements. * 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.SvgGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.GroupElement} */ /** * Thin wrapper for SVG 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.SvgGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.ImageElement} */ /** * Interface for a graphics group element. * 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.AbstractGraphics} graphics The graphics creating * this element. * @constructor * @extends {goog.graphics.Element} */ goog.graphics. [[#variable5cc3c7c0]]= function (element,graphics) { goog.graphics. [[#variable5cc3c760]].call(this,element,graphics); } ; goog.inherits(goog.graphics. [[#variable5cc3c7c0]],goog.graphics. [[#variable5cc3c760]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5cc3c7c0]] | ImageElement |
1 | 2 | [[#5cc3c7c0]] | SvgGroupElement |
1 | 3 | [[#5cc3c7c0]] | SvgImageElement |
1 | 4 | [[#5cc3c7c0]] | GroupElement |
2 | 1 | [[#5cc3c760]] | Element |
2 | 2 | [[#5cc3c760]] | GroupElement |
2 | 3 | [[#5cc3c760]] | ImageElement |
2 | 4 | [[#5cc3c760]] | Element |