Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 1 | 0.973 | SourceElements[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 106 | Closure/closure/goog/ui/media/flickr.js |
2 | 5 | 97 | Closure/closure/goog/ui/media/mp3.js |
3 | 5 | 87 | Closure/closure/goog/ui/media/photo.js |
| ||||
/** * Subclasses a goog.ui.media.MediaRenderer to provide a FlickrSet specific * media renderer. * * This class knows how to parse FlickrSet URLs, and render the DOM structure * of flickr set players. This class is meant to be used as a singleton static * stateless class, that takes {@code goog.ui.media.Media} instances and renders * it. It expects {@code goog.ui.media.Media.getModel} to return a well formed, * previously constructed, set id {@see goog.ui.media.FlickrSet.parseUrl}, * which is the data model this renderer will use to construct the DOM * structure. {@see goog.ui.media.FlickrSet.newControl} for a example of * constructing a control with this renderer. * * This design is patterned after * http://go/closure_control_subclassing * * It uses {@link goog.ui.media.FlashObject} to embed the flash object. * * @constructor * @extends {goog.ui.media.MediaRenderer} */ goog.ui.media.FlickrSet= function ( ) { goog.ui.media.MediaRenderer.call(this ); } ; goog.inherits(goog.ui.media.FlickrSet, goog.ui.media.MediaRenderer); goog.addSingletonGetter(goog.ui.media.FlickrSet); |
| ||||
/** * Subclasses a goog.ui.media.MediaRenderer to provide a Mp3 specific media * renderer. * * This class knows how to parse mp3 URLs, and render the DOM structure * of mp3 flash players. This class is meant to be used as a singleton static * stateless class, that takes {@code goog.ui.media.Media} instances and renders * it. It expects {@code goog.ui.media.Media.getModel} to return a well formed, * previously checked, mp3 URL {@see goog.ui.media.PicasaAlbum.parseUrl}, * which is the data model this renderer will use to construct the DOM * structure. {@see goog.ui.media.PicasaAlbum.newControl} for an example of * constructing a control with this renderer. * * This design is patterned after http://go/closure_control_subclassing * * It uses {@link goog.ui.media.FlashObject} to embed the flash object. * * @constructor * @extends {goog.ui.media.MediaRenderer} */ goog.ui.media.Mp3= function ( ) { goog.ui.media.MediaRenderer.call(this ); } ; goog.inherits(goog.ui.media.Mp3, goog.ui.media.MediaRenderer); goog.addSingletonGetter(goog.ui.media.Mp3); |
| ||||
/** * Subclasses a goog.ui.media.MediaRenderer to provide a Photo specific media * renderer. Provides a base class for any other renderer that wants to display * photos. * * This class is meant to be used as a singleton static stateless class, that * takes {@code goog.ui.media.Media} instances and renders it. * * This design is patterned after * http://go/closure_control_subclassing * * @constructor * @extends {goog.ui.media.MediaRenderer} */ goog.ui.media.Photo= function ( ) { goog.ui.media.MediaRenderer.call(this ); } ; goog.inherits(goog.ui.media.Photo, goog.ui.media.MediaRenderer); goog.addSingletonGetter(goog.ui.media.Photo); |
| |||
/** * Subclasses a goog.ui.media.MediaRenderer to provide a FlickrSet specific * media renderer. * * This class knows how to parse FlickrSet URLs, and render the DOM structure * of flickr set players. This class is meant to be used as a singleton static * stateless class, that takes {@code goog.ui.media.Media} instances and renders * it. It expects {@code goog.ui.media.Media.getModel} to return a well formed, * previously constructed, set id {@see goog.ui.media.FlickrSet.parseUrl}, * which is the data model this renderer will use to construct the DOM * structure. {@see goog.ui.media.FlickrSet.newControl} for a example of * constructing a control with this renderer. * * This design is patterned after * http://go/closure_control_subclassing * * It uses {@link goog.ui.media.FlashObject} to embed the flash object. * * @constructor * @extends {goog.ui.media.MediaRenderer} */ /** * Subclasses a goog.ui.media.MediaRenderer to provide a Mp3 specific media * renderer. * * This class knows how to parse mp3 URLs, and render the DOM structure * of mp3 flash players. This class is meant to be used as a singleton static * stateless class, that takes {@code goog.ui.media.Media} instances and renders * it. It expects {@code goog.ui.media.Media.getModel} to return a well formed, * previously checked, mp3 URL {@see goog.ui.media.PicasaAlbum.parseUrl}, * which is the data model this renderer will use to construct the DOM * structure. {@see goog.ui.media.PicasaAlbum.newControl} for an example of * constructing a control with this renderer. * * This design is patterned after http://go/closure_control_subclassing * * It uses {@link goog.ui.media.FlashObject} to embed the flash object. * * @constructor * @extends {goog.ui.media.MediaRenderer} */ /** * Subclasses a goog.ui.media.MediaRenderer to provide a Photo specific media * renderer. Provides a base class for any other renderer that wants to display * photos. * * This class is meant to be used as a singleton static stateless class, that * takes {@code goog.ui.media.Media} instances and renders it. * * This design is patterned after * http://go/closure_control_subclassing * * @constructor * @extends {goog.ui.media.MediaRenderer} */ goog.ui.media. [[#variable3afcc020]]= function ( ) { goog.ui.media.MediaRenderer.call(this ); } ; goog.inherits(goog.ui.media. [[#variable3afcc020]],goog.ui.media.MediaRenderer); goog.addSingletonGetter(goog.ui.media. [[#variable3afcc020]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3afcc020]] | FlickrSet |
1 | 2 | [[#3afcc020]] | Mp3 |
1 | 3 | [[#3afcc020]] | Photo |