CloneSet1167


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17250.953SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117353
Closure/closure/goog/ui/datepicker.js
217378
Closure/closure/goog/ui/datepicker.js
Clone Instance
1
Line Count
17
Source Line
353
Source File
Closure/closure/goog/ui/datepicker.js

/**
 * Sets whether the picker should use a simple navigation menu that only
 * contains controls for navigating to the next and previous month. The default
 * navigation menu contains controls for navigating to the next/previous month,
 * next/previous year, and menus for jumping to specific months and years.
 *
 * @param {boolean} b Whether to use a simple navigation menu.
 */
goog.ui.DatePicker.prototype.setUseSimpleNavigationMenu=  function (b){
  this.simpleNavigation_=  b;
  this.updateNavigationRow_( );
  this.updateCalendarGrid_( );
                                                                      } ;


/**
 * Sets whether a the extra week(s) added always should be at the end. Only
 * applicable if a fixed number of weeks are shown.
 *
 * @param {boolean} b Whether a the extra week(s) added always should be at the
 *     end.
 */
goog.ui.DatePicker.prototype.setExtraWeekAtEnd=  function (b){
  this.extraWeekAtEnd_=  b;
  this.updateCalendarGrid_( );
                                                             } ;


Clone Instance
2
Line Count
17
Source Line
378
Source File
Closure/closure/goog/ui/datepicker.js

/**
 * Sets whether week numbers should be shown.
 *
 * @param {boolean} b Whether week numbers should be shown.
 */
goog.ui.DatePicker.prototype.setShowWeekNum=  function (b){
  this.showWeekNum_=  b;
  // The navigation row may rely on the number of visible columns,
  // so we update it when adding/removing the weeknum column.
  this.updateNavigationRow_( );
  this.updateCalendarGrid_( );
                                                          } ;


/**
 * Sets whether weekday names should be shown.
 *
 * @param {boolean} b Whether weekday names should be shown.
 */
goog.ui.DatePicker.prototype.setShowWeekdayNames=  function (b){
  this.showWeekdays_=  b;
  this.redrawCalendarGrid_( );
                                                               } ;


Clone AbstractionParameter Count: 5Parameter Bindings

/**
 * Sets whether the picker should use a simple navigation menu that only
 * contains controls for navigating to the next and previous month. The default
 * navigation menu contains controls for navigating to the next/previous month,
 * next/previous year, and menus for jumping to specific months and years.
 *
 * @param {boolean} b Whether to use a simple navigation menu.
 */
/**
 * Sets whether week numbers should be shown.
 *
 * @param {boolean} b Whether week numbers should be shown.
 */
goog.ui.DatePicker.prototype. [[#variable62fcb0e0]]= function (b)
                                                     { this. [[#variable62fcafa0]]=b;
                                                       // The navigation row may rely on the number of visible columns,
                                                       // so we update it when adding/removing the weeknum column.
                                                       this.updateNavigationRow_( );
                                                       this.updateCalendarGrid_( );
                                                     } ;
/**
 * Sets whether a the extra week(s) added always should be at the end. Only
 * applicable if a fixed number of weeks are shown.
 *
 * @param {boolean} b Whether a the extra week(s) added always should be at the
 *     end.
 */
/**
 * Sets whether weekday names should be shown.
 *
 * @param {boolean} b Whether weekday names should be shown.
 */
goog.ui.DatePicker.prototype. [[#variable62fcafe0]]= function (b)
                                                     { this. [[#variable62fcaf60]]=b;
                                                       this. [[#variable62fcaf00]]( );
                                                     } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62fcb0e0]]
setUseSimpleNavigationMenu 
12[[#62fcb0e0]]
setShowWeekNum 
21[[#62fcafa0]]
simpleNavigation_ 
22[[#62fcafa0]]
showWeekNum_ 
31[[#62fcafe0]]
setExtraWeekAtEnd 
32[[#62fcafe0]]
setShowWeekdayNames 
41[[#62fcaf60]]
extraWeekAtEnd_ 
42[[#62fcaf60]]
showWeekdays_ 
51[[#62fcaf00]]
updateCalendarGrid_ 
52[[#62fcaf00]]
redrawCalendarGrid_