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

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

?? action.js.svn-base

?? ExtJS+SSH框架實現的CRM模板
?? SVN-BASE
字號:
/*
 * 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一区二区三区免费野_久草精品视频
蜜臀精品久久久久久蜜臀| 久久久久高清精品| 亚洲综合在线观看视频| 国产成人无遮挡在线视频| 国产精品麻豆久久久| 欧美乱妇一区二区三区不卡视频| 欧美一区二区女人| 99久久婷婷国产| 日韩精品乱码免费| 国产日韩欧美精品电影三级在线| 成熟亚洲日本毛茸茸凸凹| 亚洲欧洲制服丝袜| 精品国产免费一区二区三区香蕉 | 精品粉嫩超白一线天av| 久久精品国产99| 亚洲午夜私人影院| 激情丁香综合五月| 高清视频一区二区| 美女久久久精品| 成人免费看的视频| 欧美性一区二区| 精品欧美一区二区久久| 欧洲另类一二三四区| 亚洲影院久久精品| 日本欧美在线看| 国产一区二区三区四区在线观看| 成人久久久精品乱码一区二区三区 | 91精品国产色综合久久不卡蜜臀 | 一区二区不卡在线视频 午夜欧美不卡在| 国产精品久久久久久户外露出| 亚洲靠逼com| 蜜臀久久久久久久| 成人性生交大片免费看在线播放 | 自拍偷拍亚洲激情| 日本伊人午夜精品| 91丨porny丨国产入口| 日韩一区二区影院| 亚洲一区二区三区四区的| 国产成人av一区| 日韩欧美国产一二三区| 亚洲一区二区视频在线观看| 国产精品亚洲а∨天堂免在线| 欧美日韩一区二区三区不卡| 国产精品蜜臀av| 国产一区中文字幕| 精品国产乱码久久久久久影片| 亚洲国产欧美一区二区三区丁香婷| 大桥未久av一区二区三区中文| 日韩精品一区二区三区中文不卡| 天天综合色天天| 欧美日韩高清在线| 肉色丝袜一区二区| 91精品啪在线观看国产60岁| 亚洲成a人片综合在线| 欧美色老头old∨ideo| 亚洲电影第三页| 欧美久久免费观看| 日韩av中文在线观看| 91精品国产日韩91久久久久久| 日本aⅴ免费视频一区二区三区| 制服丝袜成人动漫| 国产一区二区三区日韩| 欧美精品一区二区三区久久久| 国产成人午夜电影网| 欧美激情一区二区在线| 日本黄色一区二区| 日本中文在线一区| 中文字幕一区二区三区在线不卡| 色综合久久久久综合体| 美女视频网站黄色亚洲| 国产精品久久久久永久免费观看 | 91一区二区三区在线观看| 一区二区三区在线免费观看| 日韩午夜精品电影| 91在线播放网址| 六月丁香综合在线视频| 亚洲三级电影全部在线观看高清| 欧美一区二区三区影视| 免费在线看成人av| 国产婷婷色一区二区三区| 91在线码无精品| 日韩精品1区2区3区| 久久这里只有精品6| 91蜜桃免费观看视频| 毛片av一区二区| 中文无字幕一区二区三区| 97se亚洲国产综合自在线观| 亚洲成人一区二区在线观看| 日韩天堂在线观看| 粉嫩在线一区二区三区视频| 一区二区在线看| 日韩视频在线观看一区二区| 91浏览器在线视频| 国产91丝袜在线播放| 美女视频黄免费的久久| 日韩专区欧美专区| 一区二区三区免费网站| 国产精品久久久久久久久免费丝袜 | 欧美日韩一区二区三区四区五区| 一区二区三区久久久| 欧美—级在线免费片| 久久久久久久综合日本| 欧美日韩精品欧美日韩精品| 91亚洲国产成人精品一区二区三| 国产一区欧美二区| 免费成人性网站| 亚洲国产视频a| 亚洲国产成人porn| 亚洲在线视频网站| 久久不见久久见免费视频7| 日韩av一区二区三区四区| 免费欧美高清视频| 成人短视频下载| 99久久综合国产精品| 99久久婷婷国产综合精品| 色婷婷久久99综合精品jk白丝| 91精品1区2区| 日韩亚洲欧美高清| 亚洲男人天堂一区| 久久精品免费看| 国产成a人亚洲| 欧美高清视频一二三区| 欧美精品一区二区三区一线天视频| 欧美电影免费提供在线观看| 国产精品系列在线| 亚洲高清免费在线| 国产剧情一区二区三区| 国产精品一品视频| 欧美日韩aaaaaa| 中文字幕综合网| 国产宾馆实践打屁股91| 欧美高清dvd| 亚洲精品视频在线看| 国产精一品亚洲二区在线视频| 91香蕉视频污| 久久精品视频在线免费观看| 日韩在线一二三区| 91免费国产视频网站| 欧美国产日韩a欧美在线观看| 日韩av一二三| 69堂成人精品免费视频| 亚洲成av人片一区二区梦乃 | 不卡的av网站| 久久蜜桃一区二区| 国产成人综合在线播放| 日韩欧美电影在线| 日本在线不卡视频| 日韩午夜三级在线| 国模少妇一区二区三区| 久久久久亚洲综合| 99国产精品99久久久久久| **欧美大码日韩| 欧美亚洲综合网| 亚洲福利视频导航| 3atv一区二区三区| 一区二区三区在线播| 久久久噜噜噜久久中文字幕色伊伊| 久久99精品一区二区三区| 久久在线观看免费| 欧美视频一区二区在线观看| 偷拍自拍另类欧美| 精品三级在线看| 秋霞av亚洲一区二区三| 久久综合狠狠综合久久激情| 丰满岳乱妇一区二区三区| 亚洲情趣在线观看| 日韩一区二区三区精品视频| 国产精品1区2区| 久久99精品久久久久久国产越南| 亚洲麻豆国产自偷在线| 国产欧美一区二区在线观看| 欧美大胆人体bbbb| 欧美日韩国产片| 欧美日韩你懂得| 欧美亚洲综合网| 欧美日韩国产免费| 欧美裸体一区二区三区| 欧美日韩国产高清一区二区 | 中文字幕av一区二区三区| 精品国产在天天线2019| 精品对白一区国产伦| 久久美女高清视频| 欧美国产1区2区| 日韩中文字幕1| 欧美电影免费观看高清完整版在 | 日本不卡不码高清免费观看| 久久久国产精华| 欧美一区午夜视频在线观看| 欧美性大战xxxxx久久久| 91丨porny丨户外露出| 成人sese在线| 在线视频国产一区| 99精品国产99久久久久久白柏| 激情久久久久久久久久久久久久久久| 美女任你摸久久| 日本色综合中文字幕| 麻豆成人久久精品二区三区小说| 裸体一区二区三区| 国产福利精品一区二区| av亚洲产国偷v产偷v自拍|