a:38:{s:9:"#provides";s:23:"dojox.layout.RadioGroup";s:9:"#resource";s:20:"layout/RadioGroup.js";s:9:"#requires";a:5:{i:0;a:3:{i:0;s:6:"common";i:1;s:13:"dijit._Widget";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._Contained";i:2;s:5:"dijit";}i:3;a:3:{i:0;s:6:"common";i:1;s:27:"dijit.layout.StackContainer";i:2;s:5:"dijit";}i:4;a:3:{i:0;s:6:"common";i:1;s:14:"dojo.fx.easing";i:2;s:4:"dojo";}}s:23:"dojox.layout.RadioGroup";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:27:"dijit.layout.StackContainer";}s:4:"call";a:2:{i:0;s:27:"dijit.layout.StackContainer";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:114:"A Container that turns its Layout Children into a single Pane and transitions between states onHover of the button";s:9:"classlike";b:1;}s:32:"dojox.layout.RadioGroup.duration";a:3:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:7:"Integer";s:7:"summary";s:130:"used for Fade and Slide RadioGroup's, the duration to run the transition animation. does not affect anything in default RadioGroup";}s:34:"dojox.layout.RadioGroup.hasButtons";a:3:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:7:"Boolean";s:7:"summary";s:40:"toggles internal button making on or off";}s:35:"dojox.layout.RadioGroup.buttonClass";a:3:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:6:"String";s:7:"summary";s:70:"The full declared className of the Button widget to use for hasButtons";}s:38:"dojox.layout.RadioGroup.templateString";a:3:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:6:"String";s:7:"summary";s:30:"the template for our container";}s:31:"dojox.layout.RadioGroup.startup";a:4:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:8:"Function";s:6:"source";s:235:" this.inherited(arguments); this._children = this.getChildren(); this._buttons = this._children.length; this._size = dojo.coords(this.containerNode); if(this.hasButtons){ dojo.style(this.buttonHolder,"display","block"); }";s:7:"summary";s:74:"scan the container for children, and make "tab buttons" for them";}s:35:"dojox.layout.RadioGroup._setupChild";a:6:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"child";a:1:{s:4:"type";s:13:"dijit._Widget";}}s:6:"source";s:431:" if(this.hasButtons){ dojo.style(child.domNode,"position","absolute"); var tmp = this.buttonNode.appendChild(dojo.create('td')); var n = dojo.create("div", null, tmp), _Button = dojo.getObject(this.buttonClass), tmpw = new _Button({ label: child.title, page: child }, n) ; dojo.mixin(child, { _radioButton: tmpw }); tmpw.startup(); } child.domNode.style.display = "none";";s:7:"summary";s:57:"Creates a hover button for a child node of the RadioGroup";s:7:"private";b:1;}s:35:"dojox.layout.RadioGroup.removeChild";a:5:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"child";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:140:" if(this.hasButtons && child._radioButton){ child._radioButton.destroy(); delete child._radioButton; } this.inherited(arguments);";s:7:"summary";s:0:"";}s:35:"dojox.layout.RadioGroup._transition";a:6:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:9:"newWidget";a:1:{s:4:"type";s:6:"Widget";}s:9:"oldWidget";a:1:{s:4:"type";s:6:"Widget";}}s:6:"source";s:378:" this._showChild(newWidget); if(oldWidget){ this._hideChild(oldWidget); } // Size the new widget, in case this is the first time it's being shown, // or I have been resized since the last time it was shown. // page must be visible for resizing to work if(this.doLayout && newWidget.resize){ newWidget.resize(this._containerContentBox || this._contentBox); }";s:7:"summary";s:85:"called when StackContainer receives a selectChild call, used to transition the panes.";s:7:"private";b:1;}s:34:"dojox.layout.RadioGroup._showChild";a:6:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"page";a:1:{s:4:"type";s:6:"Widget";}}s:6:"source";s:319:" var children = this.getChildren(); page.isFirstChild = (page == children[0]); page.isLastChild = (page == children[children.length-1]); page.selected = true; page.domNode.style.display=""; if(page._onShow){ page._onShow(); // trigger load in ContentPane }else if(page.onShow){ page.onShow(); }";s:7:"summary";s:30:"show the selected child widget";s:7:"private";b:1;}s:34:"dojox.layout.RadioGroup._hideChild";a:6:{s:9:"prototype";s:23:"dojox.layout.RadioGroup";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"page";a:1:{s:4:"type";s:6:"Widget";}}s:6:"source";s:102:" page.selected = false; page.domNode.style.display="none"; if(page.onHide){ page.onHide(); }";s:7:"summary";s:31:"hide the specified child widget";s:7:"private";b:1;}s:33:"dojox.layout.RadioGroup._children";a:3:{s:8:"instance";s:23:"dojox.layout.RadioGroup";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dojox.layout.RadioGroup._buttons";a:3:{s:8:"instance";s:23:"dojox.layout.RadioGroup";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.layout.RadioGroup._size";a:3:{s:8:"instance";s:23:"dojox.layout.RadioGroup";s:7:"private";b:1;s:7:"summary";s:0:"";}s:27:"dojox.layout.RadioGroupFade";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:23:"dojox.layout.RadioGroup";}s:4:"call";a:1:{i:0;s:23:"dojox.layout.RadioGroup";}}s:7:"summary";s:57:"An extension on a stock RadioGroup, that fades the panes.";s:9:"classlike";b:1;}s:38:"dojox.layout.RadioGroupFade._hideChild";a:6:{s:9:"prototype";s:27:"dojox.layout.RadioGroupFade";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"page";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:128:" dojo.fadeOut({ node:page.domNode, duration:this.duration, onEnd: dojo.hitch(this,"inherited", arguments) }).play();";s:7:"summary";s:31:"hide the specified child widget";s:7:"private";b:1;}s:38:"dojox.layout.RadioGroupFade._showChild";a:6:{s:9:"prototype";s:27:"dojox.layout.RadioGroupFade";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"page";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:147:" this.inherited(arguments); dojo.style(page.domNode, "opacity", 0); dojo.fadeIn({ node:page.domNode, duration:this.duration }).play();";s:7:"summary";s:31:"show the specified child widget";s:7:"private";b:1;}s:28:"dojox.layout.RadioGroupSlide";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:23:"dojox.layout.RadioGroup";}s:4:"call";a:1:{i:0;s:23:"dojox.layout.RadioGroup";}}s:7:"summary";s:21:"A Sliding Radio Group";s:11:"description";s:135:"An extension on a stock RadioGroup widget, sliding the pane into view from being hidden. The entry direction is randomized on each view";s:6:"source";s:83:" if(dojo.isString(this.easing)){ this.easing = dojo.getObject(this.easing); }";s:9:"classlike";b:1;}s:35:"dojox.layout.RadioGroupSlide.easing";a:4:{s:9:"prototype";s:28:"dojox.layout.RadioGroupSlide";s:4:"type";s:8:"Function";s:7:"summary";s:57:"A hook to override the default easing of the pane slides.";s:8:"instance";s:28:"dojox.layout.RadioGroupSlide";}s:33:"dojox.layout.RadioGroupSlide.zTop";a:3:{s:9:"prototype";s:28:"dojox.layout.RadioGroupSlide";s:4:"type";s:7:"Integer";s:7:"summary";s:39:"A z-index to apply to the incoming pane";}s:43:"dojox.layout.RadioGroupSlide._positionChild";a:7:{s:9:"prototype";s:28:"dojox.layout.RadioGroupSlide";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"page";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:606:" if(!this._size){ return; } // FIXME: is there a real "size" floating around always? // there should be a contest: obfuscate this function as best you can. var rA = true, rB = true; switch(page.slideFrom){ case "bottom" : rB = !rB; break; case "right" : rA = !rA; rB = !rB; break; case "top" : break; case "left" : rA = !rA; break; default: rA = Math.round(Math.random()); rB = Math.round(Math.random()); break; } var prop = rA ? "top" : "left", val = (rB ? "-" : "") + (this._size[rA ? "h" : "w" ] + 20) + "px"; dojo.style(page.domNode, prop, val);";s:7:"summary";s:56:"set the child out of view immediately after being hidden";s:7:"returns";s:53:"FIXME: is there a real "size" floating around always?";s:7:"private";b:1;}s:39:"dojox.layout.RadioGroupSlide._showChild";a:6:{s:9:"prototype";s:28:"dojox.layout.RadioGroupSlide";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"page";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:700:" var children = this.getChildren(); page.isFirstChild = (page == children[0]); page.isLastChild = (page == children[children.length-1]); page.selected = true; dojo.style(page.domNode,{ zIndex: this.zTop, display:"" }) if(this._anim && this._anim.status()=="playing"){ this._anim.gotoPercent(100,true); } this._anim = dojo.animateProperty({ node:page.domNode, properties: { left: 0, top: 0 }, duration: this.duration, easing: this.easing, onEnd: dojo.hitch(page, function(){ if(this.onShow){ this.onShow(); } if(this._onShow){ this._onShow(); } }), beforeBegin: dojo.hitch(this, "_positionChild", page) }); this._anim.play();";s:7:"summary";s:34:"Slide in the selected child widget";s:7:"private";b:1;}s:39:"dojox.layout.RadioGroupSlide._hideChild";a:6:{s:9:"prototype";s:28:"dojox.layout.RadioGroupSlide";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"page";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:110:" page.selected = false; page.domNode.style.zIndex = this.zTop - 1; if(page.onHide){ page.onHide(); }";s:7:"summary";s:50:"reset the position of the hidden pane out of sight";s:7:"private";b:1;}s:34:"dojox.layout.RadioGroupSlide._anim";a:3:{s:8:"instance";s:28:"dojox.layout.RadioGroupSlide";s:7:"private";b:1;s:7:"summary";s:0:"";}s:25:"dojox.layout._RadioButton";a:6:{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:3:{i:0;s:13:"dijit._Widget";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:28:"The Buttons for a RadioGroup";s:11:"description";s:92:"A private widget used to manipulate the StackContainer (RadioGroup*). Don't create directly.";s:9:"classlike";b:1;}s:31:"dojox.layout._RadioButton.label";a:3:{s:9:"prototype";s:25:"dojox.layout._RadioButton";s:4:"type";s:6:"String";s:7:"summary";s:28:"the Text Label of the button";}s:30:"dojox.layout._RadioButton.page";a:2:{s:9:"prototype";s:25:"dojox.layout._RadioButton";s:7:"summary";s:0:"";}s:40:"dojox.layout._RadioButton.templateString";a:2:{s:9:"prototype";s:25:"dojox.layout._RadioButton";s:7:"summary";s:0:"";}s:33:"dojox.layout._RadioButton.startup";a:4:{s:9:"prototype";s:25:"dojox.layout._RadioButton";s:4:"type";s:8:"Function";s:6:"source";s:57:" this.connect(this.domNode, "onmouseenter", "_onMouse");";s:7:"summary";s:28:"start listening to mouseOver";}s:34:"dojox.layout._RadioButton._onMouse";a:6:{s:9:"prototype";s:25:"dojox.layout._RadioButton";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:125:" this.getParent().selectChild(this.page); this._clearSelected(); dojo.addClass(this.domNode,"dojoxRadioButtonSelected");";s:7:"summary";s:62:"set the selected child on hover, and set our hover state class";s:7:"private";b:1;}s:40:"dojox.layout._RadioButton._clearSelected";a:5:{s:9:"prototype";s:25:"dojox.layout._RadioButton";s:4:"type";s:8:"Function";s:6:"source";s:125:" dojo.query(".dojoxRadioButtonSelected", this.domNode.parentNode.parentNode) .removeClass("dojoxRadioButtonSelected") ;";s:7:"summary";s:207:"remove hover state class from sibling Buttons. This is easier (and more reliable) than setting up an additional connection to onMouseOut FIXME: this relies on the template being [div][span]node[/span][/div]";s:7:"private";b:1;}s:23:"dijit._Widget.slideFrom";a:2:{s:9:"prototype";s:13:"dijit._Widget";s:7:"summary";s:0:"";}s:18:"child._radioButton";a:2:{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:"";}}