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

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

?? layoutregion.js

?? ext js demo ext學(xué)習(xí)資料
?? JS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/*
 * Ext JS Library 1.1 RC 1
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://www.extjs.com/license
 */

/**
 * @class Ext.LayoutRegion
 * @extends Ext.BasicLayoutRegion
 * This class represents a region in a layout manager.
 * @cfg {Boolean} collapsible False to disable collapsing (defaults to true)
 * @cfg {Boolean} collapsed True to set the initial display to collapsed (defaults to false)
 * @cfg {Boolean} floatable False to disable floating (defaults to true)
 * @cfg {Object} margins Margins for the element (defaults to {top: 0, left: 0, right:0, bottom: 0})
 * @cfg {Object} cmargins Margins for the element when collapsed (defaults to: north/south {top: 2, left: 0, right:0, bottom: 2} or east/west {top: 0, left: 2, right:2, bottom: 0})
 * @cfg {String} tabPosition "top" or "bottom" (defaults to "bottom")
 * @cfg {String} collapsedTitle Optional string message to display in the collapsed block of a north or south region
 * @cfg {Boolean} alwaysShowTabs True to always display tabs even when there is only 1 panel (defaults to false)
 * @cfg {Boolean} autoScroll True to enable overflow scrolling (defaults to false)
 * @cfg {Boolean} titlebar True to display a title bar (defaults to true)
 * @cfg {String} title The title for the region (overrides panel titles)
 * @cfg {Boolean} animate True to animate expand/collapse (defaults to false)
 * @cfg {Boolean} autoHide False to disable auto hiding when the mouse leaves the "floated" region (defaults to true)
 * @cfg {Boolean} preservePanels True to preserve removed panels so they can be readded later (defaults to false)
 * @cfg {Boolean} closeOnTab True to place the close icon on the tabs instead of the region titlebar (defaults to false)
 * @cfg {Boolean} hideTabs True to hide the tab strip (defaults to false)
 * @cfg {Boolean} resizeTabs True to enable automatic tab resizing. This will resize the tabs so they are all the same size and fit within
 * the space available, similar to FireFox 1.5 tabs (defaults to false)
 * @cfg {Number} minTabWidth The minimum tab width (defaults to 40)
 * @cfg {Number} preferredTabWidth The preferred tab width (defaults to 150)
 * @cfg {Boolean} showPin True to show a pin button
* @cfg {Boolean} hidden True to start the region hidden (defaults to false)
* @cfg {Boolean} hideWhenEmpty True to hide the region when it has no panels
* @cfg {Boolean} disableTabTips True to disable tab tooltips
 */
Ext.LayoutRegion = function(mgr, config, pos){
    Ext.LayoutRegion.superclass.constructor.call(this, mgr, config, pos, true);
    var dh = Ext.DomHelper;
    /** This region's container element @type Ext.Element */
    this.el = dh.append(mgr.el.dom, {tag: "div", cls: "x-layout-panel x-layout-panel-" + this.position}, true);
    /** This region's title element @type Ext.Element */

    this.titleEl = dh.append(this.el.dom, {tag: "div", unselectable: "on", cls: "x-unselectable x-layout-panel-hd x-layout-title-"+this.position, children:[
        {tag: "span", cls: "x-unselectable x-layout-panel-hd-text", unselectable: "on", html: " "},
        {tag: "div", cls: "x-unselectable x-layout-panel-hd-tools", unselectable: "on"}
    ]}, true);
    this.titleEl.enableDisplayMode();
    /** This region's title text element @type HTMLElement */
    this.titleTextEl = this.titleEl.dom.firstChild;
    this.tools = Ext.get(this.titleEl.dom.childNodes[1], true);
    this.closeBtn = this.createTool(this.tools.dom, "x-layout-close");
    this.closeBtn.enableDisplayMode();
    this.closeBtn.on("click", this.closeClicked, this);
    this.closeBtn.hide();

    this.createBody(config);
    this.visible = true;
    this.collapsed = false;

    if(config.hideWhenEmpty){
        this.hide();
        this.on("paneladded", this.validateVisibility, this);
        this.on("panelremoved", this.validateVisibility, this);
    }
    this.applyConfig(config);
};

