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

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

?? action.js

?? ExtJS+SSH框架實現的CRM模板
?? JS
字號:
/*
 * Ext JS Library 2.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一区二区三区免费野_久草精品视频
久久亚洲综合色一区二区三区| 亚洲天堂免费看| 免费视频最近日韩| 欧美一区二区三区免费视频| 首页综合国产亚洲丝袜| 日韩三级视频中文字幕| 国产原创一区二区| 欧美高清在线一区二区| 91视频www| 日本中文字幕一区二区视频| 久久久久综合网| 色综合 综合色| 美国欧美日韩国产在线播放| 国产精品天天看| 欧美做爰猛烈大尺度电影无法无天| 亚洲一线二线三线视频| 日韩精品一区国产麻豆| 成人小视频在线| 一区二区三区资源| 精品久久久久久久人人人人传媒| 国产馆精品极品| 亚洲大片免费看| 国产片一区二区三区| 欧美高清视频在线高清观看mv色露露十八| 麻豆精品国产91久久久久久| 亚洲桃色在线一区| 久久老女人爱爱| 欧美日韩精品一区二区在线播放| 国产一区二区精品久久| 亚洲午夜一区二区| 国产精品色在线| 日韩欧美国产三级电影视频| 91国产丝袜在线播放| 国产一区在线观看麻豆| 亚洲成人综合视频| 综合色天天鬼久久鬼色| 欧美mv日韩mv亚洲| 欧美在线视频全部完| 成人黄色网址在线观看| 精品影视av免费| 亚洲第一福利视频在线| 亚洲三级理论片| 久久精品男人的天堂| 欧美精品三级日韩久久| 懂色av一区二区三区蜜臀| 美日韩一级片在线观看| 亚洲mv大片欧洲mv大片精品| 日韩一区在线看| 久久精品男人天堂av| 欧美r级在线观看| 欧美一卡2卡3卡4卡| 欧美日韩成人激情| 在线观看www91| 色婷婷av一区二区| 99久精品国产| 色老汉av一区二区三区| 99精品视频在线免费观看| 国产成人精品综合在线观看 | 亚洲一卡二卡三卡四卡| 日本一区二区三区视频视频| 精品免费国产二区三区| 欧美大片一区二区| 日韩西西人体444www| 欧美一区二区三区免费视频| 欧美日韩亚洲国产综合| 色美美综合视频| 欧美性生活大片视频| 欧美人牲a欧美精品| 欧美日韩久久久| 欧美一区二区视频在线观看2020 | 亚洲欧洲日韩av| 亚洲色图制服诱惑| 亚洲欧美韩国综合色| 成人免费在线视频观看| 亚洲欧美另类小说视频| 亚洲午夜久久久久| 久久精品国产第一区二区三区| 久久99精品国产.久久久久久| 国产乱码一区二区三区| 成人一道本在线| 色综合天天综合色综合av| 一本一道波多野结衣一区二区| 在线视频你懂得一区二区三区| 欧美男女性生活在线直播观看| 91麻豆精品国产91久久久久久久久| 日韩一区二区三区在线视频| 国产区在线观看成人精品 | 国产成人精品亚洲午夜麻豆| 成人精品国产福利| 色婷婷国产精品久久包臀| 91精品国产一区二区三区蜜臀| 精品剧情在线观看| 国产精品国产三级国产普通话三级 | 国产福利一区二区| 91网站在线观看视频| 欧美一区二区三区免费视频 | 亚洲一卡二卡三卡四卡无卡久久| 男男gaygay亚洲| 成人av网站在线观看免费| 欧美日韩中文字幕一区| 久久综合999| 亚洲一区二区三区爽爽爽爽爽| 久久精品国产精品青草| 在线视频一区二区免费| 久久嫩草精品久久久精品| 亚洲永久精品大片| 国产寡妇亲子伦一区二区| 欧美亚洲动漫制服丝袜| 精品成人在线观看| 亚洲国产毛片aaaaa无费看 | 欧美精品自拍偷拍| 国产日韩欧美一区二区三区乱码 | 北条麻妃一区二区三区| 日韩一区二区三区视频在线观看| 国产精品二区一区二区aⅴ污介绍| 日韩电影一区二区三区| 91天堂素人约啪| 国产精品素人一区二区| 狠狠色综合日日| 日韩一级免费观看| 亚洲精品中文字幕乱码三区| 国产高清不卡二三区| 欧美日韩第一区日日骚| 一区二区三区成人| 99精品黄色片免费大全| 欧美激情一区在线| 久久99热国产| 欧美成人猛片aaaaaaa| 天堂va蜜桃一区二区三区漫画版 | 91精品在线麻豆| 亚洲一区免费观看| 色婷婷综合激情| 亚洲蜜臀av乱码久久精品蜜桃| voyeur盗摄精品| 中文字幕一区三区| 91免费精品国自产拍在线不卡| 亚洲国产精品传媒在线观看| 国产成人久久精品77777最新版本| 精品成人在线观看| 国产成人综合网站| 国产偷国产偷亚洲高清人白洁| 国产一区激情在线| 欧美国产97人人爽人人喊| 国产大陆a不卡| 日本一区二区综合亚洲| 成人免费av在线| 18欧美乱大交hd1984| 色综合天天做天天爱| 一区二区久久久久久| 欧美视频三区在线播放| 视频一区视频二区中文字幕| 日韩欧美国产综合在线一区二区三区| 日韩在线a电影| 亚洲精品一区二区在线观看| 成人免费毛片嘿嘿连载视频| 亚洲色图色小说| 欧美日韩在线免费视频| 久久精品99国产精品日本| 久久精品一区四区| 91免费观看国产| 偷拍亚洲欧洲综合| 久久久噜噜噜久久人人看 | 一区二区三区小说| 日韩视频免费观看高清完整版| 国产成人免费高清| 亚洲一区二区三区四区在线观看 | 午夜精品福利一区二区蜜股av| 日韩欧美一区二区视频| 韩国三级在线一区| 亚洲精选免费视频| 日韩三级在线观看| 99久久精品国产精品久久| 亚洲成人免费视频| 亚洲国产高清不卡| 91精品国产乱| 91影院在线观看| 免费成人美女在线观看.| 中文字幕日本不卡| 欧美一区二区大片| 色吧成人激情小说| 国内不卡的二区三区中文字幕 | 亚洲国产精品一区二区久久恐怖片| 日韩欧美一级在线播放| 色屁屁一区二区| 国产经典欧美精品| 欧美aa在线视频| 亚洲最大色网站| 国产精品久久久久久久久快鸭| 宅男噜噜噜66一区二区66| 99riav一区二区三区| 国产一区二区剧情av在线| 日韩成人伦理电影在线观看| 亚洲免费av高清| 国产欧美日韩精品在线| 精品久久五月天| 欧美片网站yy| 欧美日韩在线不卡| 欧美日韩国产不卡| 91在线国内视频| 99久久精品免费看国产|