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

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

?? action.js

?? 最強的js界面,超前衛的顯示方式 把AJAX運用得淋漓盡致。
?? JS
字號:
/*
 * Ext JS Library 2.0.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/**
 * @class Ext.Action
 * <p>An Action is a piece of reusable functionality that can be abstracted out of any particular component so that it
 * can be usefully shared among multiple components.  Actions let you share handlers, configuration options and UI
 * updates across any components that support the Action interface (primarily {@link Ext.Toolbar}, {@link Ext.Button}
 * and {@link Ext.menu.Menu} components).</p>
 * <p>Aside from supporting the config object interface, any component that needs to use Actions must also support
 * the following method list, as these will be called as needed by the Action class: setText(string), setIconCls(string),
 * setDisabled(boolean), setVisible(boolean) and setHandler(function).</p>
 * Example usage:<br>
 * <pre><code>
// Define the shared action.  Each component below will have the same
// display text and icon, and will display the same message on click.
var action = new Ext.Action({
    text: 'Do something',
    handler: function(){
        Ext.Msg.alert('Click', 'You did something.');
    },
    iconCls: 'do-something'
});

var panel = new Ext.Panel({
    title: 'Actions',
    width:500,
    height:300,
    tbar: [
        // Add the action directly to a toolbar as a menu button
        action, {
            text: 'Action Menu',
            // Add the action to a menu as a text item
            menu: [action]
        }
    ],
    items: [
        // Add the action to the panel body as a standard button
        new Ext.Button(action)
    ],
    renderTo: Ext.getBody()
});

// Change the text for all components using the action
action.setText('Something else');
</code></pre>
 * @constructor
 * @param {Object} config The configuration options
 */
Ext.Action = function(config){
    this.initialConfig = config;
    this.items = [];
}

