CloneSet259


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
30260.959SourceElements[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
130257
Closure/closure/goog/graphics/ext/element.js
230335
Closure/closure/goog/graphics/ext/element.js
Clone Instance
1
Line Count
30
Source Line
257
Source File
Closure/closure/goog/graphics/ext/element.js

/**
 * Sets the left coordinate of the element.  Overwrites any previous value of
 * left, center, or right for this element.
 * @param {string|number} left The left coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
goog.graphics.ext.Element.prototype.setLeft=  function (left, opt_chain){
  this.setPosition_(this.xPosition_,
      left,
      goog.graphics.ext.Element.PositionType_.START,
      opt_chain);
                                                                        } ;


/**
 * @return {number} The right coordinate of the element, in units of the
 *     parent's coordinate system.
 */
goog.graphics.ext.Element.prototype.getRight=  function ( )
                                                          {
  return this.xPosition_.getEnd( );
                                                          } ;

/**
 * Sets the right coordinate of the element.  Overwrites any previous value of
 * left, center, or right for this element.
 * @param {string|number} right The right coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
goog.graphics.ext.Element.prototype.setRight=  function (right, opt_chain){
  this.setPosition_(this.xPosition_,
      right,
      goog.graphics.ext.Element.PositionType_.END,
      opt_chain);
                                                                          } ;


Clone Instance
2
Line Count
30
Source Line
335
Source File
Closure/closure/goog/graphics/ext/element.js

/**
 * Sets the top coordinate of the element.  Overwrites any previous value of
 * top, middle, or bottom for this element.
 * @param {string|number} top The top coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
goog.graphics.ext.Element.prototype.setTop=  function (top, opt_chain){
  this.setPosition_(this.yPosition_,
      top,
      goog.graphics.ext.Element.PositionType_.START,
      opt_chain);
                                                                      } ;


/**
 * @return {number} The bottom coordinate of the element, in units of the
 *     parent's coordinate system.
 */
goog.graphics.ext.Element.prototype.getBottom=  function ( )
                                                           {
  return this.yPosition_.getEnd( );
                                                           } ;

/**
 * Sets the bottom coordinate of the element.  Overwrites any previous value of
 * top, middle, or bottom for this element.
 * @param {string|number} bottom The bottom coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
goog.graphics.ext.Element.prototype.setBottom=  function (bottom, opt_chain){
  this.setPosition_(this.yPosition_,
      bottom,
      goog.graphics.ext.Element.PositionType_.END,
      opt_chain);
                                                                            } ;


Clone AbstractionParameter Count: 6Parameter Bindings

/**
 * Sets the left coordinate of the element.  Overwrites any previous value of
 * left, center, or right for this element.
 * @param {string|number} left The left coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
/**
 * Sets the top coordinate of the element.  Overwrites any previous value of
 * top, middle, or bottom for this element.
 * @param {string|number} top The top coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
goog.graphics.ext.Element.prototype. [[#variable574f5d00]]= function ( [[#variable574f5c00]],opt_chain)
                                                            { this.setPosition_(this. [[#variable574f5b20]], [[#variable574f5c00]],goog.graphics.ext.Element.PositionType_.START,opt_chain);
                                                            } ;
/**
 * @return {number} The right coordinate of the element, in units of the
 *     parent's coordinate system.
 */
/**
 * @return {number} The bottom coordinate of the element, in units of the
 *     parent's coordinate system.
 */
goog.graphics.ext.Element.prototype. [[#variable574f5ba0]]= function ( )
                                                            { return this. [[#variable574f5b20]].getEnd( );
                                                            } ;
/**
 * Sets the right coordinate of the element.  Overwrites any previous value of
 * left, center, or right for this element.
 * @param {string|number} right The right coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
/**
 * Sets the bottom coordinate of the element.  Overwrites any previous value of
 * top, middle, or bottom for this element.
 * @param {string|number} bottom The bottom coordinate.
 * @param {boolean=} opt_chain Optional flag to specify this function is part
 *     of a chain of calls and therefore transformations should be set as
 *     pending but not yet performed.
 */
goog.graphics.ext.Element.prototype. [[#variable574f5ae0]]= function ( [[#variable574f5a80]],opt_chain)
                                                            { this.setPosition_(this. [[#variable574f5b20]], [[#variable574f5a80]],goog.graphics.ext.Element.PositionType_.END,opt_chain);
                                                            } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#574f5d00]]
setLeft 
12[[#574f5d00]]
setTop 
21[[#574f5c00]]
left 
22[[#574f5c00]]
top 
31[[#574f5b20]]
xPosition_ 
32[[#574f5b20]]
yPosition_ 
41[[#574f5ba0]]
getRight 
42[[#574f5ba0]]
getBottom 
51[[#574f5ae0]]
setRight 
52[[#574f5ae0]]
setBottom 
61[[#574f5a80]]
right 
62[[#574f5a80]]
bottom