a:51:{s:9:"#provides";s:31:"dojox.grid.compat._data.editors";s:9:"#resource";s:28:"grid/compat/_data/editors.js";s:23:"dojox.grid.editors.Base";a:5:{s:4:"type";s:8:"Function";s:7:"summary";s:76:"base grid editor class. Other grid editors should inherited from this class.";s:10:"parameters";a:1:{s:6:"inCell";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:21:" this.cell = inCell;";s:9:"classlike";b:1;}s:34:"dojox.grid.editors.Base._valueProp";a:3:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:7:"private";b:1;s:7:"summary";s:0:"";}s:38:"dojox.grid.editors.Base._formatPending";a:4:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:8:"instance";s:23:"dojox.grid.editors.Base";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dojox.grid.editors.Base.format";a:6:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inDatum";a:2:{s:4:"type";s:8:"anything";s:7:"summary";s:17:"cell data to edit";}s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:185:" // summary: // formats the cell for editing // inDatum: anything // cell data to edit // inRowIndex: int // grid row index // returns: string of html to place in grid cell";s:7:"summary";s:28:"formats the cell for editing";s:14:"return_summary";s:36:"string of html to place in grid cell";}s:38:"dojox.grid.editors.Base.needFormatNode";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inDatum";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:94:" this._formatPending = true; dojox.grid.whenIdle(this, "_formatNode", inDatum, inRowIndex);";s:7:"summary";s:0:"";}s:40:"dojox.grid.editors.Base.cancelFormatNode";a:4:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:6:"source";s:30:" this._formatPending = false;";s:7:"summary";s:0:"";}s:35:"dojox.grid.editors.Base._formatNode";a:6:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inDatum";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:209:" if(this._formatPending){ this._formatPending = false; // make cell selectable dojo.setSelectable(this.cell.grid.domNode, true); this.formatNode(this.getNode(inRowIndex), inDatum, inRowIndex); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:31:"dojox.grid.editors.Base.getNode";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:62:" return (this.cell.getNode(inRowIndex) || 0).firstChild || 0;";s:7:"summary";s:0:"";}s:34:"dojox.grid.editors.Base.formatNode";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:6:"inNode";a:2:{s:4:"type";s:3:"dom";s:7:"summary";s:28:"node dom node for the editor";}s:7:"inDatum";a:2:{s:4:"type";s:8:"anything";s:7:"summary";s:17:"cell data to edit";}s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:140:" if(dojo.isIE){ // IE sux bad dojox.grid.whenIdle(this, "focus", inRowIndex, inNode); }else{ this.focus(inRowIndex, inNode); }";s:7:"summary";s:57:"format the editing dom node. Use when editor is a widget.";}s:37:"dojox.grid.editors.Base.dispatchEvent";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:1:"m";a:1:{s:4:"type";s:0:"";}s:1:"e";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:42:" if(m in this){ return this[m](e); }";s:7:"summary";s:0:"";}s:32:"dojox.grid.editors.Base.getValue";a:6:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:51:" return this.getNode(inRowIndex)[this._valueProp];";s:7:"summary";s:33:"returns value entered into editor";s:14:"return_summary";s:15:"value of editor";}s:32:"dojox.grid.editors.Base.setValue";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}s:7:"inValue";a:2:{s:4:"type";s:8:"anything";s:7:"summary";s:15:"value of editor";}}s:6:"source";s:81:" var n = this.getNode(inRowIndex); if(n){ n[this._valueProp] = inValue };";s:7:"summary";s:32:"set the value of the grid editor";}s:29:"dojox.grid.editors.Base.focus";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}s:6:"inNode";a:2:{s:4:"type";s:3:"dom";s:7:"summary";s:16:"node editor node";}}s:6:"source";s:65:" dojox.grid.focusSelectNode(inNode || this.getNode(inRowIndex));";s:7:"summary";s:21:"focus the grid editor";}s:28:"dojox.grid.editors.Base.save";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:118:" this.value = this.value || this.getValue(inRowIndex); //console.log("save", this.value, inCell.index, inRowIndex);";s:7:"summary";s:17:"save editor state";}s:31:"dojox.grid.editors.Base.restore";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:106:" this.setValue(inRowIndex, this.value); //console.log("restore", this.value, inCell.index, inRowIndex);";s:7:"summary";s:20:"restore editor state";}s:31:"dojox.grid.editors.Base._finish";a:6:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:88:" dojo.setSelectable(this.cell.grid.domNode, false); this.cancelFormatNode(this.cell);";s:7:"summary";s:51:"called when editing is completed to clean up editor";s:7:"private";b:1;}s:29:"dojox.grid.editors.Base.apply";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:89:" this.cell.applyEdit(this.getValue(inRowIndex), inRowIndex); this._finish(inRowIndex);";s:7:"summary";s:27:"apply edit from cell editor";}s:30:"dojox.grid.editors.Base.cancel";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Base";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:2:{s:4:"type";s:3:"int";s:7:"summary";s:14:"grid row index";}}s:6:"source";s:63:" this.cell.cancelEdit(inRowIndex); this._finish(inRowIndex);";s:7:"summary";s:16:"cancel cell edit";}s:29:"dojox.grid.editors.Base.value";a:2:{s:8:"instance";s:23:"dojox.grid.editors.Base";s:7:"summary";s:0:"";}s:28:"dojox.grid.editors.Base.cell";a:2:{s:8:"instance";s:23:"dojox.grid.editors.Base";s:7:"summary";s:0:"";}s:24:"dojox.grid.editors.Input";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:23:"dojox.grid.editors.Base";}s:4:"call";a:1:{i:0;s:23:"dojox.grid.editors.Base";}}s:10:"parameters";a:1:{s:6:"inCell";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:57:" this.keyFilter = this.keyFilter || this.cell.keyFilter;";s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:34:"dojox.grid.editors.Input.keyFilter";a:4:{s:9:"prototype";s:24:"dojox.grid.editors.Input";s:4:"type";s:6:"object";s:7:"summary";s:41:"optional regex for disallowing keypresses";s:8:"instance";s:24:"dojox.grid.editors.Input";}s:31:"dojox.grid.editors.Input.format";a:5:{s:9:"prototype";s:24:"dojox.grid.editors.Input";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inDatum";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:123:" this.needFormatNode(inDatum, inRowIndex); return '';";s:7:"summary";s:0:"";}s:35:"dojox.grid.editors.Input.formatNode";a:5:{s:9:"prototype";s:24:"dojox.grid.editors.Input";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:6:"inNode";a:1:{s:4:"type";s:0:"";}s:7:"inDatum";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:126:" this.inherited(arguments); // FIXME: feels too specific for this interface this.cell.registerOnBlur(inNode, inRowIndex);";s:7:"summary";s:0:"";}s:30:"dojox.grid.editors.Input.doKey";a:5:{s:9:"prototype";s:24:"dojox.grid.editors.Input";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:140:" if(this.keyFilter){ var key = String.fromCharCode(e.charCode); if(key.search(this.keyFilter) == -1){ dojo.stopEvent(e); } }";s:7:"summary";s:0:"";}s:32:"dojox.grid.editors.Input._finish";a:6:{s:9:"prototype";s:24:"dojox.grid.editors.Input";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:116:" this.inherited(arguments); var n = this.getNode(inRowIndex); try{ dojox.grid.fire(n, "blur"); }catch(e){}";s:7:"private";b:1;s:7:"summary";s:0:"";}s:25:"dojox.grid.editors.Select";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.grid.editors.Input";}s:4:"call";a:1:{i:0;s:24:"dojox.grid.editors.Input";}}s:7:"summary";s:187:"grid cell editor that provides a standard select options: text of each item values: value for each item returnIndex: editor returns only the index of the selected option and not the value";s:10:"parameters";a:1:{s:6:"inCell";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:116:" this.options = this.options || this.cell.options; this.values = this.values || this.cell.values || this.options;";s:9:"classlike";b:1;}s:32:"dojox.grid.editors.Select.format";a:5:{s:9:"prototype";s:25:"dojox.grid.editors.Select";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inDatum";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:341:" this.needFormatNode(inDatum, inRowIndex); var h = [ ''); return h.join('');";s:7:"summary";s:0:"";}s:34:"dojox.grid.editors.Select.getValue";a:5:{s:9:"prototype";s:25:"dojox.grid.editors.Select";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:156:" var n = this.getNode(inRowIndex); if(n){ var i = n.selectedIndex, o = n.options[i]; return this.cell.returnIndex ? i : o.value || o.innerHTML; }";s:7:"summary";s:0:"";}s:33:"dojox.grid.editors.Select.options";a:2:{s:8:"instance";s:25:"dojox.grid.editors.Select";s:7:"summary";s:0:"";}s:32:"dojox.grid.editors.Select.values";a:2:{s:8:"instance";s:25:"dojox.grid.editors.Select";s:7:"summary";s:0:"";}s:27:"dojox.grid.editors.AlwaysOn";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:24:"dojox.grid.editors.Input";}s:4:"call";a:1:{i:0;s:24:"dojox.grid.editors.Input";}}s:7:"summary";s:68:"grid cell editor that is always on, regardless of grid editing state";s:9:"classlike";b:1;}s:36:"dojox.grid.editors.AlwaysOn.alwaysOn";a:3:{s:9:"prototype";s:27:"dojox.grid.editors.AlwaysOn";s:4:"type";s:7:"boolean";s:7:"summary";s:67:"flag to use editor to format grid cell regardless of editing state.";}s:39:"dojox.grid.editors.AlwaysOn._formatNode";a:6:{s:9:"prototype";s:27:"dojox.grid.editors.AlwaysOn";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inDatum";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:65:" this.formatNode(this.getNode(inRowIndex), inDatum, inRowIndex);";s:7:"private";b:1;s:7:"summary";s:0:"";}s:44:"dojox.grid.editors.AlwaysOn.applyStaticValue";a:5:{s:9:"prototype";s:27:"dojox.grid.editors.AlwaysOn";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:139:" var e = this.cell.grid.edit; e.applyCellEdit(this.getValue(inRowIndex), this.cell, inRowIndex); e.start(this.cell, inRowIndex, true);";s:7:"summary";s:0:"";}s:23:"dojox.grid.editors.Bool";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:27:"dojox.grid.editors.AlwaysOn";}s:4:"call";a:1:{i:0;s:27:"dojox.grid.editors.AlwaysOn";}}s:7:"summary";s:68:"grid cell editor that provides a standard checkbox that is always on";s:9:"classlike";b:1;}s:34:"dojox.grid.editors.Bool._valueProp";a:3:{s:9:"prototype";s:23:"dojox.grid.editors.Bool";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dojox.grid.editors.Bool.format";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Bool";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:7:"inDatum";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:126:" return '';";s:7:"summary";s:0:"";}s:31:"dojox.grid.editors.Bool.doclick";a:5:{s:9:"prototype";s:23:"dojox.grid.editors.Bool";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:76:" if(e.target.tagName == 'INPUT'){ this.applyStaticValue(e.rowIndex); }";s:7:"summary";s:0:"";}s:23:"dojox.grid.editors.base";a:1:{s:7:"summary";s:0:"";}s:24:"dojox.grid.editors.input";a:1:{s:7:"summary";s:0:"";}s:25:"dojox.grid.editors.select";a:1:{s:7:"summary";s:0:"";}s:27:"dojox.grid.editors.alwaysOn";a:1:{s:7:"summary";s:0:"";}s:23:"dojox.grid.editors.bool";a:1:{s:7:"summary";s:0:"";}s:31:"dojox.grid.compat._data.editors";a:3:{s:4:"type";s:6:"Object";s:14:"private_parent";b:1;s:7:"summary";s:0:"";}s:23:"dojox.grid.compat._data";a:3:{s:4:"type";s:6:"Object";s:7:"private";b:1;s:7:"summary";s:0:"";}s:17:"dojox.grid.compat";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:10:"dojox.grid";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:"";}}