a:38:{s:9:"#provides";s:24:"dojox.layout.ExpandoPane";s:9:"#resource";s:21:"layout/ExpandoPane.js";s:9:"#requires";a:3:{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";}i:2;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Container";i:2;s:5:"dijit";}}s:24:"dojox.layout.ExpandoPane";a:6:{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:3:{i:0;s:24:"dijit.layout.ContentPane";i:1;s:16:"dijit._Templated";i:2;s:16:"dijit._Contained";}}s:6:"mixins";a:1:{s:9:"prototype";a:2:{i:0;s:26:"dijit._Templated.prototype";i:1;s:26:"dijit._Contained.prototype";}}s:7:"summary";s:64:"An experimental collapsing-pane for dijit.layout.BorderContainer";s:11:"description";s:149:"Works just like a ContentPane inside of a borderContainer. Will expand/collapse on command, and supports having Layout Children as direct descendants";s:9:"classlike";b:1;}s:34:"dojox.layout.ExpandoPane.maxHeight";a:2:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:7:"summary";s:0:"";}s:33:"dojox.layout.ExpandoPane.maxWidth";a:2:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:7:"summary";s:0:"";}s:33:"dojox.layout.ExpandoPane.splitter";a:2:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:7:"summary";s:0:"";}s:37:"dojox.layout.ExpandoPane.templatePath";a:2:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:7:"summary";s:0:"";}s:32:"dojox.layout.ExpandoPane.easeOut";a:4:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:15:"String|Function";s:7:"summary";s:33:"easing function used to hide pane";}s:31:"dojox.layout.ExpandoPane.easeIn";a:4:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:15:"String|Function";s:7:"summary";s:32:"easing function use to show pane";}s:33:"dojox.layout.ExpandoPane.duration";a:3:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:7:"Integer";s:7:"summary";s:36:"duration to run show/hide animations";}s:38:"dojox.layout.ExpandoPane.startExpanded";a:3:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:7:"Boolean";s:7:"summary";s:64:"Does this widget start in an open (true) or closed (false) state";}s:34:"dojox.layout.ExpandoPane.baseClass";a:2:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:7:"summary";s:0:"";}s:35:"dojox.layout.ExpandoPane.postCreate";a:4:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:6:"source";s:856:" this.inherited(arguments); this._animConnects = []; this._isHorizontal = true; if(dojo.isString(this.easeOut)){ this.easeOut = dojo.getObject(this.easeOut); } if(dojo.isString(this.easeIn)){ this.easeIn = dojo.getObject(this.easeIn); } var thisClass = "", rtl = !this.isLeftToRight(); if(this.region){ switch(this.region){ case "trailing" : case "right" : thisClass = rtl ? "Left" : "Right"; break; case "leading" : case "left" : thisClass = rtl ? "Right" : "Left"; break; case "top" : thisClass = "Top"; break; case "bottom" : thisClass = "Bottom"; break; } dojo.addClass(this.domNode, "dojoxExpando" + thisClass); this._isHorizontal = /top|bottom/.test(this.region); } dojo.style(this.domNode, { overflow: "hidden", padding:0 });";s:7:"summary";s:0:"";}s:38:"dojox.layout.ExpandoPane._startupSizes";a:5:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:6:"source";s:830:" this._container = this.getParent(); this._closedSize = this._titleHeight = dojo.marginBox(this.titleWrapper).h; if(this.splitter){ // find our splitter and tie into it's drag logic var myid = this.id; dijit.registry.filter(function(w){ return w && w.child && w.child.id == myid; }).forEach(dojo.hitch(this,function(w){ this.connect(w,"_stopDrag","_afterResize"); })); } this._currentSize = dojo.contentBox(this.domNode); // TODO: can compute this from passed in value to resize(), see _LayoutWidget for example this._showSize = this._currentSize[(this._isHorizontal ? "h" : "w")]; this._setupAnims(); if(this.startExpanded){ this._showing = true; }else{ this._showing = false; this._hideWrapper(); this._hideAnim.gotoPercent(99,true); } this._hasSizes = true;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.layout.ExpandoPane._afterResize";a:6:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";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:506:" var tmp = this._currentSize; // the old size this._currentSize = dojo.marginBox(this.domNode); // the new size var n = this._currentSize[(this._isHorizontal ? "h" : "w")] if(n > this._titleHeight){ if(!this._showing){ this._showing = !this._showing; this._showEnd(); } this._showSize = n; this._setupAnims(); }else{ this._showSize = tmp[(this._isHorizontal ? "h" : "w")]; this._showing = false; this._hideWrapper(); this._hideAnim.gotoPercent(89,true); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:36:"dojox.layout.ExpandoPane._setupAnims";a:5:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:6:"source";s:795:" dojo.forEach(this._animConnects, dojo.disconnect); var _common = { node:this.domNode, duration:this.duration }, isHorizontal = this._isHorizontal, showProps = {}, hideProps = {}, dimension = isHorizontal ? "height" : "width" ; showProps[dimension] = { end: this._showSize, unit:"px" }; hideProps[dimension] = { end: this._closedSize, unit:"px" }; this._showAnim = dojo.animateProperty(dojo.mixin(_common,{ easing:this.easeIn, properties: showProps })); this._hideAnim = dojo.animateProperty(dojo.mixin(_common,{ easing:this.easeOut, properties: hideProps })); this._animConnects = [ dojo.connect(this._showAnim, "onEnd", this, "_showEnd"), dojo.connect(this._hideAnim, "onEnd", this, "_hideEnd") ];";s:7:"summary";s:35:"Create the show and hide animations";s:7:"private";b:1;}s:31:"dojox.layout.ExpandoPane.toggle";a:4:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:6:"source";s:231:" if(this._showing){ this._hideWrapper(); this._showAnim && this._showAnim.stop(); this._hideAnim.play(); }else{ this._hideAnim && this._hideAnim.stop(); this._showAnim.play(); } this._showing = !this._showing;";s:7:"summary";s:29:"Toggle this pane's visibility";}s:37:"dojox.layout.ExpandoPane._hideWrapper";a:5:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:6:"source";s:151:" dojo.addClass(this.domNode, "dojoxExpandoClosed"); dojo.style(this.cwrapper,{ visibility: "hidden", opacity: "0", overflow: "hidden" });";s:7:"summary";s:43:"Set the Expando state to "closed"";s:7:"private";b:1;}s:33:"dojox.layout.ExpandoPane._showEnd";a:5:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:6:"source";s:240:" dojo.style(this.cwrapper, { opacity: 0, visibility:"visible" }); dojo.fadeIn({ node:this.cwrapper, duration:227 }).play(1); dojo.removeClass(this.domNode, "dojoxExpandoClosed"); setTimeout(dojo.hitch(this._container, "layout"), 15);";s:7:"summary";s:49:"Common animation onEnd code - "unclose"";s:7:"private";b:1;}s:33:"dojox.layout.ExpandoPane._hideEnd";a:5:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:6:"source";s:56:" setTimeout(dojo.hitch(this._container, "layout"), 15);";s:7:"summary";s:51:"Callback for the hide animation - "close"";s:7:"private";b:1;}s:31:"dojox.layout.ExpandoPane.resize";a:5:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"psize";a:3:{s:8:"optional";b:1;s:4:"type";s:6:"Object";s:7:"summary";s:54:"The size object optionally passed to us by our parent.";}}s:6:"source";s:496:" if(!this._hasSizes){ this._startupSizes(psize); } // compute size of container (ie, size left over after title bar) // it looks like two marginBox calls, but sometimes psize comes in with only one member var size = (psize && psize.h) ? psize : dojo.marginBox(this.domNode); this._contentBox = { w: size.w || dojo.marginBox(this.domNode).w, h: size.h - this._titleHeight }; dojo.style(this.containerNode, "height", this._contentBox.h + "px"); this._layoutChildren();";s:7:"summary";s:52:"we aren't a layout widget, but need to act like one:";}s:30:"dojox.layout.ExpandoPane._trap";a:6:{s:9:"prototype";s:24:"dojox.layout.ExpandoPane";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:20:" dojo.stopEvent(e);";s:7:"summary";s:17:"Trap stray events";s:7:"private";b:1;}s:38:"dojox.layout.ExpandoPane._animConnects";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:38:"dojox.layout.ExpandoPane._isHorizontal";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:35:"dojox.layout.ExpandoPane._container";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:36:"dojox.layout.ExpandoPane._closedSize";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.layout.ExpandoPane._currentSize";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.layout.ExpandoPane._showSize";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.layout.ExpandoPane._showing";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.layout.ExpandoPane._hasSizes";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.layout.ExpandoPane._showAnim";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:34:"dojox.layout.ExpandoPane._hideAnim";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:36:"dojox.layout.ExpandoPane._contentBox";a:3:{s:8:"instance";s:24:"dojox.layout.ExpandoPane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:14:"_common.easing";a:1:{s:7:"summary";s:0:"";}s:18:"_common.properties";a: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:"";}}