Ext.extend(Ext.LayoutRegion, Ext.BasicLayoutRegion, {

    createBody : function(){
        /** This region's body element @type Ext.Element */
        this.bodyEl = this.el.createChild({tag: "div", cls: "x-layout-panel-body"});
    },

    applyConfig : function(c){
        if(c.collapsible && this.position != "center" && !this.collapsedEl){
            var dh = Ext.DomHelper;
            if(c.titlebar !== false){
                this.collapseBtn = this.createTool(this.tools.dom, "x-layout-collapse-"+this.position);
                this.collapseBtn.on("click", this.collapse, this);
                this.collapseBtn.enableDisplayMode();

                if(c.showPin === true || this.showPin){
                    this.stickBtn = this.createTool(this.tools.dom, "x-layout-stick");
                    this.stickBtn.enableDisplayMode();
                    this.stickBtn.on("click", this.expand, this);
                    this.stickBtn.hide();
                }
            }
            /** This region's collapsed element @type Ext.Element */
            this.collapsedEl = dh.append(this.mgr.el.dom, {cls: "x-layout-collapsed x-layout-collapsed-"+this.position, children:[
                {cls: "x-layout-collapsed-tools", children:[{cls: "x-layout-ctools-inner"}]}
            ]}, true);
            if(c.floatable !== false){
               this.collapsedEl.addClassOnOver("x-layout-collapsed-over");
               this.collapsedEl.on("click", this.collapseClick, this);
            }

            if(c.collapsedTitle && (this.position == "north" || this.position== "south")) {
                this.collapsedTitleTextEl = dh.append(this.collapsedEl.dom, {tag: "div", cls: "x-unselectable x-layout-panel-hd-text",
                   id: "message", unselectable: "on", style:{"float":"left"}});
               this.collapsedTitleTextEl.innerHTML = c.collapsedTitle;
             }
            this.expandBtn = this.createTool(this.collapsedEl.dom.firstChild.firstChild, "x-layout-expand-"+this.position);
            this.expandBtn.on("click", this.expand, this);
        }
        if(this.collapseBtn){
            this.collapseBtn.setVisible(c.collapsible == true);
        }
        this.cmargins = c.cmargins || this.cmargins ||
                         (this.position == "west" || this.position == "east" ?
                             {top: 0, left: 2, right:2, bottom: 0} :
                             {top: 2, left: 0, right:0, bottom: 2});
        this.margins = c.margins || this.margins || {top: 0, left: 0, right:0, bottom: 0};
        this.bottomTabs = c.tabPosition != "top";
        this.autoScroll = c.autoScroll || false;
        if(this.autoScroll){
            this.bodyEl.setStyle("overflow", "auto");
        }else{
            this.bodyEl.setStyle("overflow", "hidden");
        }
        //if(c.titlebar !== false){
            if((!c.titlebar && !c.title) || c.titlebar === false){
                this.titleEl.hide();
            }else{
                this.titleEl.show();
                if(c.title){
                    this.titleTextEl.innerHTML = c.title;
                }
            }
        //}
        this.duration = c.duration || .30;
        this.slideDuration = c.slideDuration || .45;
        this.config = c;
        if(c.collapsed){
            this.collapse(true);
        }
        if(c.hidden){
            this.hide();
        }
    },
    /**
     * Returns true if this region is currently visible.
     * @return {Boolean}
     */
    isVisible : function(){
        return this.visible;
    },

    /**
     * Updates the title for collapsed north/south regions (used with {@link #collapsedTitle} config option)
     * @param {String} title (optional) The title text (accepts HTML markup, defaults to the numeric character reference for a non-breaking space, " ")
     */
    setCollapsedTitle : function(title){
        title = title || " ";
        if(this.collapsedTitleTextEl){
            this.collapsedTitleTextEl.innerHTML = title;
        }
    },

    getBox : function(){
        var b;
        if(!this.collapsed){
            b = this.el.getBox(false, true);
        }else{
            b = this.collapsedEl.getBox(false, true);
        }
        return b;
    },

    getMargins : function(){
        return this.collapsed ? this.cmargins : this.margins;
    },

    highlight : function(){
        this.el.addClass("x-layout-panel-dragover");
    },

    unhighlight : function(){
        this.el.removeClass("x-layout-panel-dragover");
    },

    updateBox : function(box){
        this.box = box;
        if(!this.collapsed){
            this.el.dom.style.left = box.x + "px";
            this.el.dom.style.top = box.y + "px";
            this.updateBody(box.width, box.height);
        }else{
            this.collapsedEl.dom.style.left = box.x + "px";
            this.collapsedEl.dom.style.top = box.y + "px";
            this.collapsedEl.setSize(box.width, box.height);
        }
        if(this.tabs){
            this.tabs.autoSizeTabs();
        }
    },

    updateBody : function(w, h){
        if(w !== null){
            this.el.setWidth(w);
            w -= this.el.getBorderWidth("rl");
            if(this.config.adjustments){
                w += this.config.adjustments[0];
            }
        }
        if(h !== null){
            this.el.setHeight(h);
            h = this.titleEl && this.titleEl.isDisplayed() ? h - (this.titleEl.getHeight()||0) : h;
            h -= this.el.getBorderWidth("tb");
            if(this.config.adjustments){
                h += this.config.adjustments[1];
            }
            this.bodyEl.setHeight(h);
            if(this.tabs){
                h = this.tabs.syncHeight(h);
            }
        }
        if(this.panelSize){
            w = w !== null ? w : this.panelSize.width;
            h = h !== null ? h : this.panelSize.height;
        }
        if(this.activePanel){
            var el = this.activePanel.getEl();
            w = w !== null ? w : el.getWidth();
            h = h !== null ? h : el.getHeight();
            this.panelSize = {width: w, height: h};
            this.activePanel.setSize(w, h);
        }
        if(Ext.isIE && this.tabs){
            this.tabs.el.repaint();
        }
    },

    /**
     * Returns the container element for this region.
     * @return {Ext.Element}
     */
    getEl : function(){
        return this.el;
    },

    /**
     * Hides this region.
     */
    hide : function(){
        if(!this.collapsed){
            this.el.dom.style.left = "-2000px";
            this.el.hide();
        }else{
            this.collapsedEl.dom.style.left = "-2000px";
            this.collapsedEl.hide();
        }
        this.visible = false;
        this.fireEvent("visibilitychange", this, false);
    },

    /**
     * Shows this region if it was previously hidden.
     */
    show : function(){
        if(!this.collapsed){
            this.el.show();
        }else{
            this.collapsedEl.show();
        }
        this.visible = true;
        this.fireEvent("visibilitychange", this, true);
    },

    closeClicked : function(){
        if(this.activePanel){
            this.remove(this.activePanel);
        }
    },

    collapseClick : function(e){
        if(this.isSlid){
           e.stopPropagation();
           this.slideIn();
        }else{
           e.stopPropagation();
           this.slideOut();
        }
    },

    /**
     * Collapses this region.
     * @param {Boolean} skipAnim (optional) true to collapse the element without animation (if animate is true)
     */
    collapse : function(skipAnim){
        if(this.collapsed) return;
        this.collapsed = true;
        if(this.split){

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
九一九一国产精品| 中文一区二区完整视频在线观看| 亚洲视频一区二区在线观看| 国产一区 二区| 精品精品国产高清一毛片一天堂| 无码av免费一区二区三区试看| 欧美日韩亚洲综合一区| 亚洲mv大片欧洲mv大片精品| 欧美巨大另类极品videosbest| 午夜精品久久久久久久99水蜜桃| 这里只有精品免费| 九九视频精品免费| 国产日韩一级二级三级| 东方aⅴ免费观看久久av| 国产精品黄色在线观看| 欧美最新大片在线看| 日日骚欧美日韩| 26uuu欧美| 色婷婷综合久久久中文一区二区| 五月婷婷久久综合| 欧美精品一区二区三| 成人av片在线观看| 天堂一区二区在线| 久久综合久久鬼色中文字| 成人av在线播放网站| 亚洲国产视频直播| 日韩欧美国产不卡| 99久久婷婷国产| 日韩激情一二三区| 国产精品不卡一区二区三区| 欧美日韩国产一级片| 激情都市一区二区| 亚洲最大成人网4388xx| 久久你懂得1024| 欧美三级蜜桃2在线观看| 寂寞少妇一区二区三区| 亚洲欧洲一区二区三区| 日韩视频在线一区二区| 成人丝袜18视频在线观看| 亚洲成人综合网站| 亚洲国产精品av| 正在播放一区二区| 日本黄色一区二区| 国产精品一区二区91| 午夜不卡在线视频| 国产精品久久久久久久久免费相片| 欧美精品第1页| 91影院在线免费观看| 免费成人你懂的| 亚洲午夜久久久久中文字幕久| 久久精品一二三| 欧美一区二区精品在线| 在线中文字幕不卡| 成人app在线| 国产经典欧美精品| 日本视频免费一区| 亚洲大片在线观看| 一区二区欧美在线观看| 国产精品美女久久久久aⅴ| 日韩欧美在线网站| 欧美日韩dvd在线观看| 91老司机福利 在线| 成人综合激情网| 国产一区二区在线视频| 日本aⅴ免费视频一区二区三区| 亚洲另类春色国产| 亚洲欧洲精品一区二区三区不卡| 亚洲精品一区二区三区香蕉| 91精品国产乱| 欧美日韩免费观看一区二区三区 | 欧洲一区二区三区在线| 国产成人精品免费网站| 精品在线播放免费| 蜜臀av性久久久久av蜜臀妖精| 香蕉成人啪国产精品视频综合网| 樱花影视一区二区| 亚洲色欲色欲www| 自拍偷在线精品自拍偷无码专区| 久久精品视频免费| 久久久蜜桃精品| 国产亚洲一区字幕| 欧美激情中文不卡| 中文字幕av不卡| 中文字幕一区二区三区不卡在线| 欧美激情一区二区三区蜜桃视频| 欧美xxxx老人做受| www精品美女久久久tv| 久久一区二区视频| 日韩在线一区二区| 视频一区在线播放| 麻豆精品视频在线观看| 精品在线一区二区三区| 国产又黄又大久久| 处破女av一区二区| 91小视频免费观看| 欧美日韩一区二区在线观看| 欧美一区二区不卡视频| 日韩亚洲国产中文字幕欧美| 精品第一国产综合精品aⅴ| 久久精品一区二区三区不卡| 国产精品国产三级国产有无不卡 | 偷拍亚洲欧洲综合| 日本午夜一区二区| 狠狠色狠狠色综合系列| 成人一区二区三区在线观看| caoporn国产一区二区| 色综合久久久久久久久| 日本黄色一区二区| 日韩一区二区免费在线电影| 久久新电视剧免费观看| 国产精品久久久久毛片软件| 亚洲欧美一区二区三区国产精品 | 欧美美女网站色| 精品国产露脸精彩对白| 国产精品嫩草影院com| 亚洲综合免费观看高清完整版| 日韩高清国产一区在线| 国产成人午夜精品5599| 在线中文字幕一区二区| 精品国产乱码久久久久久1区2区 | 亚洲欧美激情在线| 天堂一区二区在线| av电影在线观看不卡| 在线播放91灌醉迷j高跟美女 | 91精品国产91综合久久蜜臀| 精品久久久久久久久久久久久久久久久 | 欧美v国产在线一区二区三区| 中文在线免费一区三区高中清不卡| 亚洲风情在线资源站| 国产一区啦啦啦在线观看| 欧洲色大大久久| 久久久久久综合| 亚洲国产精品久久艾草纯爱| 国产九九视频一区二区三区| 91国偷自产一区二区三区成为亚洲经典 | 亚洲精品高清在线| 精品亚洲免费视频| 欧美色图激情小说| 中文久久乱码一区二区| 日本在线播放一区二区三区| 91亚洲精品久久久蜜桃| 欧美精品一区二区三区一线天视频| 一区二区三区久久久| 丁香亚洲综合激情啪啪综合| 欧美一区二区三区小说| 亚洲美女屁股眼交| 国产精品主播直播| 日韩女优电影在线观看| 亚洲成在人线在线播放| 91麻豆swag| 中文字幕日韩一区| 韩国毛片一区二区三区| 欧美久久久久久久久中文字幕| 亚洲欧美日韩一区二区| 国产suv精品一区二区三区| 日韩精品一区二区三区蜜臀| 五月婷婷激情综合| 91麻豆免费观看| 亚洲麻豆国产自偷在线| 99久久综合国产精品| 国产欧美一区二区三区沐欲| 久久99国产乱子伦精品免费| 欧美精品99久久久**| 亚洲成在线观看| 欧美精品在线一区二区| 亚洲第一av色| 欧美日韩精品一区二区三区蜜桃| 亚洲欧美一区二区不卡| 在线免费观看一区| 亚洲乱码中文字幕综合| 色婷婷国产精品综合在线观看| 成人免费一区二区三区在线观看| 国产99久久久久| 国产精品久久久久一区二区三区| 粉嫩绯色av一区二区在线观看| 久久精品水蜜桃av综合天堂| 国产精品2024| 国产精品国模大尺度视频| www.av精品| 伊人夜夜躁av伊人久久| 91福利精品视频| 欧日韩精品视频| 成人在线综合网| 中文字幕一区二区三区视频| 97久久精品人人做人人爽 | 亚洲欧美激情小说另类| 色欧美片视频在线观看在线视频| 亚洲精品中文字幕乱码三区| 色婷婷综合激情| 午夜av区久久| 久久影院午夜片一区| 国产成人久久精品77777最新版本| 欧美极品少妇xxxxⅹ高跟鞋| 91亚洲永久精品| 日韩制服丝袜先锋影音| 久久久一区二区三区捆绑**| 99视频国产精品| 日韩1区2区日韩1区2区| 久久精品亚洲麻豆av一区二区| www.日韩大片|