a:26:{s:9:"#provides";s:19:"dojox.image.Gallery";s:9:"#resource";s:16:"image/Gallery.js";s:9:"#requires";a:5:{i:0;a:3:{i:0;s:6:"common";i:1;s:7:"dojo.fx";i:2;s:4:"dojo";}i:1;a:3:{i:0;s:6:"common";i:1;s:13:"dijit._Widget";i:2;s:5:"dijit";}i:2;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";i:2;s:5:"dijit";}i:3;a:2:{i:0;s:6:"common";i:1;s:27:"dojox.image.ThumbnailPicker";}i:4;a:2:{i:0;s:6:"common";i:1;s:21:"dojox.image.SlideShow";}}s:19:"dojox.image.Gallery";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dijit._Widget";}s:4:"call";a:2:{i:0;s:13:"dijit._Widget";i:1;s:16:"dijit._Templated";}}s:6:"mixins";a:1:{s:9:"prototype";a:1:{i:0;s:26:"dijit._Templated.prototype";}}s:7:"summary";s:88:"Gallery widget that wraps a dojox.image.ThumbnailPicker and dojox.image.SlideShow widget";s:9:"classlike";b:1;}s:31:"dojox.image.Gallery.imageHeight";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:6:"Number";s:7:"summary";s:50:"Maximum height of an image in the SlideShow widget";}s:30:"dojox.image.Gallery.imageWidth";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:6:"Number";s:7:"summary";s:49:"Maximum width of an image in the SlideShow widget";}s:28:"dojox.image.Gallery.pageSize";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:6:"Number";s:7:"summary";s:66:"The number of records to retrieve from the data store per request.";}s:28:"dojox.image.Gallery.autoLoad";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:7:"Boolean";s:7:"summary";s:110:"If true, images are loaded before the user views them. If false, an image is loaded when the user displays it.";}s:28:"dojox.image.Gallery.linkAttr";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:6:"String";s:7:"summary";s:113:"Defines the name of the attribute to request from the store to retrieve the URL to link to from an image, if any.";}s:34:"dojox.image.Gallery.imageThumbAttr";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:6:"String";s:7:"summary";s:103:"Defines the name of the attribute to request from the store to retrieve the URL to the thumbnail image.";}s:34:"dojox.image.Gallery.imageLargeAttr";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:6:"String";s:7:"summary";s:93:"Defines the name of the attribute to request from the store to retrieve the URL to the image.";}s:29:"dojox.image.Gallery.titleAttr";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:6:"String";s:7:"summary";s:105:"Defines the name of the attribute to request from the store to retrieve the title of the picture, if any.";}s:37:"dojox.image.Gallery.slideshowInterval";a:3:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:7:"Integer";s:7:"summary";s:57:"time in seconds, between image changes in the slide show.";}s:32:"dojox.image.Gallery.templatePath";a:2:{s:9:"prototype";s:19:"dojox.image.Gallery";s:7:"summary";s:0:"";}s:30:"dojox.image.Gallery.postCreate";a:4:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:8:"Function";s:6:"source";s:1897:" this.widgetid = this.id; this.inherited(arguments) this.thumbPicker = new dojox.image.ThumbnailPicker({ linkAttr: this.linkAttr, imageLargeAttr: this.imageLargeAttr, imageThumbAttr: this.imageThumbAttr, titleAttr: this.titleAttr, useLoadNotifier: true, size: this.imageWidth }, this.thumbPickerNode); this.slideShow = new dojox.image.SlideShow({ imageHeight: this.imageHeight, imageWidth: this.imageWidth, autoLoad: this.autoLoad, linkAttr: this.linkAttr, imageLargeAttr: this.imageLargeAttr, titleAttr: this.titleAttr, slideshowInterval: this.slideshowInterval, pageSize: this.pageSize }, this.slideShowNode); var _this = this; //When an image is shown in the Slideshow, make sure it is visible //in the ThumbnailPicker dojo.subscribe(this.slideShow.getShowTopicName(), function(packet){ //if(packet.index < _this.thumbPicker._thumbIndex // || packet.index > _this.thumbPicker._thumbIndex + _this.thumbPicker.numberThumbs -1){ //if(!_this.thumbPicker.isVisible(packet.index)){ //var index = packet.index - (packet.index % _this.thumbPicker.numberThumbs); _this.thumbPicker._showThumbs(packet.index); //} }); //When the user clicks a thumbnail, show that image dojo.subscribe(this.thumbPicker.getClickTopicName(), function(evt){ _this.slideShow.showImage(evt.index); }); //When the ThumbnailPicker moves to show a new set of pictures, //make the Slideshow start loading those pictures first. dojo.subscribe(this.thumbPicker.getShowTopicName(), function(evt){ _this.slideShow.moveImageLoadingPointer(evt.index); }); //When an image finished loading in the slideshow, update the loading //notification in the ThumbnailPicker dojo.subscribe(this.slideShow.getLoadTopicName(), function(index){ _this.thumbPicker.markImageLoaded(index); }); this._centerChildren();";s:7:"summary";s:73:"Initializes the widget, creates the ThumbnailPicker and SlideShow widgets";}s:32:"dojox.image.Gallery.setDataStore";a:5:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:9:"dataStore";a:2:{s:4:"type";s:2:"An";s:7:"summary";s:75:"implementation of the dojo.data.api.Read API. This accesses the image data.";}s:7:"request";a:2:{s:4:"type";s:2:"An";s:7:"summary";s:125:"implementation of the dojo.data.api.Request API. This specifies the query and paging information to be used by the data store";}s:10:"paramNames";a:2:{s:4:"type";s:8:"optional";s:7:"summary";s:177:"An object defining the names of the item attributes to fetch from the data store. The four attributes allowed are 'linkAttr', 'imageLargeAttr', 'imageThumbAttr' and 'titleAttr'";}}s:6:"source";s:127:" this.thumbPicker.setDataStore(dataStore, request, paramNames); this.slideShow.setDataStore(dataStore, request, paramNames);";s:7:"summary";s:58:"Sets the data store and request objects to read data from.";}s:25:"dojox.image.Gallery.reset";a:4:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:8:"Function";s:6:"source";s:53:" this.slideShow.reset(); this.thumbPicker.reset();";s:7:"summary";s:38:"Resets the widget to its initial state";}s:33:"dojox.image.Gallery.showNextImage";a:5:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:7:"inTimer";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:68:"If true, a slideshow is active, otherwise the slideshow is inactive.";}}s:6:"source";s:33:" this.slideShow.showNextImage();";s:7:"summary";s:86:"Changes the image being displayed in the SlideShow to the next image in the data store";}s:35:"dojox.image.Gallery.toggleSlideshow";a:4:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:8:"Function";s:6:"source";s:35:" this.slideShow.toggleSlideshow();";s:7:"summary";s:39:"Switches the slideshow mode on and off.";}s:29:"dojox.image.Gallery.showImage";a:5:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"index";a:1:{s:4:"type";s:0:"";}s:8:"callback";a:2:{s:4:"type";s:8:"optional";s:7:"summary";s:83:"Function Optional callback function to call when the image has finished displaying.";}}s:6:"source";s:44:" this.slideShow.showImage(index, callback);";s:7:"summary";s:98:"Shows the image at index 'idx'. idx: Number The position of the image in the data store to display";}s:35:"dojox.image.Gallery._centerChildren";a:5:{s:9:"prototype";s:19:"dojox.image.Gallery";s:4:"type";s:8:"Function";s:6:"source";s:365:" var thumbSize = dojo.marginBox(this.thumbPicker.outerNode); var slideSize = dojo.marginBox(this.slideShow.outerNode); var diff = (thumbSize.w - slideSize.w) / 2; if(diff > 0) { dojo.style(this.slideShow.outerNode, "marginLeft", diff + "px"); } else if(diff < 0) { dojo.style(this.thumbPicker.outerNode, "marginLeft", (diff * -1) + "px"); }";s:7:"summary";s:72:"Ensures that the ThumbnailPicker and the SlideShow widgets are centered.";s:7:"private";b:1;}s:28:"dojox.image.Gallery.widgetid";a:2:{s:8:"instance";s:19:"dojox.image.Gallery";s:7:"summary";s:0:"";}s:31:"dojox.image.Gallery.thumbPicker";a:2:{s:8:"instance";s:19:"dojox.image.Gallery";s:7:"summary";s:0:"";}s:29:"dojox.image.Gallery.slideShow";a:2:{s:8:"instance";s:19:"dojox.image.Gallery";s:7:"summary";s:0:"";}s:11:"dojox.image";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}