a:26:{s:9:"#provides";s:15:"dijit.TitlePane";s:9:"#resource";s:12:"TitlePane.js";s:9:"#requires";a:3:{i:0;a:3:{i:0;s:6:"common";i:1;s:7:"dojo.fx";i:2;s:4:"dojo";}i:1;a:2:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";}i:2;a:2:{i:0;s:6:"common";i:1;s:24:"dijit.layout.ContentPane";}}s:15:"dijit.TitlePane";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:62:"A pane with a title on top, that can be expanded or collapsed.";s:11:"description";s:212:"An accessible container with a Title Heading, and a content
section that slides open and closed. TitlePane is an extension to
`dijit.layout.ContentPane`, providing all the usesful content-control aspects from it.";s:8:"examples";a:3:{i:0;s:129:"
// load a TitlePane from remote file:
var foo = new dijit.TitlePane({ href: "foobar.html", title:"Title" });
foo.startup();";i:1;s:105:"
";i:2;s:114:"
";}s:9:"classlike";b:1;}s:21:"dijit.TitlePane.title";a:3:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:6:"String";s:7:"summary";s:17:"Title of the pane";}s:20:"dijit.TitlePane.open";a:4:{s:9:"prototype";s:15:"dijit.TitlePane";s:8:"instance";s:15:"dijit.TitlePane";s:4:"type";s:7:"Boolean";s:7:"summary";s:33:"Whether pane is opened or closed.";}s:24:"dijit.TitlePane.duration";a:3:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:7:"Integer";s:7:"summary";s:40:"Time in milliseconds to fade in/fade out";}s:25:"dijit.TitlePane.baseClass";a:4:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"tags";a:1:{i:0;s:9:"protected";}s:4:"type";s:6:"String";s:7:"summary";s:63:"The root className to use for the various states of this widget";}s:28:"dijit.TitlePane.templatePath";a:2:{s:9:"prototype";s:15:"dijit.TitlePane";s:7:"summary";s:0:"";}s:28:"dijit.TitlePane.attributeMap";a:2:{s:9:"prototype";s:15:"dijit.TitlePane";s:7:"summary";s:0:"";}s:26:"dijit.TitlePane.postCreate";a:4:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:6:"source";s:720:" if(!this.open){
this.hideNode.style.display = this.wipeNode.style.display = "none";
}
this._setCss();
dojo.setSelectable(this.titleNode, false);
dijit.setWaiState(this.containerNode, "labelledby", this.titleNode.id);
dijit.setWaiState(this.focusNode, "haspopup", "true");
// setup open/close animations
var hideNode = this.hideNode, wipeNode = this.wipeNode;
this._wipeIn = dojo.fx.wipeIn({
node: this.wipeNode,
duration: this.duration,
beforeBegin: function(){
hideNode.style.display="";
}
});
this._wipeOut = dojo.fx.wipeOut({
node: this.wipeNode,
duration: this.duration,
onEnd: function(){
hideNode.style.display="none";
}
});
this.inherited(arguments);";s:7:"summary";s:0:"";}s:28:"dijit.TitlePane._setOpenAttr";a:6:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"open";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:65:"True if you want to open the pane, false if you want to close it.";}}s:6:"source";s:42:" if(this.open !== open){ this.toggle(); }";s:7:"summary";s:87:"Hook to make attr("open", boolean) control the open/closed state of the pane.";s:7:"private";b:1;}s:31:"dijit.TitlePane._setContentAttr";a:6:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:7:"content";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:728:" if(!this.open || !this._wipeOut || this._wipeOut.status() == "playing"){
// we are currently *closing* the pane (or the pane is closed), so just let that continue
this.inherited(arguments);
}else{
if(this._wipeIn && this._wipeIn.status() == "playing"){
this._wipeIn.stop();
}
// freeze container at current height so that adding new content doesn't make it jump
dojo.marginBox(this.wipeNode, { h: dojo.marginBox(this.wipeNode).h });
// add the new content (erasing the old content, if any)
this.inherited(arguments);
// call _wipeIn.play() to animate from current height to new height
if(this._wipeIn){
this._wipeIn.play();
}else{
this.hideNode.style.display = "";
}
}";s:7:"summary";s:132:"Hook to make attr("content", ...) work.
Typically called when an href is loaded. Our job is to make the animation smooth.";s:7:"private";b:1;}s:22:"dijit.TitlePane.toggle";a:5:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:6:"source";s:518:" dojo.forEach([this._wipeIn, this._wipeOut], function(animation){
if(animation && animation.status() == "playing"){
animation.stop();
}
});
var anim = this[this.open ? "_wipeOut" : "_wipeIn"]
if(anim){
anim.play();
}else{
this.hideNode.style.display = this.open ? "" : "none";
}
this.open =! this.open;
// load content (if this is the first time we are opening the TitlePane
// and content is specified as an href, or href was set when hidden)
this._onShow();
this._setCss();";s:7:"summary";s:40:"Switches between opened and closed state";s:4:"tags";s:7:"private";}s:23:"dijit.TitlePane._setCss";a:6:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:6:"source";s:341:" var classes = ["dijitClosed", "dijitOpen"];
var boolIndex = this.open;
var node = this.titleBarNode || this.focusNode;
dojo.removeClass(node, classes[!boolIndex+0]);
node.className += " " + classes[boolIndex+0];
// provide a character based indicator for images-off mode
this.arrowNodeInner.innerHTML = this.open ? "-" : "+";";s:7:"summary";s:46:"Set the open/close css state for the TitlePane";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:27:"dijit.TitlePane._onTitleKey";a:7:{s:9:"prototype";s:15:"dijit.TitlePane";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:201:" if(e.charOrCode == dojo.keys.ENTER || e.charOrCode == ' '){
this.toggle();
}else if(e.charOrCode == dojo.keys.DOWN_ARROW && this.open){
this.containerNode.focus();
e.preventDefault();
}";s:7:"summary";s:32:"Handler for when user hits a key";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:29:"dijit.TitlePane._onTitleEnter";a:6:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:6:"source";s:61:" dojo.addClass(this.focusNode, "dijitTitlePaneTitle-hover");";s:7:"summary";s:45:"Handler for when someone hovers over my title";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:29:"dijit.TitlePane._onTitleLeave";a:6:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:6:"source";s:64:" dojo.removeClass(this.focusNode, "dijitTitlePaneTitle-hover");";s:7:"summary";s:49:"Handler when someone stops hovering over my title";s:4:"tags";s:7:"private";s:7:"private";b:1;}s:28:"dijit.TitlePane._handleFocus";a:7:{s:9:"prototype";s:15:"dijit.TitlePane";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:101:" dojo[(e.type == "focus" ? "addClass" : "removeClass")](this.focusNode, this.baseClass + "Focused");";s:7:"summary";s:37:"Handle blur and focus for this widget";s:4:"tags";s:70:"private
add/removeClass is safe to call without hasClass in this case";s:7:"private";b:1;}s:24:"dijit.TitlePane.setTitle";a:6:{s:9:"prototype";s:15:"dijit.TitlePane";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"title";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:143:" dojo.deprecated("dijit.TitlePane.setTitle() is deprecated. Use attr('title', ...) instead.", "", "2.0");
this.titleNode.innerHTML = title;";s:7:"summary";s:44:"Deprecated. Use attr('title', ...) instead.";s:4:"tags";s:10:"deprecated";}s:38:"dijit.TitlePane.hideNode.style.display";a:2:{s:8:"instance";s:15:"dijit.TitlePane";s:7:"summary";s:0:"";}s:23:"dijit.TitlePane._wipeIn";a:3:{s:8:"instance";s:15:"dijit.TitlePane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:24:"dijit.TitlePane._wipeOut";a:3:{s:8:"instance";s:15:"dijit.TitlePane";s:7:"private";b:1;s:7:"summary";s:0:"";}s:40:"dijit.TitlePane.arrowNodeInner.innerHTML";a:2:{s:8:"instance";s:15:"dijit.TitlePane";s:7:"summary";s:0:"";}s:35:"dijit.TitlePane.titleNode.innerHTML";a:2:{s:8:"instance";s:15:"dijit.TitlePane";s:7:"summary";s:0:"";}s:5:"dijit";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}