CloneSet252


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10420.960SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1101275
Closure/closure/goog/ui/datepicker.js
21349
Closure/closure/goog/ui/itemevent.js
310670
Closure/closure/goog/ui/tabpane.js
410271
Closure/closure/goog/ui/zippy.js
Clone Instance
1
Line Count
10
Source Line
1275
Source File
Closure/closure/goog/ui/datepicker.js

/**
 * Object representing a date picker event.
 *
 * @param {string} type Event type.
 * @param {goog.ui.DatePicker} target Date picker initiating event.
 * @param {goog.date.Date} date Selected date.
 * @constructor
 * @extends {goog.events.Event}
 */
goog.ui.DatePickerEvent=  function (type, target, date){
  goog.events.Event.call(this, type, target);

  /**
   * The selected date
   * @type {goog.date.Date}
   */
  this.date=  date;
                                                       } ;
goog.inherits(goog.ui.DatePickerEvent, goog.events.Event);


Clone Instance
2
Line Count
13
Source Line
49
Source File
Closure/closure/goog/ui/itemevent.js

/**
 * Generic ui event class for events that take a single item like a menu click
 * event.
 *
 * @constructor
 * @extends {goog.events.Event}
 * @param {string} type Event Type.
 * @param {Object} target Reference to the object that is the target
 *                        of this event.
 * @param {Object} item The item that was clicked.
 */
goog.ui.ItemEvent=  function (type, target, item){
  goog.events.Event.call(this, type, target);

  /**
   * Item for the event. The type of this object is specific to the type
   * of event. For a menu, it would be the menu item that was clicked. For a
   * listbox selection, it would be the listitem that was selected.
   *
   * @type {Object}
   */
  this.item=  item;
                                                 } ;
goog.inherits(goog.ui.ItemEvent, goog.events.Event);


Clone Instance
3
Line Count
10
Source Line
670
Source File
Closure/closure/goog/ui/tabpane.js

/**
 * Object representing a tab pane page changed event.
 *
 * @param {string} type Event type.
 * @param {goog.ui.TabPane} target Tab widget initiating event.
 * @param {goog.ui.TabPane.TabPage} page Selected page in tab pane.
 * @extends {goog.events.Event}
 * @constructor
 */
goog.ui.TabPaneEvent=  function (type, target, page){
  goog.events.Event.call(this, type, target);

  /**
   * The selected page.
   * @type {goog.ui.TabPane.TabPage}
   */
  this.page=  page;
                                                    } ;
goog.inherits(goog.ui.TabPaneEvent, goog.events.Event);


Clone Instance
4
Line Count
10
Source Line
271
Source File
Closure/closure/goog/ui/zippy.js

/**
 * Object representing a zippy toggle event.
 *
 * @param {string} type Event type.
 * @param {goog.ui.Zippy} target Zippy widget initiating event.
 * @param {boolean} expanded Expanded state.
 * @extends {goog.events.Event}
 * @constructor
 */
goog.ui.ZippyEvent=  function (type, target, expanded){
  goog.events.Event.call(this, type, target);

  /**
   * The expanded state.
   * @type {boolean}
   */
  this.expanded=  expanded;
                                                      } ;
goog.inherits(goog.ui.ZippyEvent, goog.events.Event);


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Object representing a zippy toggle event.
 *
 * @param {string} type Event type.
 * @param {goog.ui.Zippy} target Zippy widget initiating event.
 * @param {boolean} expanded Expanded state.
 * @extends {goog.events.Event}
 * @constructor
 */
/**
 * Object representing a tab pane page changed event.
 *
 * @param {string} type Event type.
 * @param {goog.ui.TabPane} target Tab widget initiating event.
 * @param {goog.ui.TabPane.TabPage} page Selected page in tab pane.
 * @extends {goog.events.Event}
 * @constructor
 */
/**
 * Generic ui event class for events that take a single item like a menu click
 * event.
 *
 * @constructor
 * @extends {goog.events.Event}
 * @param {string} type Event Type.
 * @param {Object} target Reference to the object that is the target
 *                        of this event.
 * @param {Object} item The item that was clicked.
 */
/**
 * Object representing a date picker event.
 *
 * @param {string} type Event type.
 * @param {goog.ui.DatePicker} target Date picker initiating event.
 * @param {goog.date.Date} date Selected date.
 * @constructor
 * @extends {goog.events.Event}
 */
goog.ui. [[#variable5a59bf20]]= function (type,target, [[#variable5a59bd60]])
                                { goog.events.Event.call(this,type,target);
                                  /**
                                     * The expanded state.
                                     * @type {boolean}
                                     */
                                  /**
                                     * The selected page.
                                     * @type {goog.ui.TabPane.TabPage}
                                     */
                                  /**
                                     * Item for the event. The type of this object is specific to the type
                                     * of event. For a menu, it would be the menu item that was clicked. For a
                                     * listbox selection, it would be the listitem that was selected.
                                     *
                                     * @type {Object}
                                     */
                                  /**
                                     * The selected date
                                     * @type {goog.date.Date}
                                     */
                                  this. [[#variable5a59bd60]]= [[#variable5a59bd60]];
                                } ;
goog.inherits(goog.ui. [[#variable5a59bf20]],goog.events.Event);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a59bf20]]
ZippyEvent 
12[[#5a59bf20]]
TabPaneEvent 
13[[#5a59bf20]]
ItemEvent 
14[[#5a59bf20]]
DatePickerEvent 
21[[#5a59bd60]]
expanded 
22[[#5a59bd60]]
page 
23[[#5a59bd60]]
item 
24[[#5a59bd60]]
date