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

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

?? layout-debug.js

?? ext js demo ext學習資料
?? JS
?? 第 1 頁 / 共 5 頁
字號:
    getMargins : function(){
        return this.margins;
    },
    
    updateBox : function(box){
        this.box = box;
        var el = this.activePanel.getEl();
        el.dom.style.left = box.x + "px";
        el.dom.style.top = box.y + "px";
        this.activePanel.setSize(box.width, box.height);
    },
    
    
    getEl : function(){
        return this.activePanel;
    },
    
    
    isVisible : function(){
        return this.activePanel ? true : false;
    },
    
    setActivePanel : function(panel){
        panel = this.getPanel(panel);
        if(this.activePanel && this.activePanel != panel){
            this.activePanel.setActiveState(false);
            this.activePanel.getEl().setLeftTop(-10000,-10000);
        }
        this.activePanel = panel;
        panel.setActiveState(true);
        if(this.box){
            panel.setSize(this.box.width, this.box.height);
        }
        this.fireEvent("panelactivated", this, panel);
        this.fireEvent("invalidated");
    },
    
    
    showPanel : function(panel){
        if(panel = this.getPanel(panel)){
            this.setActivePanel(panel);
        }
        return panel;
    },
    
    
    getActivePanel : function(){
        return this.activePanel;
    },
    
    
    add : function(panel){
        if(arguments.length > 1){
            for(var i = 0, len = arguments.length; i < len; i++) {
            	this.add(arguments[i]);
            }
            return null;
        }
        if(this.hasPanel(panel)){
            this.showPanel(panel);
            return panel;
        }
        var el = panel.getEl();
        if(el.dom.parentNode != this.mgr.el.dom){
            this.mgr.el.dom.appendChild(el.dom);
        }
        if(panel.setRegion){
            panel.setRegion(this);
        }
        this.panels.add(panel);
        el.setStyle("position", "absolute");
        if(!panel.background){
            this.setActivePanel(panel);
            if(this.config.initialSize && this.panels.getCount()==1){
                this.resizeTo(this.config.initialSize);
            }
        }
        this.fireEvent("paneladded", this, panel);
        return panel;
    },
    
    
    hasPanel : function(panel){
        if(typeof panel == "object"){             panel = panel.getId();
        }
        return this.getPanel(panel) ? true : false;
    },
    
    
    remove : function(panel, preservePanel){
        panel = this.getPanel(panel);
        if(!panel){
            return null;
        }
        var e = {};
        this.fireEvent("beforeremove", this, panel, e);
        if(e.cancel === true){
            return null;
        }
        var panelId = panel.getId();
        this.panels.removeKey(panelId);
        return panel;
    },
    
    
    getPanel : function(id){
        if(typeof id == "object"){             return id;
        }
        return this.panels.get(id);
    },
    
    
    getPosition: function(){
        return this.position;    
    }
});
Ext.LayoutRegion = function(mgr, config, pos){
    Ext.LayoutRegion.superclass.constructor.call(this, mgr, config, pos, true);
    var dh = Ext.DomHelper;
    
    this.el = dh.append(mgr.el.dom, {tag: "div", cls: "x-layout-panel x-layout-panel-" + this.position}, true);
    

    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: "&#160;"},
        {tag: "div", cls: "x-unselectable x-layout-panel-hd-tools", unselectable: "on"}
    ]}, true);
    this.titleEl.enableDisplayMode();
    
    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.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.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 && !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();
        }
    },
    
    isVisible : function(){
        return this.visible;
    },

    
    setCollapsedTitle : function(title){
        title = title || "&#160;";
        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();
        }
    },

    
    getEl : function(){
        return this.el;
    },

    
    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);
    },

    
    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();
        }
    },

    
    collapse : function(skipAnim){
        if(this.collapsed) return;
        this.collapsed = true;
        if(this.split){
            this.split.el.hide();
        }
        if(this.config.animate && skipAnim !== true){
            this.fireEvent("invalidated", this);
            this.animateCollapse();
        }else{
            this.el.setLocation(-20000,-20000);
            this.el.hide();
            this.collapsedEl.show();
            this.fireEvent("collapsed", this);
            this.fireEvent("invalidated", this);
        }
    },

    animateCollapse : function(){
            },

    
    expand : function(e, skipAnim){
        if(e) e.stopPropagation();
        if(!this.collapsed || this.el.hasActiveFx()) return;
        if(this.isSlid){
            this.afterSlideIn();
            skipAnim = true;
        }
        this.collapsed = false;
        if(this.config.animate && skipAnim !== true){
            this.animateExpand();
        }else{
            this.el.show();
            if(this.split){
                this.split.el.show();
            }
            this.collapsedEl.setLocation(-2000,-2000);
            this.collapsedEl.hide();
            this.fireEvent("invalidated", this);
            this.fireEvent("expanded", this);
        }
    },

    animateExpand : function(){
            },

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美久久免费观看| 一二三四社区欧美黄| 亚洲天天做日日做天天谢日日欢| 亚洲一区二区三区自拍| 国产a视频精品免费观看| 欧美日韩一区二区三区不卡| 中文字幕高清不卡| 精品综合免费视频观看| 欧洲生活片亚洲生活在线观看| 久久久久国产成人精品亚洲午夜| 亚洲v精品v日韩v欧美v专区| 成人免费毛片嘿嘿连载视频| 久久无码av三级| 青青草97国产精品免费观看 | 久久久综合九色合综国产精品| 一区二区三区自拍| 成人一区二区三区在线观看| 久久五月婷婷丁香社区| 裸体在线国模精品偷拍| 欧美日韩国产在线观看| 亚洲精品中文在线观看| 9i看片成人免费高清| 久久精品日韩一区二区三区| 黄色资源网久久资源365| 欧美一区二区大片| 日韩高清在线观看| 欧美一区二区三区日韩视频| 污片在线观看一区二区| 在线免费观看日韩欧美| 亚洲午夜精品久久久久久久久| 成人av电影在线播放| 亚洲丝袜另类动漫二区| 日本乱人伦aⅴ精品| 亚洲精品你懂的| 色哟哟欧美精品| 亚洲高清视频的网址| 69成人精品免费视频| 裸体歌舞表演一区二区| 日韩美女主播在线视频一区二区三区 | 欧美日韩一区在线| 亚洲成a人v欧美综合天堂下载| 欧美日韩一区高清| 偷窥少妇高潮呻吟av久久免费| 欧美日本在线观看| 免费欧美在线视频| 26uuu亚洲综合色欧美 | 首页综合国产亚洲丝袜| 欧美精品18+| 久久疯狂做爰流白浆xx| 久久久久国产精品免费免费搜索| 成人中文字幕合集| 亚洲国产成人高清精品| 欧美一级在线免费| 国产做a爰片久久毛片| 中文字幕第一页久久| 在线免费亚洲电影| 九九九久久久精品| 国产精品成人网| 欧美专区日韩专区| 韩国三级电影一区二区| 国产精品国产a| 欧美精品一二三| 国产精品影视在线观看| 亚洲精品中文字幕在线观看| 4438x成人网最大色成网站| 国产一区二区在线影院| 亚洲男人的天堂在线aⅴ视频| 欧美精品亚洲一区二区在线播放| 国产一区二区剧情av在线| 一区二区在线观看视频在线观看| 91精品国产一区二区三区蜜臀 | 亚洲不卡av一区二区三区| 精品第一国产综合精品aⅴ| 99视频国产精品| 亚洲成av人片在线观看| 日本一二三四高清不卡| 欧美伦理电影网| 高清久久久久久| 奇米一区二区三区av| 亚洲女性喷水在线观看一区| 精品美女一区二区三区| 欧美在线你懂的| 丰满亚洲少妇av| 免费高清在线一区| 自拍视频在线观看一区二区| 日韩欧美一二三| 欧美日韩一区二区三区四区| 成人av在线资源网| 激情综合色综合久久综合| 一区二区在线看| 国产精品第四页| 欧美大度的电影原声| 欧美亚洲国产怡红院影院| 成人的网站免费观看| 国产在线精品一区二区| 日一区二区三区| 亚洲夂夂婷婷色拍ww47| 亚洲欧美色图小说| 亚洲国产高清在线观看视频| 精品久久久久一区| 91精品国产91综合久久蜜臀| 欧美亚洲国产一卡| 91福利视频久久久久| 91尤物视频在线观看| av综合在线播放| 波多野结衣91| 成人免费视频caoporn| 成人综合婷婷国产精品久久| 国产一区福利在线| 国产精品456| 国产在线看一区| 狠狠色综合日日| www.日韩av| av亚洲精华国产精华精华| 亚洲在线中文字幕| 中文字幕一区免费在线观看| 欧美tickle裸体挠脚心vk| 日韩午夜中文字幕| 精品国产亚洲一区二区三区在线观看| 欧美日韩国产一二三| 欧美人xxxx| 欧美高清视频不卡网| 欧美精品久久天天躁| 欧美一区二区三区免费观看视频 | 亚洲成人福利片| 一区二区三区欧美日| 亚洲欧美日韩中文播放| 亚洲一区二区黄色| 亚洲成人在线网站| 亚洲欧美综合色| 国产精品久久久久久亚洲毛片 | 国产成人av一区二区| 国产99久久久精品| 色94色欧美sute亚洲线路二| 色网综合在线观看| 另类小说视频一区二区| 黄页网站大全一区二区| 成人免费观看av| 色婷婷综合五月| 欧美在线不卡视频| 日韩欧美国产三级| 久久久久久久久蜜桃| 亚洲图片激情小说| 日韩综合一区二区| 国产精品12区| 91官网在线观看| 欧美成人在线直播| 亚洲区小说区图片区qvod| 亚洲aⅴ怡春院| 国产91高潮流白浆在线麻豆| 91原创在线视频| 精品免费99久久| 亚洲精品高清在线| 久草中文综合在线| 91亚洲资源网| 精品国产伦一区二区三区观看方式| 国产精品乱码久久久久久| 亚洲午夜精品在线| 成人午夜免费av| 欧美一区二区在线不卡| 国产精品青草综合久久久久99| 亚洲午夜在线电影| 福利电影一区二区| 日韩一级欧美一级| 亚洲视频一区二区免费在线观看| 青青草原综合久久大伊人精品 | 国产午夜精品一区二区三区嫩草| 亚洲欧美日韩国产一区二区三区| 麻豆极品一区二区三区| 欧美大片在线观看一区| 亚洲不卡av一区二区三区| 成人免费毛片高清视频| 日韩欧美一区二区免费| 亚洲激情欧美激情| 国产成人精品免费网站| 日韩一区二区免费高清| 一级女性全黄久久生活片免费| 国产精品18久久久久久久网站| 精品视频1区2区3区| 国产精品久久午夜夜伦鲁鲁| 国内精品伊人久久久久av影院| 欧美丝袜第三区| 亚洲日本在线观看| 国产成a人亚洲| wwwwxxxxx欧美| 蜜臀久久99精品久久久久久9| 欧美中文字幕亚洲一区二区va在线 | 老司机免费视频一区二区三区| 欧美日本精品一区二区三区| 亚洲综合色区另类av| 91美女视频网站| 亚洲欧美影音先锋| 成人蜜臀av电影| 国产精品无遮挡| 国产精品白丝jk白祙喷水网站| 精品电影一区二区三区 | 成人app下载| 中文字幕第一页久久| 成人免费视频一区二区| 国产欧美日韩久久|