CloneSet214


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23340.959SourceElements[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
123191
Closure/closure/goog/ui/progressbar.js
223220
Closure/closure/goog/ui/progressbar.js
323249
Closure/closure/goog/ui/progressbar.js
Clone Instance
1
Line Count
23
Source Line
191
Source File
Closure/closure/goog/ui/progressbar.js

/**
 * @return {number} The value.
 */
goog.ui.ProgressBar.prototype.getValue=  function ( )
                                                    {
  return this.rangeModel_.getValue( );
                                                    } ;

/**
 * Sets the value
 * @param {number} v The value.
 */
goog.ui.ProgressBar.prototype.setValue=  function (v){
  this.rangeModel_.setValue(v);
  if (this.getElement( )){
    this.setValueState_( );
                         }
                                                     } ;


/**
 * Sets the state for a11y of the current value.
 * @private
 */
goog.ui.ProgressBar.prototype.setValueState_=  function ( )
                                                          {
  goog.dom.a11y.setState(this.getElement( ),'valuenow', this.getValue( ));
                                                          } ;


Clone Instance
2
Line Count
23
Source Line
220
Source File
Closure/closure/goog/ui/progressbar.js

/**
 * @return {number} The minimum value.
 */
goog.ui.ProgressBar.prototype.getMinimum=  function ( )
                                                      {
  return this.rangeModel_.getMinimum( );
                                                      } ;

/**
 * Sets the minimum number
 * @param {number} v The minimum value.
 */
goog.ui.ProgressBar.prototype.setMinimum=  function (v){
  this.rangeModel_.setMinimum(v);
  if (this.getElement( )){
    this.setMinimumState_( );
                         }
                                                       } ;


/**
 * Sets the state for a11y of the minimum value.
 * @private
 */
goog.ui.ProgressBar.prototype.setMinimumState_=  function ( )
                                                            {
  goog.dom.a11y.setState(this.getElement( ),'valuemin', this.getMinimum( ));
                                                            } ;


Clone Instance
3
Line Count
23
Source Line
249
Source File
Closure/closure/goog/ui/progressbar.js

/**
 * @return {number} The maximum value.
 */
goog.ui.ProgressBar.prototype.getMaximum=  function ( )
                                                      {
  return this.rangeModel_.getMaximum( );
                                                      } ;

/**
 * Sets the maximum number
 * @param {number} v The maximum value.
 */
goog.ui.ProgressBar.prototype.setMaximum=  function (v){
  this.rangeModel_.setMaximum(v);
  if (this.getElement( )){
    this.setMaximumState_( );
                         }
                                                       } ;


/**
 * Sets the state for a11y of the maximum valiue.
 * @private
 */
goog.ui.ProgressBar.prototype.setMaximumState_=  function ( )
                                                            {
  goog.dom.a11y.setState(this.getElement( ),'valuemax', this.getMaximum( ));
                                                            } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * @return {number} The value.
 */
/**
 * @return {number} The minimum value.
 */
/**
 * @return {number} The maximum value.
 */
goog.ui.ProgressBar.prototype. [[#variable619ea9a0]]= function ( )
                                                      { return this.rangeModel_. [[#variable619ea9a0]]( );
                                                      } ;
/**
 * Sets the value
 * @param {number} v The value.
 */
/**
 * Sets the minimum number
 * @param {number} v The minimum value.
 */
/**
 * Sets the maximum number
 * @param {number} v The maximum value.
 */
goog.ui.ProgressBar.prototype. [[#variable619eb840]]= function (v)
                                                      { this.rangeModel_. [[#variable619eb840]](v);
                                                        if (this.getElement( ))
                                                          { this. [[#variable619ea940]]( );
                                                          }
                                                      } ;
/**
 * Sets the state for a11y of the current value.
 * @private
 */
/**
 * Sets the state for a11y of the minimum value.
 * @private
 */
/**
 * Sets the state for a11y of the maximum valiue.
 * @private
 */
goog.ui.ProgressBar.prototype. [[#variable619ea940]]= function ( )
                                                      { goog.dom.a11y.setState(this.getElement( ), [[#variable619eb760]],this. [[#variable619ea9a0]]( ));
                                                      } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#619ea9a0]]
getValue 
12[[#619ea9a0]]
getMinimum 
13[[#619ea9a0]]
getMaximum 
21[[#619eb840]]
setValue 
22[[#619eb840]]
setMinimum 
23[[#619eb840]]
setMaximum 
31[[#619ea940]]
setValueState_ 
32[[#619ea940]]
setMinimumState_ 
33[[#619ea940]]
setMaximumState_ 
41[[#619eb760]]
'valuenow' 
42[[#619eb760]]
'valuemin' 
43[[#619eb760]]
'valuemax'