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

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

?? action.js

?? ajax框架extjs是一套完整的富客戶端解決方案
?? 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一区二区三区免费野_久草精品视频
久久午夜色播影院免费高清| 精品国产一区二区三区不卡 | 色国产精品一区在线观看| 日韩欧美一二区| 亚洲成a天堂v人片| 91在线云播放| 中文字幕一区二区三区精华液| 精品亚洲aⅴ乱码一区二区三区| 欧美男生操女生| 亚洲麻豆国产自偷在线| 国产99久久久国产精品潘金网站| 日韩无一区二区| 亚洲一区免费观看| 欧美主播一区二区三区美女| 成人欧美一区二区三区在线播放| 国产黑丝在线一区二区三区| 日韩一区二区三区av| 视频一区二区三区入口| 欧美三区免费完整视频在线观看| 一区二区三区在线视频播放| 1区2区3区国产精品| 国产98色在线|日韩| 国产亚洲视频系列| 麻豆91免费观看| 精品久久久网站| 久久99久久99| 2024国产精品视频| 天堂影院一区二区| 欧美日韩国产经典色站一区二区三区| 亚洲美女视频在线| 在线观看国产精品网站| 国产精品久久久久一区二区三区| 大白屁股一区二区视频| 国产免费久久精品| 成人黄色片在线观看| 国产精品丝袜黑色高跟| 国产综合一区二区| 欧美一区二区高清| 亚洲成人av中文| 欧美日韩在线观看一区二区 | 亚洲欧美经典视频| 91久久精品网| 亚洲成人精品一区| 欧美一区二区三区公司| 久久99国产精品免费| 欧美丰满高潮xxxx喷水动漫| 久久精品久久精品| 日韩欧美二区三区| 国产麻豆欧美日韩一区| 中文字幕免费一区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 午夜成人在线视频| 欧美疯狂性受xxxxx喷水图片| 日韩电影在线一区二区| 欧美成人a视频| 国产电影一区在线| 亚洲欧洲成人自拍| 99国产精品久久久久久久久久| 最近日韩中文字幕| 欧美日韩三级视频| 麻豆精品国产91久久久久久| 国产女人18水真多18精品一级做| av在线这里只有精品| 亚洲婷婷国产精品电影人久久| 欧美四级电影在线观看| 蜜臀精品一区二区三区在线观看| 久久精品亚洲精品国产欧美 | 亚洲猫色日本管| 欧美日韩一区在线观看| 青青国产91久久久久久| 欧美激情综合在线| 欧美日韩你懂的| 美女视频黄频大全不卡视频在线播放| 国产美女一区二区| 国产精品免费久久| 欧美老女人在线| 蜜臀av国产精品久久久久| 中文字幕欧美日韩一区| 欧美午夜电影一区| 蜜桃久久av一区| 国产精品久久国产精麻豆99网站| 欧美三级韩国三级日本三斤| 国产一区二区三区在线观看免费| 国产精品欧美一区喷水| 欧美日韩国产一级片| 成人性色生活片| 日韩—二三区免费观看av| 国产无人区一区二区三区| 波多野结衣亚洲一区| 午夜国产精品一区| 国产精品久久久久久久久免费丝袜| 欧美日韩精品高清| 国产精品 日产精品 欧美精品| 亚洲一区在线观看视频| 久久久精品黄色| 欧美日韩精品欧美日韩精品一综合| 国产成人av在线影院| 亚洲成人免费av| 国产精品乱码人人做人人爱| 欧美三级资源在线| 成人午夜短视频| 免费一级欧美片在线观看| 亚洲精品国产一区二区精华液 | 亚洲女人****多毛耸耸8| 日韩一区二区三区观看| 91美女精品福利| 黄页网站大全一区二区| 亚洲超碰97人人做人人爱| 国产精品久久久久久久久久免费看| 欧美情侣在线播放| 91丨九色丨蝌蚪富婆spa| 精品一区二区三区视频在线观看| 伊人色综合久久天天人手人婷| 精品国产电影一区二区| 欧美日韩极品在线观看一区| 99久久精品99国产精品| 国产一区二区在线观看视频| 图片区日韩欧美亚洲| 日韩一区中文字幕| 久久久久99精品国产片| 日韩精品一区二区三区中文精品 | 国产在线精品免费| 日日摸夜夜添夜夜添精品视频| 亚洲女同ⅹxx女同tv| 中文字幕国产一区| 久久午夜免费电影| 777午夜精品免费视频| 一本大道久久精品懂色aⅴ| 国产成人一级电影| 久久99久久99| 免费成人在线观看视频| 无码av免费一区二区三区试看| 亚洲女人的天堂| 亚洲色图丝袜美腿| 国产精品久久久久影院老司| 欧美激情一区二区三区蜜桃视频 | 色网站国产精品| 亚洲天堂福利av| 欧美韩国日本一区| 久久亚洲一区二区三区四区| 日韩欧美一卡二卡| 欧美一二三四在线| 日韩欧美一级二级三级| 日韩欧美在线1卡| 欧美一区二区日韩| 欧美一级xxx| 日韩欧美综合一区| 日韩精品中文字幕一区二区三区| 日韩一区二区电影| 欧美成人性福生活免费看| 日韩一区二区三区av| 日韩欧美亚洲国产精品字幕久久久| 91精品午夜视频| 日韩一区二区三区视频| 日韩三级精品电影久久久| 日韩欧美中文一区| 精品欧美一区二区久久| 欧美va在线播放| 久久久精品欧美丰满| 国产欧美一区二区在线| 欧美激情综合网| 中文字幕一区二区不卡| 亚洲免费在线视频一区 二区| 一区二区三区中文在线观看| 亚洲影视在线观看| 午夜精品福利久久久| 亚洲国产精品久久久久秋霞影院| 亚洲一区二区中文在线| 天堂久久久久va久久久久| 琪琪一区二区三区| 久久99精品国产| 成人性生交大片免费| 色综合天天做天天爱| 欧美日免费三级在线| 日韩视频永久免费| 中文字幕第一区| 亚洲精品国产一区二区三区四区在线 | 91在线播放网址| 91在线国内视频| 91精品国产一区二区| 欧美精品一区二区三区视频| 欧美经典三级视频一区二区三区| 中文字幕一区二区三区四区| 亚洲一区视频在线| 美女性感视频久久| 国产精品系列在线播放| av在线综合网| 欧美一卡二卡三卡四卡| 国产欧美日产一区| 一区二区成人在线视频| 免费的成人av| 99久久久精品| 91精品国产入口| 26uuu国产日韩综合| 一区二区三区不卡视频| 久久99精品视频| 97久久人人超碰| 51精品秘密在线观看| 国产亚洲欧美日韩日本| 一区二区三区成人在线视频|