declare namespace dojox { namespace form { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/form/_FormSelectWidget.html * * Extends _FormValueWidget in order to provide "select-specific" * values - i.e., those values that are unique to element's attribute. * */ "alt": string; set(property:"alt", value: string): void; get(property:"alt"): string; watch(property:"alt", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * */ "aria-label": string; set(property:"aria-label", value: string): void; get(property:"aria-label"): string; watch(property:"aria-label", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * Object to which attach points and events will be scoped. Defaults * to 'this'. * */ "attachScope": Object; set(property:"attachScope", value: Object): void; get(property:"attachScope"): Object; watch(property:"attachScope", callback:{(property?:string, oldValue?:Object, newValue?: Object):void}) :{unwatch():void} /** * Deprecated. Instead of attributeMap, widget should have a _setXXXAttr attribute * for each XXX attribute to be mapped to the DOM. * * attributeMap sets up a "binding" between attributes (aka properties) * of the widget and the widget's DOM. * Changes to widget attributes listed in attributeMap will be * reflected into the DOM. * * For example, calling set('title', 'hello') * on a TitlePane will automatically cause the TitlePane's DOM to update * with the new title. * * attributeMap is a hash where the key is an attribute of the widget, * and the value reflects a binding to a: * * DOM node attribute * focus: {node: "focusNode", type: "attribute"} * Maps this.focus to this.focusNode.focus * * DOM node innerHTML * title: { node: "titleNode", type: "innerHTML" } * Maps this.title to this.titleNode.innerHTML * * DOM node innerText * title: { node: "titleNode", type: "innerText" } * Maps this.title to this.titleNode.innerText * * DOM node CSS class * myClass: { node: "domNode", type: "class" } * Maps this.myClass to this.domNode.className * * If the value is an array, then each element in the array matches one of the * formats of the above list. * * There are also some shorthands for backwards compatibility: * * string --> { node: string, type: "attribute" }, for example: * "focusNode" ---> { node: "focusNode", type: "attribute" } * "" --> { node: "domNode", type: "attribute" } * */ "attributeMap": Object; set(property:"attributeMap", value: Object): void; get(property:"attributeMap"): Object; watch(property:"attributeMap", callback:{(property?:string, oldValue?:Object, newValue?: Object):void}) :{unwatch():void} /** * Root CSS class of the widget (ex: dijitTextBox), used to construct CSS classes to indicate * widget state. * */ "baseClass": string; set(property:"baseClass", value: string): void; get(property:"baseClass"): string; watch(property:"baseClass", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * */ "class": string; set(property:"class", value: string): void; get(property:"class"): string; watch(property:"class", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * Designates where children of the source DOM node will be placed. * "Children" in this case refers to both DOM nodes and widgets. * For example, for myWidget: * *
* here's a plain DOM node * and a widget * and another plain DOM node *
* containerNode would point to: * * here's a plain DOM node * and a widget * and another plain DOM node * In templated widgets, "containerNode" is set via a * data-dojo-attach-point assignment. * * containerNode must be defined for any widget that accepts innerHTML * (like ContentPane or BorderContainer or even Button), and conversely * is null for widgets that don't, like TextBox. * */ "containerNode": HTMLElement; set(property:"containerNode", value: HTMLElement): void; get(property:"containerNode"): HTMLElement; watch(property:"containerNode", callback:{(property?:string, oldValue?:HTMLElement, newValue?: HTMLElement):void}) :{unwatch():void} /** * Subclasses may define a cssStateNodes property that lists sub-nodes within the widget that * need CSS classes applied on mouse hover/press and focus. * * Each entry in this optional hash is a an attach-point name (like "upArrowButton") mapped to a CSS class name * (like "dijitUpArrowButton"). Example: * * { * "upArrowButton": "dijitUpArrowButton", * "downArrowButton": "dijitDownArrowButton" * } * The above will set the CSS class dijitUpArrowButton to the this.upArrowButton DOMNode when it * * is hovered, etc. * */ "cssStateNodes": Object; set(property:"cssStateNodes", value: Object): void; get(property:"cssStateNodes"): Object; watch(property:"cssStateNodes", callback:{(property?:string, oldValue?:Object, newValue?: Object):void}) :{unwatch():void} /** * Bi-directional support, as defined by the HTML DIR * attribute. Either left-to-right "ltr" or right-to-left "rtl". If undefined, widgets renders in page's * default direction. * */ "dir": string; set(property:"dir", value: string): void; get(property:"dir"): string; watch(property:"dir", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * Should this widget respond to user input? * In markup, this is specified as "disabled='disabled'", or just "disabled". * */ "disabled": boolean; set(property:"disabled", value: boolean): void; get(property:"disabled"): boolean; watch(property:"disabled", callback:{(property?:string, oldValue?:boolean, newValue?: boolean):void}) :{unwatch():void} /** * This is our visible representation of the widget! Other DOM * Nodes may by assigned to other properties, usually through the * template system's data-dojo-attach-point syntax, but the domNode * property is the canonical "top level" node in widget UI. * */ "domNode": HTMLElement; set(property:"domNode", value: HTMLElement): void; get(property:"domNode"): HTMLElement; watch(property:"domNode", callback:{(property?:string, oldValue?:HTMLElement, newValue?: HTMLElement):void}) :{unwatch():void} /** * This widget or a widget it contains has focus, or is "active" because * it was recently clicked. * */ "focused": boolean; set(property:"focused", value: boolean): void; get(property:"focused"): boolean; watch(property:"focused", callback:{(property?:string, oldValue?:boolean, newValue?: boolean):void}) :{unwatch():void} /** * True if cursor is over this widget * */ "hovering": boolean; set(property:"hovering", value: boolean): void; get(property:"hovering"): boolean; watch(property:"hovering", callback:{(property?:string, oldValue?:boolean, newValue?: boolean):void}) :{unwatch():void} /** * A unique, opaque ID string that can be assigned by users or by the * system. If the developer passes an ID which is known not to be * unique, the specified ID is ignored and the system-generated ID is * used instead. * */ "id": string; set(property:"id", value: string): void; get(property:"id"): string; watch(property:"id", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * Fires onChange for each value change or only on demand * */ "intermediateChanges": boolean; set(property:"intermediateChanges", value: boolean): void; get(property:"intermediateChanges"): boolean; watch(property:"intermediateChanges", callback:{(property?:string, oldValue?:boolean, newValue?: boolean):void}) :{unwatch():void} /** * The entries in the drop down list come from this attribute in the dojo.store items. * If store is set, labelAttr must be set too, unless store is an old-style * dojo.data store rather than a new dojo/store. * */ "labelAttr": Object; set(property:"labelAttr", value: Object): void; get(property:"labelAttr"): Object; watch(property:"labelAttr", callback:{(property?:string, oldValue?:Object, newValue?: Object):void}) :{unwatch():void} /** * Rarely used. Overrides the default Dojo locale used to render this widget, * as defined by the HTML LANG attribute. * Value must be among the list of locales specified during by the Dojo bootstrap, * formatted according to RFC 3066 (like en-us). * */ "lang": string; set(property:"lang", value: string): void; get(property:"lang"): string; watch(property:"lang", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * By default loadChildren is called when the items are fetched from the * store. This property allows delaying loadChildren (and the creation * of the options/menuitems) until the user clicks the button to open the * dropdown. * */ "loadChildrenOnOpen": boolean; set(property:"loadChildrenOnOpen", value: boolean): void; get(property:"loadChildrenOnOpen"): boolean; watch(property:"loadChildrenOnOpen", callback:{(property?:string, oldValue?:boolean, newValue?: boolean):void}) :{unwatch():void} /** * Whether or not we are multi-valued * */ "multiple": boolean; set(property:"multiple", value: boolean): void; get(property:"multiple"): boolean; watch(property:"multiple", callback:{(property?:string, oldValue?:boolean, newValue?: boolean):void}) :{unwatch():void} /** * Name used when submitting form; same as "name" attribute or plain HTML elements * */ "name": string; set(property:"name", value: string): void; get(property:"name"): string; watch(property:"name", callback:{(property?:string, oldValue?:string, newValue?: string):void}) :{unwatch():void} /** * A callback to do with an onFetch - but before any items are actually * iterated over (i.e. to filter even further what you want to add) * */ "onFetch": Function; set(property:"onFetch", value: Function): void; get(property:"onFetch"): Function; watch(property:"onFetch", callback:{(property?:string, oldValue?:Function, newValue?: Function):void}) :{unwatch():void} /** * This is the dojo.Deferred returned by setStore(). * Calling onLoadDeferred.then() registers your * callback to be called only once, when the prior setStore completes. * */ "onLoadDeferred": Object; set(property:"onLoadDeferred", value: Object): void; get(property:"onLoadDeferred"): Object; watch(property:"onLoadDeferred", callback:{(property?:string, oldValue?:Object, newValue?: Object):void}) :{unwatch():void} /** * The set of options for our select item. Roughly corresponds to * the html