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

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

?? action.js

?? ajax最新框架extjs
?? JS
字號:
/*
 * Ext JS Library 2.2.1
 * Copyright(c) 2006-2009, 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一区二区三区免费野_久草精品视频
成人美女视频在线看| 国产精品乱人伦中文| 午夜日韩在线观看| 欧美日韩视频一区二区| 亚洲国产欧美日韩另类综合| 欧洲一区在线电影| 亚洲一级不卡视频| 7777精品伊人久久久大香线蕉的 | av午夜一区麻豆| 日本一区二区动态图| 色综合久久综合中文综合网| 亚洲一区二区五区| 日韩精品一区在线观看| 国产成人综合在线| 亚洲免费观看高清完整| 欧美日韩精品免费| 激情丁香综合五月| 国产精品高清亚洲| 欧美另类高清zo欧美| 久久精品999| 中文av一区特黄| 色婷婷av一区二区三区之一色屋| 亚洲va国产天堂va久久en| 欧美v国产在线一区二区三区| 成人精品国产一区二区4080| 一区二区三区四区精品在线视频| 在线电影一区二区三区| 国产成人啪午夜精品网站男同| 一区二区三区四区在线免费观看| 欧美一区中文字幕| 成人综合激情网| 肉色丝袜一区二区| 国产精品福利在线播放| 9191精品国产综合久久久久久| 国产精品白丝av| 亚洲国产视频一区二区| 久久久夜色精品亚洲| 色综合久久九月婷婷色综合| 久久国产三级精品| 亚洲激情校园春色| 国产日韩欧美亚洲| 欧美高清激情brazzers| caoporn国产一区二区| 日本视频在线一区| 一区二区在线看| 国产女人水真多18毛片18精品视频| 色噜噜狠狠色综合中国| 久久精品国产亚洲5555| 亚洲国产裸拍裸体视频在线观看乱了| 亚洲精品一区二区三区精华液| 欧美在线影院一区二区| 粉嫩av一区二区三区在线播放| 五月天激情小说综合| 亚洲欧洲日产国产综合网| 精品美女被调教视频大全网站| 91麻豆蜜桃一区二区三区| 成人免费视频国产在线观看| 久久精品国产精品亚洲精品| 亚洲成人自拍一区| 亚洲色图另类专区| 国产免费成人在线视频| 精品少妇一区二区三区日产乱码| 欧美亚一区二区| 一本久久精品一区二区| 国产不卡视频在线观看| 国产一区二区在线观看免费| 日产国产高清一区二区三区 | 777午夜精品免费视频| 日本乱人伦aⅴ精品| 成人午夜私人影院| 国产精品亚洲第一区在线暖暖韩国| 热久久一区二区| 性感美女极品91精品| 亚洲国产一区二区三区青草影视| 亚洲精品视频在线看| 亚洲私人影院在线观看| 国产精品第13页| 国产精品天天看| 中文av一区二区| 中文字幕人成不卡一区| 国产精品成人免费在线| 国产精品久久久久国产精品日日| 久久久高清一区二区三区| 久久亚洲一区二区三区四区| 欧美成人伊人久久综合网| 日韩精品一区二区三区视频| 欧美videos中文字幕| 久久综合九色欧美综合狠狠 | 国产精品热久久久久夜色精品三区 | 欧美日韩1234| 欧美精品123区| 精品久久一二三区| 国产日韩欧美在线一区| 国产精品萝li| 亚洲激情成人在线| 午夜影院在线观看欧美| 欧美aaaaa成人免费观看视频| 麻豆精品一二三| 国产黄人亚洲片| 91超碰这里只有精品国产| 欧美狂野另类xxxxoooo| 日韩午夜av一区| 久久久久99精品一区| 国产网站一区二区| 亚洲老司机在线| 天天射综合影视| 国产一区免费电影| av一区二区三区在线| 欧美日韩国产综合一区二区| 日韩欧美成人午夜| 国产精品午夜春色av| 玉米视频成人免费看| 蜜桃久久久久久久| 波多野结衣中文字幕一区二区三区 | 欧美日韩精品一区视频| 精品国产三级电影在线观看| 国产精品网站在线播放| 亚洲线精品一区二区三区八戒| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产成人精品综合在线观看| 在线视频亚洲一区| 精品国产电影一区二区| 一区二区三区成人在线视频| 精品一区二区三区在线播放视频| 91免费视频观看| 欧美大胆一级视频| 一区二区三区.www| 国产成a人无v码亚洲福利| 欧美欧美午夜aⅴ在线观看| 国产精品天美传媒| 久久国产精品一区二区| 欧美综合久久久| 国产亚洲女人久久久久毛片| 亚洲成人av福利| 成人av在线资源网站| 欧美一级在线视频| 一区二区不卡在线播放| 国产盗摄女厕一区二区三区 | 日韩亚洲欧美高清| 亚洲理论在线观看| 成人av电影在线| 久久久久久一级片| 日韩av午夜在线观看| 欧洲精品一区二区三区在线观看| 久久精品在线免费观看| 日韩va欧美va亚洲va久久| 在线视频综合导航| 国产精品国产三级国产有无不卡| 久久er精品视频| 欧美一区二区三区影视| 亚洲国产三级在线| 91浏览器入口在线观看| 中文字幕+乱码+中文字幕一区| 久久精工是国产品牌吗| 欧美一区二区精品| 天堂成人国产精品一区| 欧美性大战久久久| 亚洲综合色视频| 91久久精品一区二区三区| 亚洲欧美色综合| 色综合欧美在线| 一区二区三区不卡在线观看| 91视频精品在这里| 亚洲色图欧美在线| 色综合天天综合在线视频| 成人欧美一区二区三区小说| 粉嫩av一区二区三区在线播放| 国产欧美综合在线观看第十页| 国产综合色视频| 久久精品这里都是精品| 成人激情免费电影网址| 欧美激情在线免费观看| 99久久精品久久久久久清纯| 国产精品视频一二| av在线播放不卡| 亚洲色图欧美激情| 欧美日韩在线精品一区二区三区激情| 亚洲女同ⅹxx女同tv| 欧美日韩国产电影| 免费av网站大全久久| 久久亚洲一区二区三区四区| 成人在线视频首页| 亚洲精品成人精品456| 欧美日韩成人综合天天影院| 免费的国产精品| 国产日本欧美一区二区| 99riav一区二区三区| 亚洲精品菠萝久久久久久久| 欧美精品777| 国产高清一区日本| 国产精品福利一区二区| 日本道在线观看一区二区| 日本特黄久久久高潮| 国产欧美日韩一区二区三区在线观看| 99re视频这里只有精品| 午夜精品久久久| 久久精品欧美一区二区三区麻豆| eeuss鲁片一区二区三区在线看| 亚洲 欧美综合在线网络| 精品久久久久久无|