CloneSet781


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.983SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115317
Closure/closure/goog/ui/container.js
215443
Closure/closure/goog/ui/control.js
Clone Instance
1
Line Count
15
Source Line
317
Source File
Closure/closure/goog/ui/container.js

/**
 * Returns the DOM element into which child components are to be rendered,
 * or null if the container itself hasn't been rendered yet.  Overrides
 * {@link goog.ui.Component#getContentElement} by delegating to the renderer.
 * @return {Element} Element to contain child elements (null if none).
 */
goog.ui.Container.prototype.getContentElement=  function ( )
                                                           {
  // Delegate to renderer.
  return this.renderer_.getContentElement(this.getElement( ));
                                                           } ;

/**
 * Returns true if the given element can be decorated by this container.
 * Overrides {@link goog.ui.Component#canDecorate}.
 * @param {Element} element Element to decorate.
 * @return {boolean} True iff the element can be decorated.
 */
goog.ui.Container.prototype.canDecorate=  function (element){
  // Delegate to renderer.
  return this.renderer_.canDecorate(element);
                                                            } ;


Clone Instance
2
Line Count
15
Source Line
443
Source File
Closure/closure/goog/ui/control.js

/**
 * Returns the DOM element into which child components are to be rendered,
 * or null if the control itself hasn't been rendered yet.  Overrides
 * {@link goog.ui.Component#getContentElement} by delegating to the renderer.
 * @return {Element} Element to contain child elements (null if none).
 */
goog.ui.Control.prototype.getContentElement=  function ( )
                                                         {
  // Delegate to renderer.
  return this.renderer_.getContentElement(this.getElement( ));
                                                         } ;

/**
 * Returns true if the given element can be decorated by this component.
 * Overrides {@link goog.ui.Component#canDecorate}.
 * @param {Element} element Element to decorate.
 * @return {boolean} Whether the element can be decorated by this component.
 */
goog.ui.Control.prototype.canDecorate=  function (element){
  // Controls support pluggable renderers; delegate to the renderer.
  return this.renderer_.canDecorate(element);
                                                          } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Returns the DOM element into which child components are to be rendered,
 * or null if the control itself hasn't been rendered yet.  Overrides
 * {@link goog.ui.Component#getContentElement} by delegating to the renderer.
 * @return {Element} Element to contain child elements (null if none).
 */
/**
 * Returns the DOM element into which child components are to be rendered,
 * or null if the container itself hasn't been rendered yet.  Overrides
 * {@link goog.ui.Component#getContentElement} by delegating to the renderer.
 * @return {Element} Element to contain child elements (null if none).
 */
goog.ui. [[#variable1f9a7f40]].prototype.getContentElement= function ( )
                                                            {
                                                              // Delegate to renderer.
                                                              return this.renderer_.getContentElement(this.getElement( ));
                                                            } ;
/**
 * Returns true if the given element can be decorated by this component.
 * Overrides {@link goog.ui.Component#canDecorate}.
 * @param {Element} element Element to decorate.
 * @return {boolean} Whether the element can be decorated by this component.
 */
/**
 * Returns true if the given element can be decorated by this container.
 * Overrides {@link goog.ui.Component#canDecorate}.
 * @param {Element} element Element to decorate.
 * @return {boolean} True iff the element can be decorated.
 */
goog.ui. [[#variable1f9a7f40]].prototype.canDecorate= function (element)
                                                      {
                                                        // Controls support pluggable renderers; delegate to the renderer.
                                                        // Delegate to renderer.
                                                        return this.renderer_.canDecorate(element);
                                                      } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f9a7f40]]
Control 
12[[#1f9a7f40]]
Container