a:43:{s:9:"#provides";s:25:"dojox.form.DropDownSelect";s:9:"#resource";s:22:"form/DropDownSelect.js";s:9:"#requires";a:3:{i:0;a:2:{i:0;s:6:"common";i:1;s:28:"dojox.form._FormSelectWidget";}i:1;a:2:{i:0;s:6:"common";i:1;s:23:"dojox.form._HasDropDown";}i:2;a:3:{i:0;s:6:"common";i:1;s:10:"dijit.Menu";i:2;s:5:"dijit";}}s:25:"dojox.form.DropDownSelect";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:28:"dojox.form._FormSelectWidget";}s:4:"call";a:2:{i:0;s:28:"dojox.form._FormSelectWidget";i:1;s:23:"dojox.form._HasDropDown";}}s:6:"mixins";a:1:{s:9:"prototype";a:1:{i:0;s:33:"dojox.form._HasDropDown.prototype";}}s:7:"summary";s:123:"This is a "Styleable" select box - it is basically a DropDownButton which can take as its input a <select>.";s:9:"classlike";b:1;}s:38:"dojox.form.DropDownSelect.attributeMap";a:3:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:6:"Object";s:7:"summary";s:48:"Add in our style to be applied to the focus node";}s:35:"dojox.form.DropDownSelect.baseClass";a:2:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:7:"summary";s:0:"";}s:38:"dojox.form.DropDownSelect.templatePath";a:2:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:7:"summary";s:0:"";}s:34:"dojox.form.DropDownSelect.required";a:3:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:7:"Boolean";s:7:"summary";s:39:"Can be true or false, default is false.";}s:31:"dojox.form.DropDownSelect.state";a:4:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:8:"instance";s:25:"dojox.form.DropDownSelect";s:4:"type";s:6:"String";s:7:"summary";s:80:"Shows current state (ie, validation result) of input (Normal, Warning, or Error)";}s:41:"dojox.form.DropDownSelect.tooltipPosition";a:3:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:7:"String[";s:7:"summary";s:79:"See description of dijit.Tooltip.defaultPosition for details on this parameter.";}s:36:"dojox.form.DropDownSelect.emptyLabel";a:3:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:6:"string";s:7:"summary";s:48:"What to display in an "empty" dropdown";}s:35:"dojox.form.DropDownSelect._isLoaded";a:5:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:8:"instance";s:25:"dojox.form.DropDownSelect";s:4:"type";s:7:"boolean";s:7:"summary";s:34:"Whether or not we have been loaded";s:7:"private";b:1;}s:41:"dojox.form.DropDownSelect._childrenLoaded";a:5:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:8:"instance";s:25:"dojox.form.DropDownSelect";s:4:"type";s:7:"boolean";s:7:"summary";s:44:"Whether or not our children have been loaded";s:7:"private";b:1;}s:38:"dojox.form.DropDownSelect._fillContent";a:5:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:6:"source";s:309:" this.inherited(arguments); if(this.options.length && !this.value){ var si = this.srcNodeRef.selectedIndex; this.value = this.options[si != -1 ? si : 0].value; } // Create the dropDown widget this.dropDown = new dijit.Menu(); dojo.addClass(this.dropDown.domNode, this.baseClass + "Menu");";s:7:"summary";s:52:"Set the value to be the first, or the selected index";s:7:"private";b:1;}s:47:"dojox.form.DropDownSelect._getMenuItemForOption";a:6:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"option";a:1:{s:4:"type";s:25:"dojox.form.__SelectOption";}}s:6:"source";s:350:" if(!option.value){ // We are a separator (no label set for it) return new dijit.MenuSeparator(); }else{ // Just a regular menu option var click = dojo.hitch(this, "_setValueAttr", option); return new dijit.MenuItem({ option: option, label: option.label, onClick: click, disabled: option.disabled || false }); }";s:7:"summary";s:111:"For the given option, return the menu item that should be used to display it. This can be overridden as needed";s:7:"private";b:1;}s:40:"dojox.form.DropDownSelect._addOptionItem";a:6:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"option";a:1:{s:4:"type";s:25:"dojox.form.__SelectOption";}}s:6:"source";s:61:" this.dropDown.addChild(this._getMenuItemForOption(option));";s:7:"summary";s:127:"For the given option, add a option to our dropdown If the option doesn't have a value, then a separator is added in that place.";s:7:"private";b:1;}s:38:"dojox.form.DropDownSelect._getChildren";a:5:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:6:"source";s:63:" _getChildren: function(){ return this.dropDown.getChildren(); ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:39:"dojox.form.DropDownSelect._loadChildren";a:5:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:6:"source";s:388:" this.inherited(arguments); var len = this.options.length; this._isLoaded = false; this._childrenLoaded = true; // Set our length attribute and our value if(!this._iReadOnly){ this.attr("readOnly", (len === 1)); delete this._iReadOnly; } if(!this._iDisabled){ this.attr("disabled", (len === 0)); delete this._iDisabled; } this._setValueAttr(this.value);";s:7:"summary";s:105:"Resets the menu and the length attribute of the button - and ensures that the label is appropriately set.";s:7:"private";b:1;}s:39:"dojox.form.DropDownSelect._setValueAttr";a:6:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"value";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:86:" this.inherited(arguments); dojo.attr(this.valueNode, "value", this.attr("value"));";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.form.DropDownSelect._setDisplay";a:6:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"newDisplay";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:169:" this.containerNode.innerHTML = '' + (newDisplay || this.emptyLabel || " ") + ''; this._layoutHack();";s:7:"summary";s:48:"sets the display for the given value (or values)";s:7:"private";b:1;}s:34:"dojox.form.DropDownSelect.validate";a:6:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:9:"isFocused";a:1:{s:4:"type";s:7:"Boolean";}}s:6:"source";s:439:" var isValid = this.isValid(isFocused); this.state = isValid ? "" : "Error"; this._setStateClass(); dijit.setWaiState(this.focusNode, "invalid", isValid ? "false" : "true"); var message = isValid ? "" : this._missingMsg; if(this._message !== message){ this._message = message; dijit.hideTooltip(this.domNode); if(message){ dijit.showTooltip(message, this.domNode, this.tooltipPosition); } } return isValid; ";s:7:"summary";s:41:"Called by oninit, onblur, and onkeypress.";s:11:"description";s:77:"Show missing or invalid messages if appropriate, and highlight textbox field.";}s:33:"dojox.form.DropDownSelect.isValid";a:5:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:9:"isFocused";a:1:{s:4:"type";s:7:"Boolean";}}s:6:"source";s:57:" return (!this.required || !(/^\s*$/.test(this.value)));";s:7:"summary";s:36:"Whether or not this is a valid value";}s:31:"dojox.form.DropDownSelect.reset";a:4:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:6:"source";s:131:" this.inherited(arguments); dijit.hideTooltip(this.domNode); this.state = ""; this._setStateClass(); delete this._message;";s:7:"summary";s:45:"Overridden so that the state will be cleared.";}s:45:"dojox.form.DropDownSelect.postMixInProperties";a:4:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:6:"source";s:138:" this.inherited(arguments); this._missingMsg = dojo.i18n.getLocalization("dijit.form", "validate", this.lang).missingMessage;";s:7:"summary";s:23:"set the missing message";}s:36:"dojox.form.DropDownSelect.postCreate";a:4:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:6:"source";s:211:" this.inherited(arguments); if(dojo.attr(this.srcNodeRef, "disabled")){ this.attr("disabled", true); } if(this.tableNode.style.width){ dojo.addClass(this.domNode, this.baseClass + "FixedWidth"); }";s:7:"summary";s:0:"";}s:33:"dojox.form.DropDownSelect.startup";a:4:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";s:4:"type";s:8:"Function";s:6:"source";s:406:" if(this._started){ return; } // the child widget from srcNodeRef is the dropdown widget. Insert it in the page DOM, // make it invisible, and store a reference to pass to the popup code. if(!this.dropDown){ var dropDownNode = dojo.query("[widgetId]", this.dropDownContainer)[0]; this.dropDown = dijit.byNode(dropDownNode); delete this.dropDownContainer; } this.inherited(arguments);";s:7:"summary";s:0:"";}s:40:"dojox.form.DropDownSelect._onMenuMouseup";a:6:{s:9:"prototype";s:25:"dojox.form.DropDownSelect";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:6305:"dojo.provide("dojox.form.DropDownSelect"); dojo.require("dojox.form._FormSelectWidget"); dojo.require("dojox.form._HasDropDown"); dojo.require("dijit.Menu"); dojo.requireLocalization("dijit.form", "validate"); dojo.declare("dojox.form.DropDownSelect", [dojox.form._FormSelectWidget, dojox.form._HasDropDown], { attributeMap: dojo.mixin(dojo.clone(dojox.form._FormSelectWidget.prototype.attributeMap),{value:"valueNode",name:"valueNode"}), // summary: // This is a "Styleable" select box - it is basically a DropDownButton which // can take as its input a