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

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

?? action.js

?? java阿里巴巴代碼
?? JS
字號:
/*
 * Ext JS Library 2.1
 * 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一免费| 国产91精品欧美| 成人性视频免费网站| 欧美日韩精品专区| 国产精品嫩草影院av蜜臀| 国产伦精一区二区三区| 国产高清亚洲一区| 91浏览器入口在线观看| 91麻豆swag| 欧美综合久久久| 国产欧美一区二区精品性| 麻豆免费看一区二区三区| 久久久99精品免费观看不卡| 精品在线你懂的| 成人免费视频国产在线观看| 91精品国产入口| 中文字幕一区二区三区不卡| 午夜视频在线观看一区二区三区| 国产99久久久国产精品| 欧美电影一区二区三区| 亚洲欧美日韩国产手机在线| 精品亚洲aⅴ乱码一区二区三区| 国产精品77777| av激情综合网| 国产精品电影院| 国产麻豆精品在线| 欧美色偷偷大香| 一区二区三区在线观看国产 | 美腿丝袜亚洲三区| 欧美男男青年gay1069videost| 美日韩一级片在线观看| 国产伦精品一区二区三区免费迷| 91福利资源站| 国产精品日韩精品欧美在线| 国产九色精品成人porny| 日韩欧美一级二级| 五月天丁香久久| 成人黄页在线观看| 日本一区二区在线不卡| 久久精品国产精品亚洲红杏| 亚洲日本在线天堂| 麻豆传媒一区二区三区| 欧美日韩国产精选| 亚洲亚洲精品在线观看| 色婷婷综合在线| 一区二区三区加勒比av| 91蝌蚪porny九色| 亚洲欧美韩国综合色| jiyouzz国产精品久久| 国产精品免费观看视频| 成人黄色小视频在线观看| 国产精品网站在线观看| 狠狠色综合色综合网络| 久久久亚洲精品石原莉奈| 国产一区二区不卡在线| 精品国产99国产精品| 国产在线精品免费av| 久久精品视频在线看| 国产成人免费网站| 国产精品欧美一区喷水| 成人的网站免费观看| 亚洲欧美中日韩| 欧洲色大大久久| 亚洲成av人片在线| 日韩午夜在线影院| 国模无码大尺度一区二区三区| 欧美国产一区视频在线观看| 欧美日韩国产影片| 国内精品久久久久影院一蜜桃| 亚洲天堂久久久久久久| 日韩午夜小视频| bt欧美亚洲午夜电影天堂| 日韩一区精品字幕| 综合久久国产九一剧情麻豆| 国产精品天美传媒沈樵| 久久久不卡网国产精品二区 | 欧美在线观看一区二区| 国产成人精品免费网站| 国产福利一区在线| av一区二区三区在线| 国产精品资源在线看| 国产成人亚洲综合a∨婷婷图片 | 色婷婷久久一区二区三区麻豆| 丝袜亚洲另类欧美| 亚洲国产精品精华液ab| 欧美激情综合在线| 亚洲图片自拍偷拍| av网站一区二区三区| 国产精品国产三级国产aⅴ无密码| 亚洲精品菠萝久久久久久久| 欧美日韩国产a| 国产成人精品网址| 亚洲第一久久影院| 国产精品无人区| 欧美日本不卡视频| 成人av网址在线| 日韩成人av影视| 亚洲欧美自拍偷拍色图| 欧美成人女星排行榜| 91视视频在线观看入口直接观看www| 视频一区在线视频| 亚洲色图19p| 2023国产精品自拍| 精品视频一区三区九区| 国产成人精品免费视频网站| 日韩国产成人精品| 综合久久国产九一剧情麻豆| 精品国产免费视频| 欧美日韩一卡二卡三卡| 99综合影院在线| 国产一区二区三区香蕉| 午夜精品视频在线观看| 亚洲三级在线播放| 久久久精品国产免费观看同学| 欧美浪妇xxxx高跟鞋交| av在线播放一区二区三区| 国产一区二区久久| 免费成人在线视频观看| 亚洲一区二区影院| 亚洲欧洲精品一区二区精品久久久| 欧美xingq一区二区| 欧美日产国产精品| 91精品办公室少妇高潮对白| 成人av第一页| 国产麻豆精品久久一二三| 日本亚洲免费观看| 亚洲国产欧美一区二区三区丁香婷| 国产精品麻豆视频| 国产亚洲欧洲一区高清在线观看| 91精品国产手机| 欧美美女网站色| 欧美亚洲综合另类| 在线国产电影不卡| 色综合久久中文综合久久97 | 亚洲人成网站影音先锋播放| 久久久久97国产精华液好用吗| 日韩一区二区麻豆国产| 欧美日韩一区二区三区视频| 91麻豆精品一区二区三区| 成人理论电影网| 国产高清视频一区| 国内精品久久久久影院色| 久久国产精品99精品国产| 男女性色大片免费观看一区二区| 亚洲一区二区三区四区的| 亚洲女同女同女同女同女同69| 国产精品卡一卡二卡三| 国产精品电影一区二区| 久久久精品免费免费| 久久久www免费人成精品| 欧美精品一区二区在线播放| 亚洲精品一区二区三区影院| 欧美大胆人体bbbb| 欧美xfplay| 久久精品人人做人人综合| 久久日韩粉嫩一区二区三区| 精品日韩一区二区三区免费视频| 欧美刺激脚交jootjob| 欧美tickling网站挠脚心| 欧美成人aa大片| 日韩三级视频中文字幕| 日韩欧美精品在线视频| 精品国产sm最大网站免费看| 国产亚洲一区二区在线观看| 日本一区二区三区国色天香| 国产精品久久久久国产精品日日| 亚洲成人一二三| 国产欧美视频在线观看| 久久伊99综合婷婷久久伊| 久久精品一区八戒影视| 国产精品久久久久久久午夜片 | 欧美日韩国产一二三| 欧美一区二区啪啪| 亚洲丰满少妇videoshd| 欧美aaaaa成人免费观看视频| 乱中年女人伦av一区二区| 激情综合色综合久久| 国产不卡视频一区| 午夜亚洲福利老司机| 欧美男人的天堂一二区| 国产美女视频一区| 亚洲一区二区三区四区中文字幕| 欧美一区二区三区在线观看| 国产成人免费视频一区| 美日韩黄色大片| 一区二区三区日韩欧美| 精品国产亚洲在线| 欧美日韩高清一区二区| 成人高清视频在线观看| 美国三级日本三级久久99| 亚洲人成伊人成综合网小说| 精品欧美一区二区在线观看| 欧美色国产精品| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 国产蜜臀97一区二区三区| 欧美亚男人的天堂| 欧美在线看片a免费观看| 99久久免费精品| 色噜噜偷拍精品综合在线| 91色porny|