亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? combo.js

?? ext js demo ext學習資料
?? JS
?? 第 1 頁 / 共 2 頁
字號:
/*
 * Ext JS Library 1.1 RC 1
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://www.extjs.com/license
 */

/** * @class Ext.form.ComboBox * @extends Ext.form.TriggerField * A combobox control with support for autocomplete, remote-loading, paging and many other features. * @constructor * Create a new ComboBox. * @param {Object} config Configuration options */Ext.form.ComboBox = function(config){    Ext.form.ComboBox.superclass.constructor.call(this, config);    this.addEvents({        /**         * @event expand         * Fires when the dropdown list is expanded	     * @param {Ext.form.ComboBox} combo This combo box	     */        'expand' : true,        /**         * @event collapse         * Fires when the dropdown list is collapsed	     * @param {Ext.form.ComboBox} combo This combo box	     */        'collapse' : true,        /**         * @event beforeselect         * Fires before a list item is selected. Return false to cancel the selection.	     * @param {Ext.form.ComboBox} combo This combo box	     * @param {Ext.data.Record} record The data record returned from the underlying store	     * @param {Number} index The index of the selected item in the dropdown list	     */        'beforeselect' : true,        /**         * @event select         * Fires when a list item is selected	     * @param {Ext.form.ComboBox} combo This combo box	     * @param {Ext.data.Record} record The data record returned from the underlying store	     * @param {Number} index The index of the selected item in the dropdown list	     */        'select' : true,        /**         * @event beforequery         * Fires before all queries are processed. Return false to cancel the query or set cancel to true.         * The event object passed has these properties:	     * @param {Ext.form.ComboBox} combo This combo box	     * @param {String} query The query	     * @param {Boolean} forceAll true to force "all" query	     * @param {Boolean} cancel true to cancel the query	     * @param {Object} e The query event object	     */        'beforequery': true    });    if(this.transform){        this.allowDomMove = false;        var s = Ext.getDom(this.transform);        if(!this.hiddenName){            this.hiddenName = s.name;        }        if(!this.store){            this.mode = 'local';            var d = [], opts = s.options;            for(var i = 0, len = opts.length;i < len; i++){                var o = opts[i];                var value = (Ext.isIE ? o.getAttributeNode('value').specified : o.hasAttribute('value')) ? o.value : o.text;                if(o.selected) {                    this.value = value;                }                d.push([value, o.text]);            }            this.store = new Ext.data.SimpleStore({                'id': 0,                fields: ['value', 'text'],                data : d            });            this.valueField = 'value';            this.displayField = 'text';        }        s.name = Ext.id(); // wipe out the name in case somewhere else they have a reference        if(!this.lazyRender){            this.target = true;            this.el = Ext.DomHelper.insertBefore(s, this.autoCreate || this.defaultAutoCreate);            s.parentNode.removeChild(s); // remove it            this.render(this.el.parentNode);        }else{            s.parentNode.removeChild(s); // remove it        }    }    this.selectedIndex = -1;    if(this.mode == 'local'){        if(config.queryDelay === undefined){            this.queryDelay = 10;        }        if(config.minChars === undefined){            this.minChars = 0;        }    }};Ext.extend(Ext.form.ComboBox, Ext.form.TriggerField, {    /**     * @cfg {String/HTMLElement/Element} transform The id, DOM node or element of an existing select to convert to a ComboBox     */    /**     * @cfg {Boolean} lazyRender True to prevent the ComboBox from rendering until requested (should always be used when     * rendering into an Ext.Editor, defaults to false)     */    /**     * @cfg {Boolean/Object} autoCreate A DomHelper element spec, or true for a default element spec (defaults to:     * {tag: "input", type: "text", size: "24", autocomplete: "off"})     */    // private    defaultAutoCreate : {tag: "input", type: "text", size: "24", autocomplete: "off"},    /**     * @cfg {Number} listWidth The width in pixels of the dropdown list (defaults to the width of the ComboBox field)     */    listWidth: undefined,    /**     * @cfg {String} displayField The underlying data field name to bind to this CombBox (defaults to undefined if     * mode = 'remote' or 'text' if mode = 'local')     */    displayField: undefined,    /**     * @cfg {String} valueField The underlying data value name to bind to this CombBox (defaults to undefined if     * mode = 'remote' or 'value' if mode = 'local')     */    valueField: undefined,    /**     * @cfg {String} hiddenName If specified, a hidden form field with this name is dynamically generated to store the     * field's data value (defaults to the underlying DOM element's name)     */    hiddenName: undefined,    /**     * @cfg {String} listClass CSS class to apply to the dropdown list element (defaults to '')     */    listClass: '',    /**     * @cfg {String} selectedClass CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')     */    selectedClass: 'x-combo-selected',    /**     * @cfg {String} triggerClass An additional CSS class used to style the trigger button.  The trigger will always get the     * class 'x-form-trigger' and triggerClass will be <b>appended</b> if specified (defaults to 'x-form-arrow-trigger'     * which displays a downward arrow icon).     */    triggerClass : 'x-form-arrow-trigger',    /**     * @cfg {Boolean/String} shadow True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right     */    shadow:'sides',    /**     * @cfg {String} listAlign A valid anchor position value. See {@link Ext.Element#alignTo} for details on supported     * anchor positions (defaults to 'tl-bl')     */    listAlign: 'tl-bl?',    /**     * @cfg {Number} maxHeight The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)     */    maxHeight: 300,    /**     * @cfg {String} triggerAction The action to execute when the trigger field is activated.  Use 'all' to run the     * query specified by the allQuery config option (defaults to 'query')     */    triggerAction: 'query',    /**     * @cfg {Number} minChars The minimum number of characters the user must type before autocomplete and typeahead activate     * (defaults to 4, does not apply if editable = false)     */    minChars : 4,    /**     * @cfg {Boolean} typeAhead True to populate and autoselect the remainder of the text being typed after a configurable     * delay (typeAheadDelay) if it matches a known value (defaults to false)     */    typeAhead: false,    /**     * @cfg {Number} queryDelay The length of time in milliseconds to delay between the start of typing and sending the     * query to filter the dropdown list (defaults to 500 if mode = 'remote' or 10 if mode = 'local')     */    queryDelay: 500,    /**     * @cfg {Number} pageSize If greater than 0, a paging toolbar is displayed in the footer of the dropdown list and the     * filter queries will execute with page start and limit parameters.  Only applies when mode = 'remote' (defaults to 0)     */    pageSize: 0,    /**     * @cfg {Boolean} selectOnFocus True to select any existing text in the field immediately on focus.  Only applies     * when editable = true (defaults to false)     */    selectOnFocus:false,    /**     * @cfg {String} queryParam Name of the query as it will be passed on the querystring (defaults to 'query')     */    queryParam: 'query',    /**     * @cfg {String} loadingText The text to display in the dropdown list while data is loading.  Only applies     * when mode = 'remote' (defaults to 'Loading...')     */    loadingText: 'Loading...',    /**     * @cfg {Boolean} resizable True to add a resize handle to the bottom of the dropdown list (defaults to false)     */    resizable: false,    /**     * @cfg {Number} handleHeight The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)     */    handleHeight : 8,    /**     * @cfg {Boolean} editable False to prevent the user from typing text directly into the field, just like a     * traditional select (defaults to true)     */    editable: true,    /**     * @cfg {String} allQuery The text query to send to the server to return all records for the list with no filtering (defaults to '')     */    allQuery: '',    /**     * @cfg {String} mode Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)     */    mode: 'remote',    /**     * @cfg {Number} minListWidth The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if     * listWidth has a higher value)     */    minListWidth : 70,    /**     * @cfg {Boolean} forceSelection True to restrict the selected value to one of the values in the list, false to     * allow the user to set arbitrary text into the field (defaults to false)     */    forceSelection:false,    /**     * @cfg {Number} typeAheadDelay The length of time in milliseconds to wait until the typeahead text is displayed     * if typeAhead = true (defaults to 250)     */    typeAheadDelay : 250,    /**     * @cfg {String} valueNotFoundText When using a name/value combo, if the value passed to setValue is not found in     * the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined)     */    valueNotFoundText : undefined,    // private    onRender : function(ct, position){        Ext.form.ComboBox.superclass.onRender.call(this, ct, position);        if(this.hiddenName){            this.hiddenField = this.el.insertSibling({tag:'input', type:'hidden', name: this.hiddenName, id:  (this.hiddenId||this.hiddenName)},                    'before', true);            this.hiddenField.value =                this.hiddenValue !== undefined ? this.hiddenValue :                this.value !== undefined ? this.value : '';            // prevent input submission            this.el.dom.removeAttribute('name');        }        if(Ext.isGecko){            this.el.dom.setAttribute('autocomplete', 'off');        }        var cls = 'x-combo-list';        this.list = new Ext.Layer({            shadow: this.shadow, cls: [cls, this.listClass].join(' '), constrain:false        });        var lw = this.listWidth || Math.max(this.wrap.getWidth(), this.minListWidth);        this.list.setWidth(lw);        this.list.swallowEvent('mousewheel');        this.assetHeight = 0;        if(this.title){            this.header = this.list.createChild({cls:cls+'-hd', html: this.title});            this.assetHeight += this.header.getHeight();        }        this.innerList = this.list.createChild({cls:cls+'-inner'});        this.innerList.on('mouseover', this.onViewOver, this);        this.innerList.on('mousemove', this.onViewMove, this);        this.innerList.setWidth(lw - this.list.getFrameWidth('lr'))        if(this.pageSize){            this.footer = this.list.createChild({cls:cls+'-ft'});            this.pageTb = new Ext.PagingToolbar(this.footer, this.store,                    {pageSize: this.pageSize});            this.assetHeight += this.footer.getHeight();        }        if(!this.tpl){            this.tpl = '<div class="'+cls+'-item">{' + this.displayField + '}</div>';        }        this.view = new Ext.View(this.innerList, this.tpl, {            singleSelect:true, store: this.store, selectedClass: this.selectedClass        });        this.view.on('click', this.onViewClick, this);        this.store.on('beforeload', this.onBeforeLoad, this);        this.store.on('load', this.onLoad, this);        this.store.on('loadexception', this.collapse, this);        if(this.resizable){            this.resizer = new Ext.Resizable(this.list,  {               pinned:true, handles:'se'            });            this.resizer.on('resize', function(r, w, h){                this.maxHeight = h-this.handleHeight-this.list.getFrameWidth('tb')-this.assetHeight;                this.listWidth = w;                this.innerList.setWidth(w - this.list.getFrameWidth('lr'));                this.restrictHeight();            }, this);            this[this.pageSize?'footer':'innerList'].setStyle('margin-bottom', this.handleHeight+'px');        }        if(!this.editable){            this.editable = true;            this.setEditable(false);        }    },    // private    initEvents : function(){        Ext.form.ComboBox.superclass.initEvents.call(this);        this.keyNav = new Ext.KeyNav(this.el, {            "up" : function(e){                this.inKeyMode = true;                this.selectPrev();            },            "down" : function(e){                if(!this.isExpanded()){                    this.onTriggerClick();                }else{                    this.inKeyMode = true;                    this.selectNext();                }            },            "enter" : function(e){                this.onViewClick();                //return true;            },            "esc" : function(e){                this.collapse();            },            "tab" : function(e){                this.onViewClick(false);                return true;            },            scope : this,            doRelay : function(foo, bar, hname){                if(hname == 'down' || this.scope.isExpanded()){                   return Ext.KeyNav.prototype.doRelay.apply(this, arguments);                }                return true;            }        });        this.queryDelay = Math.max(this.queryDelay || 10,                this.mode == 'local' ? 10 : 250);        this.dqTask = new Ext.util.DelayedTask(this.initQuery, this);        if(this.typeAhead){            this.taTask = new Ext.util.DelayedTask(this.onTypeAhead, this);        }        if(this.editable !== false){            this.el.on("keyup", this.onKeyUp, this);        }        if(this.forceSelection){            this.on('blur', this.doForce, this);        }    },    onDestroy : function(){        if(this.view){            this.view.setStore(null);            this.view.el.removeAllListeners();            this.view.el.remove();            this.view.purgeListeners();        }        if(this.list){            this.list.destroy();        }        if(this.store){            this.store.un('beforeload', this.onBeforeLoad, this);            this.store.un('load', this.onLoad, this);            this.store.un('loadexception', this.collapse, this);        }        Ext.form.ComboBox.superclass.onDestroy.call(this);    },    // private    fireKey : function(e){        if(e.isNavKeyPress() && !this.list.isVisible()){            this.fireEvent("specialkey", this, e);        }    },    // private    onResize: function(w, h){        Ext.form.ComboBox.superclass.onResize.apply(this, arguments);        if(this.list && this.listWidth === undefined){            var lw = Math.max(w, this.minListWidth);            this.list.setWidth(lw);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产免费久久综合| 久久综合九色综合欧美98| 精品一区二区精品| 亚洲日本丝袜连裤袜办公室| 日韩欧美国产小视频| 91在线精品一区二区三区| 国内精品不卡在线| 爽好久久久欧美精品| 亚洲人成亚洲人成在线观看图片 | 99久久精品免费看国产| 另类中文字幕网| 亚洲成人激情自拍| 一色桃子久久精品亚洲| 久久综合九色综合97婷婷| 欧美日韩日日摸| 色婷婷狠狠综合| av亚洲产国偷v产偷v自拍| 国产麻豆精品95视频| 秋霞成人午夜伦在线观看| 亚洲精品成人a在线观看| 国产精品第四页| 国产欧美一区二区三区在线看蜜臀 | 欧美一区三区二区| 欧美影院一区二区| 色婷婷综合久色| 99久久久久免费精品国产| 不卡一区中文字幕| 国产成人免费在线观看不卡| 国产麻豆9l精品三级站| 国产一区福利在线| 国产美女在线观看一区| 韩国欧美国产1区| 国产一区二区三区在线观看精品| 蜜臀av性久久久久av蜜臀妖精| 亚瑟在线精品视频| 亚洲va欧美va人人爽午夜| 亚洲一二三级电影| 亚洲国产精品麻豆| 亚洲成av人片在线观看| 午夜激情久久久| 日韩精品乱码免费| 毛片av中文字幕一区二区| 另类人妖一区二区av| 麻豆91精品91久久久的内涵| 久久精品噜噜噜成人av农村| 久久狠狠亚洲综合| 国产一区二区看久久| 国产精品一区二区免费不卡| 国产成人精品亚洲日本在线桃色| 国产成人综合亚洲91猫咪| 成人午夜视频在线观看| 91亚洲资源网| 欧美性感一类影片在线播放| 91精品国产乱码久久蜜臀| 欧美成人伊人久久综合网| 国产午夜一区二区三区| 国产精品电影一区二区三区| 一区二区欧美国产| 日韩av一二三| 国产精品99精品久久免费| 99久久国产综合色|国产精品| 在线免费观看不卡av| 日韩一区二区三| 久久精品免费在线观看| 亚洲人一二三区| 视频一区二区三区入口| 国产福利一区二区三区视频| www.亚洲色图| 欧美精品丝袜中出| 久久久久久久久久看片| 亚洲欧美一区二区三区久本道91| 日韩专区一卡二卡| 国产成人一级电影| 欧美系列在线观看| 欧美精品一区二区三区在线播放| 国产精品第五页| 免费在线成人网| 99精品欧美一区二区三区综合在线| 欧美日韩五月天| 国产欧美日本一区二区三区| 亚洲国产乱码最新视频| 国产一区激情在线| 欧美日韩成人在线一区| 久久久av毛片精品| 婷婷成人激情在线网| 粉嫩av一区二区三区在线播放| 精品视频色一区| 国产三级精品三级| 天堂精品中文字幕在线| a美女胸又www黄视频久久| 日韩欧美中文字幕公布| 日韩一区在线播放| 狠狠色综合日日| 国产精品久久久久久久裸模| 午夜精品视频在线观看| 成人av免费网站| 欧美变态tickling挠脚心| 亚洲一区二区美女| 成人av网站免费观看| 精品动漫一区二区三区在线观看| 一区二区三区精密机械公司| 国产黄人亚洲片| 日韩欧美中文字幕制服| 一本大道久久精品懂色aⅴ| 久久伊人中文字幕| 日韩极品在线观看| 在线一区二区三区做爰视频网站| 久久久综合九色合综国产精品| 午夜精品久久久久久久99樱桃| 97国产一区二区| 国产精品毛片a∨一区二区三区| 久久99国产精品免费网站| 欧美剧情电影在线观看完整版免费励志电影| 国产网站一区二区| 国产美女娇喘av呻吟久久| 欧美一级久久久久久久大片| 亚洲在线免费播放| 91蜜桃在线免费视频| 国产精品二三区| 国产高清视频一区| 久久亚洲精精品中文字幕早川悠里 | 精品国产精品网麻豆系列| 日韩精品三区四区| 4438成人网| 亚洲成人精品在线观看| 欧美色区777第一页| 亚洲欧美成人一区二区三区| 99久久免费精品| 亚洲人xxxx| 色老汉一区二区三区| 亚洲免费资源在线播放| 97久久超碰国产精品电影| 国产精品久久久久9999吃药| 成人动漫av在线| 亚洲视频免费在线| 色综合久久综合网| 亚洲精品一卡二卡| 欧美天堂一区二区三区| 亚洲一区影音先锋| 欧美日本韩国一区| 偷拍亚洲欧洲综合| 日韩欧美第一区| 国产精品一区二区久久不卡| 久久先锋影音av鲁色资源| 国产精品一区2区| 欧美激情一区三区| a亚洲天堂av| 亚洲影院免费观看| 欧美一级日韩免费不卡| 激情五月激情综合网| 国产婷婷精品av在线| 99精品桃花视频在线观看| 亚洲自拍另类综合| 欧美一区二区三区在线电影| 国产在线精品国自产拍免费| 中文字幕va一区二区三区| 99精品国产99久久久久久白柏| 亚洲美女偷拍久久| 欧美一区二区免费视频| 国产精品亚洲综合一区在线观看| 日本一区二区视频在线观看| 色偷偷久久一区二区三区| 日韩精彩视频在线观看| 久久久高清一区二区三区| 91麻豆国产自产在线观看| 水蜜桃久久夜色精品一区的特点| 欧美mv和日韩mv的网站| 99久久综合精品| 婷婷开心久久网| 日本一区二区三区四区 | 欧美在线观看视频一区二区三区| 亚洲成av人影院在线观看网| 精品久久久网站| 91视频91自| 蜜桃视频在线观看一区| 国产色婷婷亚洲99精品小说| 在线一区二区三区| 狠狠色丁香九九婷婷综合五月| 国产精品久久午夜| 555夜色666亚洲国产免| 国产精品18久久久久| 一区二区三区在线视频观看| 欧美电影免费观看高清完整版| 国产91丝袜在线播放| 亚洲sss视频在线视频| 欧美激情在线观看视频免费| 欧美日韩精品欧美日韩精品一| 国产精品18久久久久久久久 | 丝袜亚洲另类丝袜在线| 久久久综合精品| 777色狠狠一区二区三区| av不卡免费在线观看| 精品一区二区三区免费视频| 一区二区三区高清不卡| 久久九九全国免费| 91精品国产入口在线| 色哟哟一区二区在线观看| 国产成人a级片| 韩国av一区二区三区| 三级影片在线观看欧美日韩一区二区 |