| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 4 | 2 | 0.960 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 1275 | Closure/closure/goog/ui/datepicker.js |
| 2 | 13 | 49 | Closure/closure/goog/ui/itemevent.js |
| 3 | 10 | 670 | Closure/closure/goog/ui/tabpane.js |
| 4 | 10 | 271 | Closure/closure/goog/ui/zippy.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);
|
| ||||
/**
* 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);
|
| ||||
/**
* 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);
|
| ||||
/**
* 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);
|
| |||
/**
* 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5a59bf20]] | ZippyEvent |
| 1 | 2 | [[#5a59bf20]] | TabPaneEvent |
| 1 | 3 | [[#5a59bf20]] | ItemEvent |
| 1 | 4 | [[#5a59bf20]] | DatePickerEvent |
| 2 | 1 | [[#5a59bd60]] | expanded |
| 2 | 2 | [[#5a59bd60]] | page |
| 2 | 3 | [[#5a59bd60]] | item |
| 2 | 4 | [[#5a59bd60]] | date |