a:27:{s:9:"#provides";s:23:"dojox.layout.ScrollPane";s:9:"#resource";s:20:"layout/ScrollPane.js";s:9:"#requires";a:2:{i:0;a:3:{i:0;s:6:"common";i:1;s:24:"dijit.layout.ContentPane";i:2;s:5:"dijit";}i:1;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";i:2;s:5:"dijit";}}s:23:"dojox.layout.ScrollPane";a:7:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dijit.layout.ContentPane";}s:4:"call";a:2:{i:0;s:24:"dijit.layout.ContentPane";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:79:"A pane that "scrolls" its content based on the mouse poisition inside";s:11:"description";s:348:"A sizable container that takes it's content's natural size and creates a scroll effect based on the relative mouse position. It is an interesting way to display lists of data, or blocks of content, within a confined space. Horizontal scrolling is supported. Combination scrolling is not. FIXME: need to adust the _line somehow, it stops scrolling";s:8:"examples";a:1:{i:0;s:115:"
";}s:9:"classlike";b:1;}s:29:"dojox.layout.ScrollPane._line";a:5:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:8:"instance";s:23:"dojox.layout.ScrollPane";s:4:"type";s:10:"dojo._Line";s:7:"summary";s:48:"storage for our top and bottom most scrollpoints";s:7:"private";b:1;}s:27:"dojox.layout.ScrollPane._lo";a:5:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:8:"instance";s:23:"dojox.layout.ScrollPane";s:4:"type";s:3:"the";s:7:"summary";s:26:"height of the visible pane";s:7:"private";b:1;}s:31:"dojox.layout.ScrollPane._offset";a:3:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.layout.ScrollPane.orientation";a:3:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:4:"type";s:6:"String";s:7:"summary";s:153:"either "horizontal" or "vertical" for scroll orientation. alwaysShow: Boolean whether the scroll helper should hide when mouseleave";}s:32:"dojox.layout.ScrollPane.autoHide";a:2:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:7:"summary";s:0:"";}s:36:"dojox.layout.ScrollPane.templatePath";a:2:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:7:"summary";s:0:"";}s:30:"dojox.layout.ScrollPane.resize";a:5:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"size";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:1099:" if(size){ if(size.h){ dojo.style(this.domNode,'height',size.h+'px'); } if(size.w){ dojo.style(this.domNode,'width',size.w+'px'); } } var dir = this._dir, vert = this._vertical, val = this.containerNode[(vert ? "scrollHeight" : "scrollWidth")]; dojo.style(this.wrapper, this._dir, this.domNode.style[this._dir]); this._lo = dojo.coords(this.wrapper, true); this._size = Math.max(0, val - this._lo[(vert ? "h" : "w")]); if(!this._size){ this.helper.style.display="none"; //make sure we reset scroll position, otherwise the content may be hidden this.wrapper[this._scroll]=0; return; }else{ this.helper.style.display=""; } this._line = new dojo._Line(0 - this._offset, this._size + (this._offset * 2)); // share a relative position w the scroll offset via a line var u = this._lo[(vert ? "h" : "w")], r = Math.min(1, u / val), // ratio s = u * r, // size c = Math.floor(u - (u * r)); // center this._helpLine = new dojo._Line(0, c); // size the helper dojo.style(this.helper, dir, Math.floor(s) + "px");";s:7:"summary";s:185:"calculates required sizes. Call this if you add/remove content manually, or reload the content. if size is passed, it means we need to take care of sizing ourself (this is for IE<8)";}s:34:"dojox.layout.ScrollPane.postCreate";a:4:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:4:"type";s:8:"Function";s:6:"source";s:650:" this.inherited(arguments); // for the helper if(this.autoHide){ this._showAnim = dojo._fade({ node:this.helper, end:0.5, duration:350 }); this._hideAnim = dojo.fadeOut({ node:this.helper, duration: 750 }); } // orientation helper this._vertical = (this.orientation == "vertical"); if(!this._vertical){ dojo.addClass(this.containerNode,"dijitInline"); this._dir = "width"; this._edge = "left"; this._scroll = "scrollLeft"; }else{ this._dir = "height"; this._edge = "top"; this._scroll = "scrollTop"; } if(this._hideAnim){ this._hideAnim.play(); } dojo.style(this.wrapper,"overflow","hidden");";s:7:"summary";s:0:"";}s:28:"dojox.layout.ScrollPane._set";a:6:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"n";a:1:{s:4:"type";s:5:"Float";}}s:6:"source";s:269:" if(!this._size){ return; } // summary: set the pane's scroll offset, and position the virtual scroll helper this.wrapper[this._scroll] = Math.floor(this._line.getValue(n)); dojo.style(this.helper, this._edge, Math.floor(this._helpLine.getValue(n)) + "px"); ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.layout.ScrollPane._calc";a:6:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:5:"Event";}}s:6:"source";s:152:" if(!this._lo){ this.resize(); } this._set(this._vertical ? ((e.pageY - this._lo.y) / this._lo.h) : ((e.pageX - this._lo.x) / this._lo.w) );";s:7:"summary";s:72:"calculate the relative offset of the cursor over the node, and call _set";s:7:"private";b:1;}s:30:"dojox.layout.ScrollPane._enter";a:6:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:130:" if(this._hideAnim){ if(this._hideAnim.status() == "playing"){ this._hideAnim.stop(); } this._showAnim.play(); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dojox.layout.ScrollPane._leave";a:6:{s:9:"prototype";s:23:"dojox.layout.ScrollPane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:51:" if(this._hideAnim){ this._hideAnim.play(); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.layout.ScrollPane._size";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:44:"dojox.layout.ScrollPane.helper.style.display";a:2:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"summary";s:0:"";}s:33:"dojox.layout.ScrollPane._helpLine";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.layout.ScrollPane._showAnim";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.layout.ScrollPane._hideAnim";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.layout.ScrollPane._vertical";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.layout.ScrollPane._dir";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.layout.ScrollPane._edge";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:31:"dojox.layout.ScrollPane._scroll";a:3:{s:8:"instance";s:23:"dojox.layout.ScrollPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:12:"dojox.layout";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:"";}}