Ext.Action.prototype = {
    /**
     * @cfg {String} text The text to set for all components using this action (defaults to '').
     */
    /**
     * @cfg {String} iconCls The icon CSS class for all components using this action (defaults to '').
     * The class should supply a background image that will be used as the icon image.
     */
    /**
     * @cfg {Boolean} disabled True to disable all components using this action, false to enable them (defaults to false).
     */
    /**
     * @cfg {Boolean} hidden True to hide all components using this action, false to show them (defaults to false).
     */
    /**
     * @cfg {Function} handler The function that will be invoked by each component tied to this action
     * when the component's primary event is triggered (defaults to undefined).
     */
    /**
     * @cfg {Object} scope The scope in which the {@link #handler} function will execute.
     */

    // private
    isAction : true,

    /**
     * Sets the text to be displayed by all components using this action.
     * @param {String} text The text to display
     */
    setText : function(text){
        this.initialConfig.text = text;
        this.callEach('setText', [text]);
    },

    /**
     * Gets the text currently displayed by all components using this action.
     */
    getText : function(){
        return this.initialConfig.text;
    },

    /**
     * Sets the icon CSS class for all components using this action.  The class should supply
     * a background image that will be used as the icon image.
     * @param {String} cls The CSS class supplying the icon image
     */
    setIconClass : function(cls){
        this.initialConfig.iconCls = cls;
        this.callEach('setIconClass', [cls]);
    },

    /**
     * Gets the icon CSS class currently used by all components using this action.
     */
    getIconClass : function(){
        return this.initialConfig.iconCls;
    },

    /**
     * Sets the disabled state of all components using this action.  Shortcut method
     * for {@link #enable} and {@link #disable}.
     * @param {Boolean} disabled True to disable the component, false to enable it
     */
    setDisabled : function(v){
        this.initialConfig.disabled = v;
        this.callEach('setDisabled', [v]);
    },

    /**
     * Enables all components using this action.
     */
    enable : function(){
        this.setDisabled(false);
    },

    /**
     * Disables all components using this action.
     */
    disable : function(){
        this.setDisabled(true);
    },

    /**
     * Returns true if the components using this action are currently disabled, else returns false.  Read-only.
     * @property
     */
    isDisabled : function(){
        return this.initialConfig.disabled;
    },

    /**
     * Sets the hidden state of all components using this action.  Shortcut method
     * for {@link #hide} and {@link #show}.
     * @param {Boolean} hidden True to hide the component, false to show it
     */
    setHidden : function(v){
        this.initialConfig.hidden = v;
        this.callEach('setVisible', [!v]);
    },

    /**
     * Shows all components using this action.
     */
    show : function(){
        this.setHidden(false);
    },

    /**
     * Hides all components using this action.
     */
    hide : function(){
        this.setHidden(true);
    },

    /**
     * Returns true if the components using this action are currently hidden, else returns false.  Read-only.
     * @property
     */
    isHidden : function(){
        return this.initialConfig.hidden;
    },

    /**
     * Sets the function that will be called by each component using this action when its primary event is triggered.
     * @param {Function} fn The function that will be invoked by the action's components.  The function
     * will be called with no arguments.
     * @param {Object} scope The scope in which the function will execute
     */
    setHandler : function(fn, scope){
        this.initialConfig.handler = fn;
        this.initialConfig.scope = scope;
        this.callEach('setHandler', [fn, scope]);
    },

    /**
     * Executes the specified function once for each component currently tied to this action.  The function passed
     * in should accept a single argument that will be an object that supports the basic Action config/method interface.
     * @param {Function} fn The function to execute for each component
     * @param {Object} scope The scope in which the function will execute
     */
    each : function(fn, scope){
        Ext.each(this.items, fn, scope);
    },

    // private
    callEach : function(fnName, args){
        var cs = this.items;
        for(var i = 0, len = cs.length; i < len; i++){
            cs[i][fnName].apply(cs[i], args);
        }
    },

    // private
    addComponent : function(comp){
        this.items.push(comp);
        comp.on('destroy', this.removeComponent, this);
    },

    // private
    removeComponent : function(comp){
        this.items.remove(comp);
    },

    /**
     * Executes this action manually using the default handler specified in the original config object.  Any arguments
     * passed to this function will be passed on to the handler function.
     * @param {Mixed} arg1 (optional) Variable number of arguments passed to the handler function 
     * @param {Mixed} arg2 (optional)
     * @param {Mixed} etc... (optional)
     */
    execute : function(){
        this.initialConfig.handler.apply(this.initialConfig.scope || window, arguments);
    }
};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久99久久99小草精品免视看| 色综合久久中文综合久久牛| 欧美aaa在线| 夜夜嗨av一区二区三区中文字幕| 国产香蕉久久精品综合网| 日韩一区国产二区欧美三区| 欧美岛国在线观看| 欧美一激情一区二区三区| 欧美日韩亚洲丝袜制服| 欧美一区二区视频观看视频 | 欧美精品一二三| 欧美日韩一二区| 欧美日韩一本到| 欧美美女喷水视频| 91精品国产一区二区三区香蕉| 国产91精品露脸国语对白| 成人爱爱电影网址| 99视频一区二区三区| 99视频一区二区| 欧美日韩精品高清| 欧美日韩美少妇| 91麻豆精品国产91久久久久久久久 | 欧美日韩国产123区| 8x8x8国产精品| 日韩欧美在线影院| 欧美成va人片在线观看| 久久久久久综合| 国产精品黄色在线观看| 亚洲人成在线播放网站岛国| 午夜视频在线观看一区| 日本不卡一区二区| 久久精品国产99国产精品| 免费美女久久99| 成人免费观看视频| 91美女精品福利| 欧美日韩视频专区在线播放| 日韩你懂的电影在线观看| 久久综合一区二区| 中文字幕一区二区三区在线不卡| 亚洲成人av免费| 亚洲国产精品一区二区尤物区| 免费xxxx性欧美18vr| 国产成人精品网址| 国产精品一二三在| 色欲综合视频天天天| 欧美影视一区二区三区| 欧美日韩视频在线第一区| 久久先锋影音av鲁色资源网| 国产精品情趣视频| 日本免费新一区视频| 国产成人精品亚洲日本在线桃色| 一本大道综合伊人精品热热 | 国产精品天干天干在线综合| 亚洲综合一区二区| 日韩电影在线一区二区三区| eeuss鲁一区二区三区| 欧美剧情片在线观看| 久久久久久久电影| 亚洲成在人线在线播放| 久久99精品国产麻豆不卡| 99久久精品国产网站| 91精品久久久久久久久99蜜臂| 日本欧美大码aⅴ在线播放| 九色porny丨国产精品| 国产清纯美女被跳蛋高潮一区二区久久w| 欧美精品一区二区三区在线播放| 亚洲欧美成aⅴ人在线观看| 日本午夜一本久久久综合| 成人亚洲一区二区一| 欧美一区二区视频免费观看| 国产精品免费久久| 日韩成人伦理电影在线观看| 色综合久久精品| 26uuu欧美| 亚洲与欧洲av电影| 国产精品乡下勾搭老头1| 欧美性受xxxx黑人xyx| 欧美国产1区2区| 另类成人小视频在线| 在线观看日韩电影| 国产亚洲精品bt天堂精选| 久久久久综合网| 精品亚洲国内自在自线福利| 欧美系列在线观看| 自拍视频在线观看一区二区| 国产乱理伦片在线观看夜一区| 欧美丝袜丝nylons| 日韩美女久久久| 国产成人免费视频| 在线不卡免费欧美| 亚洲男女一区二区三区| 在线精品国精品国产尤物884a| 日韩精品中文字幕一区二区三区| 在线成人午夜影院| 狠狠狠色丁香婷婷综合激情| 欧美最新大片在线看| 久久久久久久综合色一本| 狠狠色丁香久久婷婷综合_中| 欧美视频一区二区| 综合中文字幕亚洲| 色婷婷一区二区三区四区| 日本一区二区三区在线不卡| 久草在线在线精品观看| 在线播放日韩导航| 免费高清在线一区| 欧美一级精品在线| 亚洲成av人片在www色猫咪| 91麻豆国产自产在线观看| 日韩毛片视频在线看| 成人一级视频在线观看| 欧美日韩精品一区二区| 日韩电影在线一区二区| 欧美男生操女生| 天堂成人国产精品一区| 日韩一级视频免费观看在线| 同产精品九九九| 色先锋aa成人| 天堂一区二区在线免费观看| 亚洲精品在线网站| 久久9热精品视频| 久久久久国产精品麻豆| 国产精品亚洲一区二区三区在线 | 91精品视频网| 亚洲va国产va欧美va观看| 欧美日韩视频第一区| 丝瓜av网站精品一区二区 | 中文字幕成人在线观看| 成人免费黄色大片| 中文字幕永久在线不卡| 91福利国产精品| 亚洲一区二区三区视频在线| 欧美日韩精品欧美日韩精品| 亚洲电影一级黄| 在线观看91精品国产入口| 亚洲一区二区三区四区在线观看| 欧美主播一区二区三区| 午夜精品aaa| 日韩午夜三级在线| 波多野结衣视频一区| 一区二区三区电影在线播| 欧美日韩综合色| 国产乱码一区二区三区| 亚洲视频一二三区| 欧美嫩在线观看| 欧美久久久久久久久中文字幕| 欧美日韩午夜在线视频| 蜜桃传媒麻豆第一区在线观看| 欧美一级免费大片| 国产成人免费视频网站| 亚洲天堂av老司机| 欧美精品成人一区二区三区四区| 国产一区福利在线| 中文字幕中文字幕在线一区| 欧美在线观看视频一区二区| 精品一区二区影视| 自拍偷拍亚洲欧美日韩| 欧美日韩第一区日日骚| 午夜国产不卡在线观看视频| 久久蜜桃av一区精品变态类天堂| 91影院在线免费观看| 青青草原综合久久大伊人精品优势| 国产免费观看久久| 欧美日高清视频| 国产成人综合在线观看| 婷婷成人激情在线网| 国产午夜精品理论片a级大结局| 色欧美88888久久久久久影院| 秋霞成人午夜伦在线观看| 国产欧美精品国产国产专区| 91久久精品一区二区| 国产乱人伦偷精品视频不卡| 亚洲人成7777| 欧美不卡123| 色综合久久综合中文综合网| 久久99久久久欧美国产| 99精品国产视频| 日本在线不卡视频| 久久久久久久久久久久电影| 亚洲午夜免费电影| 国产精品区一区二区三区| 欧美成人a∨高清免费观看| 欧美日本精品一区二区三区| 成人高清视频在线| 国产一区二区成人久久免费影院| 亚洲韩国精品一区| 亚洲美女少妇撒尿| 综合自拍亚洲综合图不卡区| 国产女人18毛片水真多成人如厕| 精品日韩av一区二区| 日韩一区二区三区观看| 欧美日本在线视频| 欧美日韩一区二区三区视频| 欧美中文字幕亚洲一区二区va在线 | 欧美一区二区三区免费大片| 91福利精品第一导航| 色国产综合视频| 一本久久a久久免费精品不卡| 成人app网站| 国产黄色91视频| 国产成人免费视频精品含羞草妖精|