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

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

?? action.js

?? 當前比較流行的,漂亮的JS框架,這里面用到的API文檔
?? JS
字號:
/*
 * Ext JS Library 2.0.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| 视频一区二区三区中文字幕| 国产日韩欧美a| 欧美伦理电影网| 欧美日韩欧美一区二区| 欧美日韩一区成人| 欧美日韩一级二级三级| 欧美日韩精品高清| 欧美电影在哪看比较好| 日韩免费观看2025年上映的电影 | 最新日韩在线视频| 亚洲婷婷国产精品电影人久久| 国产精品电影一区二区三区| 国产精品欧美极品| 一区二区免费视频| 亚洲午夜在线电影| 喷水一区二区三区| 国产伦理精品不卡| 99精品视频在线观看| 在线视频综合导航| 精品国内二区三区| 国产精品久久久久桃色tv| 一区二区三区中文字幕精品精品 | 麻豆成人综合网| 国内精品嫩模私拍在线| av中文字幕不卡| 欧美熟乱第一页| 精品国产麻豆免费人成网站| 国产精品久99| 日韩高清不卡在线| 激情综合色播五月| 91天堂素人约啪| 日韩精品一区二区三区视频播放| 日韩一区日韩二区| 日本不卡视频在线| 国产成人精品1024| 色哟哟精品一区| 日韩欧美一区在线| 一区二区三区视频在线看| 蜜桃视频一区二区三区在线观看| 成人av资源网站| 日韩精品一区国产麻豆| 亚洲国产精品高清| 捆绑调教一区二区三区| av在线播放成人| 精品国产亚洲在线| 亚洲资源中文字幕| 成a人片亚洲日本久久| 日韩免费看的电影| 亚洲国产va精品久久久不卡综合| 国产成人综合视频| 欧美精品自拍偷拍动漫精品| 中文字幕一区二区5566日韩| 另类人妖一区二区av| 欧美日韩一区视频| 自拍偷自拍亚洲精品播放| 激情丁香综合五月| 91精品国产乱码久久蜜臀| 亚洲精品大片www| 成年人网站91| 国产精品私人影院| 国产一区亚洲一区| 欧美成人官网二区| 美女www一区二区| 欧美精品v国产精品v日韩精品| 国产精品久久久久久久久果冻传媒 | 日韩成人一区二区三区在线观看| 成人手机电影网| 久久久不卡影院| 国产自产v一区二区三区c| 日韩欧美国产综合在线一区二区三区| 亚洲一二三区不卡| 欧美日韩精品二区第二页| 亚洲高清视频在线| 欧美区一区二区三区| 日韩精品五月天| 欧美精品一级二级| 偷拍一区二区三区| 91精品国产欧美一区二区| 日韩精品乱码av一区二区| 欧美一区二区三区男人的天堂| 日韩**一区毛片| 欧美成人欧美edvon| 韩国精品免费视频| 日本一区二区不卡视频| 色综合久久88色综合天天免费| 一区二区三区精品视频在线| 欧美日韩高清一区二区不卡 | 欧美日韩在线免费视频| 日韩中文字幕av电影| 精品国产青草久久久久福利| 国产在线精品免费av| 久久久久久夜精品精品免费| 成人av在线播放网址| 亚洲一区在线视频观看| 欧美一区二区三区视频免费| 国产麻豆视频一区| 亚洲女女做受ⅹxx高潮| 欧美一区二区在线免费播放| 国产一区在线看| 国产精品毛片大码女人| 欧美日韩在线一区二区| 国产一区二区三区在线看麻豆| 欧美sm美女调教| 91免费版pro下载短视频| 久久99久久久久| 亚洲乱码国产乱码精品精98午夜 | 成人av高清在线| 午夜久久久久久久久| 亚洲精品一区二区三区在线观看 | 亚洲va欧美va人人爽| 日韩一区二区免费视频| 成人综合婷婷国产精品久久免费| 自拍偷拍亚洲欧美日韩| 欧美日本国产视频| 国产精品综合视频| 亚洲一区二区三区视频在线| 51精品秘密在线观看| 国产成人在线免费| 亚洲高清免费在线| 国产精品入口麻豆九色| 7777精品伊人久久久大香线蕉完整版 | 午夜视频在线观看一区二区三区| 国产亚洲欧美日韩日本| 日韩一区二区在线观看视频| 成人av在线看| 国产一区二区三区在线看麻豆| 玉足女爽爽91| 久久精品视频免费观看| 日韩欧美国产精品一区| 欧美亚洲图片小说| 一本色道久久综合狠狠躁的推荐| 久草这里只有精品视频| 五月天视频一区| 亚洲男人的天堂网| 中文字幕精品一区| 精品国产免费一区二区三区香蕉| 欧美色综合网站| 91老师片黄在线观看| 成人性视频免费网站| 极品尤物av久久免费看| 久久超碰97人人做人人爱| 亚洲综合图片区| 亚洲欧美日韩人成在线播放| 国产精品欧美经典| 中文字幕一区二区日韩精品绯色| 欧美韩国日本一区| 国产精品乱码一区二区三区软件 | 欧美日韩亚洲另类| 日本电影欧美片| 91亚洲国产成人精品一区二区三| 国产东北露脸精品视频| 国产在线一区二区综合免费视频| 久久99精品久久久久婷婷| 秋霞影院一区二区| 香蕉久久夜色精品国产使用方法| 亚洲日本va午夜在线电影| 一区二区三区自拍| 天堂蜜桃一区二区三区 | 国产一区二区在线免费观看| 九一久久久久久| 国产精品1区2区3区在线观看| 精品国产精品网麻豆系列 | 欧美a级理论片| 欧美日韩一区二区三区在线| 国产精品美女久久久久久久| 婷婷中文字幕一区三区| 在线免费观看成人短视频| 欧美丰满美乳xxx高潮www| 欧美精品v国产精品v日韩精品| 欧美日韩高清影院| 国产成人精品影视| 99久久免费精品高清特色大片| kk眼镜猥琐国模调教系列一区二区 | 欧美日韩卡一卡二| 欧美丰满一区二区免费视频| 精品国产乱码久久| 亚洲精品视频在线看| 午夜一区二区三区视频| 国内成人自拍视频| 97精品国产露脸对白| 日韩精品一区二区三区在线观看 | 亚洲欧洲韩国日本视频| 香蕉成人啪国产精品视频综合网| 蜜桃91丨九色丨蝌蚪91桃色| 成年人午夜久久久| 欧洲一区二区三区在线| 久久久久久免费网| 午夜电影网一区| 国产99久久久精品| 欧美欧美欧美欧美首页| 久久精品视频一区二区三区| 亚洲综合男人的天堂| 国产一区二区精品在线观看| 成人黄色综合网站| 欧美日韩亚洲综合在线| 中文文精品字幕一区二区| 亚洲狠狠爱一区二区三区| 国产黄色成人av| 欧美亚男人的天堂|