亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久综合五月天婷婷伊人| 日韩欧美成人一区| 蜜桃av噜噜一区二区三区小说| 久久久噜噜噜久久人人看| 在线观看国产一区二区| 风间由美一区二区三区在线观看 | 丝瓜av网站精品一区二区 | 欧美性高清videossexo| 丁香婷婷综合网| 六月丁香婷婷久久| 五月婷婷久久丁香| 亚洲精品乱码久久久久久久久| 日韩你懂的电影在线观看| 欧美日韩亚洲综合一区二区三区 | 国产精品18久久久久久久久久久久 | 亚洲高清免费观看| 亚洲视频电影在线| 国产欧美精品一区aⅴ影院| 日韩一二三区视频| 日韩精品一卡二卡三卡四卡无卡| 中文字幕不卡在线观看| 久久久久久久久久久99999| 538prom精品视频线放| 91成人免费电影| 91小视频免费观看| 成人av网站大全| 北条麻妃一区二区三区| 国产成a人无v码亚洲福利| 国产一区二区福利| 国产精品自拍一区| 国产做a爰片久久毛片| 麻豆91在线播放| 日韩福利视频网| 日韩av午夜在线观看| 亚洲午夜国产一区99re久久| 一区二区三区四区不卡在线 | 国产日韩欧美综合一区| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 国产日韩精品一区| 国产日韩欧美制服另类| 中文字幕高清不卡| 中文字幕一区二区三中文字幕| 国产精品久久久久久久久快鸭| 中文字幕欧美日韩一区| 国产精品福利一区二区三区| 国产精品乱码一区二三区小蝌蚪| 国产精品毛片a∨一区二区三区| 国产精品午夜在线观看| 国产精品久久久久精k8| 亚洲黄色av一区| 亚洲国产你懂的| 日本vs亚洲vs韩国一区三区二区 | 在线观看视频欧美| 欧美精品久久久久久久久老牛影院| 欧美日韩视频专区在线播放| 555夜色666亚洲国产免| 日韩久久久久久| 欧美经典三级视频一区二区三区| 国产精品污网站| 亚洲国产综合视频在线观看| 日本最新不卡在线| 国产成人精品三级麻豆| 97久久超碰精品国产| 欧美色视频一区| 欧美精品一区二区在线播放| 中文字幕av一区 二区| 亚洲人成网站影音先锋播放| 午夜精品久久久久久久久久久 | 色视频一区二区| 欧美一区二区在线不卡| 国内一区二区在线| 99国产欧美另类久久久精品| 欧美色中文字幕| 久久精品一区二区三区不卡牛牛| 亚洲欧美国产三级| 麻豆国产精品一区二区三区| www.爱久久.com| 日韩视频中午一区| 亚洲色图19p| 日本大胆欧美人术艺术动态| 成人午夜视频在线| 欧美人与z0zoxxxx视频| 国产欧美一二三区| 香蕉久久一区二区不卡无毒影院| 国产在线看一区| 在线看国产日韩| 欧美激情一区二区三区在线| 亚洲国产一区二区a毛片| 国产精品一区二区三区99| 欧美色图第一页| 国产精品久久久久永久免费观看 | 91丨porny丨在线| 日韩女优av电影| 一区二区三区免费| 国产乱人伦偷精品视频免下载| 91九色最新地址| 国产亚洲精品bt天堂精选| 婷婷久久综合九色综合绿巨人 | 亚洲美女偷拍久久| 国产福利精品导航| 日韩欧美的一区| 亚洲成av人片一区二区| eeuss鲁片一区二区三区 | 欧美日韩成人在线一区| 国产精品久久久久久久久免费樱桃| 美女网站一区二区| 欧美三级中文字幕| 亚洲激情男女视频| caoporn国产精品| 久久精品人人做| 久久超级碰视频| 3d成人h动漫网站入口| 亚洲黄色录像片| 91免费版pro下载短视频| 久久久久国产成人精品亚洲午夜| 日韩av电影免费观看高清完整版| 在线免费不卡电影| 亚洲精品一二三区| 99久久er热在这里只有精品66| 久久综合狠狠综合久久激情| 麻豆极品一区二区三区| 日韩一区二区精品葵司在线 | 丁香激情综合国产| 26uuu精品一区二区| 久久精品国产网站| 日韩一级视频免费观看在线| 午夜伦欧美伦电影理论片| 欧美综合在线视频| 亚洲成a人片在线不卡一二三区| 色综合视频一区二区三区高清| 国产精品丝袜久久久久久app| 国产suv精品一区二区6| 国产欧美日韩不卡免费| 国产成人综合在线观看| 久久91精品国产91久久小草| 精品国产亚洲在线| 国产真实精品久久二三区| 欧美精品一区二区在线观看| 国模无码大尺度一区二区三区| 日韩一区二区三区视频| 精品一区二区三区免费视频| 日韩欧美的一区| 国产精品一区二区91| 久久久久久久久久久电影| 春色校园综合激情亚洲| 欧美国产精品专区| 99精品黄色片免费大全| 亚洲男人电影天堂| 欧美精品九九99久久| 精品一区二区三区的国产在线播放| 日韩久久久久久| 成人一二三区视频| 亚洲另类春色国产| 欧美一区二区三区视频在线| 极品少妇xxxx偷拍精品少妇| 精品国产乱码久久久久久影片| 国产在线精品一区二区三区不卡| 亚洲国产精品激情在线观看 | 久久综合精品国产一区二区三区| 国产另类ts人妖一区二区| 国产精品国产三级国产| 欧美天天综合网| 精品一区二区免费| 国产精品国产三级国产普通话三级| 色狠狠综合天天综合综合| 日本麻豆一区二区三区视频| 国产日韩av一区| 欧美视频在线一区| 国产在线精品免费| 亚洲六月丁香色婷婷综合久久| 777亚洲妇女| 大陆成人av片| 日本欧美在线观看| 国产精品少妇自拍| 91精品在线免费观看| 成人精品免费网站| 欧美aaa在线| 亚洲日本一区二区三区| 日韩欧美一级精品久久| 91女人视频在线观看| 久久精品噜噜噜成人av农村| 国产精品卡一卡二| 日韩欧美黄色影院| 91福利小视频| 国产成人免费网站| 日本欧美大码aⅴ在线播放| 成人欧美一区二区三区白人| 日韩三级视频在线观看| 99精品视频在线播放观看| 麻豆一区二区99久久久久| 亚洲精品欧美激情| 久久久久久99久久久精品网站| 91国偷自产一区二区三区观看| 国产一区在线看| 日韩成人免费在线| 伊人色综合久久天天人手人婷| 久久久久久综合| 欧美tickling网站挠脚心| 欧美日韩一区国产| 91理论电影在线观看|