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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? action.js

?? ext-2.3.0
?? JS
字號:
/*
 * Ext JS Library 2.3.0
 * 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. 
     */
    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.  
     */
    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);
    }
};

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲摸摸操操av| 国产在线视视频有精品| 久久国内精品视频| 暴力调教一区二区三区| 日韩欧美国产一区二区在线播放 | 亚洲美女免费在线| 免费成人在线网站| 一本色道久久综合精品竹菊| 2020国产精品自拍| 婷婷开心激情综合| 色婷婷综合久久久久中文一区二区 | 91美女片黄在线观看| 日韩欧美一级二级| 一区二区三区视频在线观看| 国产伦精品一区二区三区免费| 91欧美一区二区| 欧美大度的电影原声| 午夜视频一区二区| 在线观看网站黄不卡| 亚洲女女做受ⅹxx高潮| 99久久婷婷国产综合精品| 久久综合色天天久久综合图片| 亚洲va韩国va欧美va| 欧美中文字幕久久| 怡红院av一区二区三区| 91在线视频播放地址| 国产精品国产精品国产专区不片| 极品少妇一区二区| 亚洲精品一线二线三线| 久久精品国产99国产精品| 91精品黄色片免费大全| 五月婷婷综合激情| 欧美一级黄色录像| 理论电影国产精品| 精品国内二区三区| 国产中文字幕一区| 欧美韩国一区二区| bt7086福利一区国产| 中文字幕在线不卡一区二区三区 | 免费观看日韩电影| 精品国产1区二区| 国产精品自拍av| 国产欧美日韩精品一区| fc2成人免费人成在线观看播放 | 综合久久综合久久| 色综合咪咪久久| 亚洲国产精品尤物yw在线观看| 色94色欧美sute亚洲13| 亚洲国产中文字幕在线视频综合 | 免费一级片91| 久久奇米777| 97精品国产露脸对白| 亚洲在线观看免费视频| 欧美美女一区二区三区| 美女一区二区视频| 国产欧美视频一区二区三区| 91网址在线看| 日本在线不卡视频| 国产亚洲欧美中文| 色天天综合久久久久综合片| 日韩av高清在线观看| 国产性做久久久久久| 在线看一区二区| 男人的天堂亚洲一区| 久久久99免费| 欧洲精品一区二区| 麻豆国产欧美日韩综合精品二区| 国产女同性恋一区二区| 欧美在线免费观看视频| 国产又粗又猛又爽又黄91精品| 日韩理论片中文av| 欧美成人video| 99re66热这里只有精品3直播 | 亚洲综合视频网| 欧美成人午夜电影| 91福利精品视频| 国产毛片精品国产一区二区三区| 亚洲男人天堂av| 久久久久久久综合日本| 欧美天堂一区二区三区| 国产91精品露脸国语对白| 五月婷婷综合网| 亚洲三级小视频| 久久综合色婷婷| 91精品国产乱码久久蜜臀| 北岛玲一区二区三区四区| 精品无码三级在线观看视频| 一区二区高清免费观看影视大全| 久久综合九色综合97婷婷| 欧美美女网站色| 91丨九色丨蝌蚪丨老版| 国产一级精品在线| 久久狠狠亚洲综合| 日韩黄色一级片| 亚洲一二三四区| 亚洲欧洲精品一区二区精品久久久| 日韩精品一区二区三区老鸭窝| 在线免费av一区| 色综合中文字幕国产 | 国产精品美女视频| 日韩欧美三级在线| 宅男噜噜噜66一区二区66| 一道本成人在线| 99精品久久99久久久久| 国产真实乱对白精彩久久| 人禽交欧美网站| 日韩**一区毛片| 图片区小说区区亚洲影院| 一区二区三区91| 一区二区三区四区高清精品免费观看 | 欧美一区二区三区小说| 欧美少妇bbb| 欧美性猛片aaaaaaa做受| 日本高清无吗v一区| 一本久久综合亚洲鲁鲁五月天 | 久久99精品国产91久久来源| 丝袜亚洲精品中文字幕一区| 亚洲va韩国va欧美va精品| 丝袜美腿亚洲色图| 五月天久久比比资源色| 亚洲va天堂va国产va久| 日韩国产欧美在线视频| 久久国产福利国产秒拍| 久久99这里只有精品| 麻豆视频观看网址久久| 蜜臀99久久精品久久久久久软件| 日韩国产成人精品| 久久不见久久见免费视频7| 激情深爱一区二区| 国产伦精一区二区三区| 成人激情校园春色| 91色|porny| 欧美妇女性影城| 日韩一区二区三| 精品sm在线观看| 成人欧美一区二区三区在线播放| 亚洲伦理在线免费看| 亚洲电影中文字幕在线观看| 青草av.久久免费一区| 激情综合网最新| 99久久综合99久久综合网站| 欧美亚洲尤物久久| 日韩一区二区三区在线视频| 久久精品亚洲精品国产欧美kt∨ | 亚洲一二三区不卡| 另类的小说在线视频另类成人小视频在线| 狠狠色综合色综合网络| a亚洲天堂av| 日韩欧美一级在线播放| 欧美国产成人在线| 香蕉加勒比综合久久| 国产精品影视网| 欧美午夜在线观看| 久久夜色精品国产噜噜av| 一区二区三区视频在线观看| 精品写真视频在线观看| 在线观看免费视频综合| www精品美女久久久tv| 亚洲一区在线观看视频| 国产精品亚洲第一| 欧美日韩视频第一区| 中文字幕二三区不卡| 日韩不卡免费视频| 色综合天天综合狠狠| 日韩精品在线看片z| 亚洲三级电影全部在线观看高清| 美女视频免费一区| 91国产福利在线| 欧美激情在线一区二区| 美女脱光内衣内裤视频久久影院| 91美女片黄在线观看| 国产日韩欧美综合一区| 日本美女一区二区| 精品污污网站免费看| 国产精品毛片久久久久久久| 麻豆精品视频在线观看免费| 在线看国产一区| 最新国产精品久久精品| 国产老妇另类xxxxx| 欧美一二三区在线观看| 亚洲在线成人精品| 国产一区二区不卡老阿姨| 欧美老肥妇做.爰bbww| 亚洲精品日产精品乱码不卡| 成人性生交大片免费看在线播放| 日韩一区二区三区四区| 午夜在线成人av| 色哟哟在线观看一区二区三区| 国产日产精品1区| 国产一区二区精品在线观看| 精品日韩在线观看| 日本成人中文字幕在线视频| 欧美日韩午夜在线| 亚洲欧美日韩一区| 91在线国产福利| 亚洲视频电影在线| av在线播放一区二区三区| 国产精品久久毛片a| 99久久久久久99| 国产精品国产三级国产|