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

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

?? splitlayoutregion.js

?? ext js demo ext學(xué)習(xí)資料
?? JS
字號(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.SplitLayoutRegion
 * @extends Ext.LayoutRegion
 * Adds a splitbar and other (private) useful functionality to a {@link Ext.LayoutRegion}.
 */
Ext.SplitLayoutRegion = function(mgr, config, pos, cursor){
    this.cursor = cursor;
    Ext.SplitLayoutRegion.superclass.constructor.call(this, mgr, config, pos);
};

Ext.extend(Ext.SplitLayoutRegion, Ext.LayoutRegion, {
    splitTip : "Drag to resize.",
    collapsibleSplitTip : "Drag to resize. Double click to hide.",
    useSplitTips : false,

    applyConfig : function(config){
        Ext.SplitLayoutRegion.superclass.applyConfig.call(this, config);
        if(config.split){
            if(!this.split){
                var splitEl = Ext.DomHelper.append(this.mgr.el.dom, 
                        {tag: "div", id: this.el.id + "-split", cls: "x-layout-split x-layout-split-"+this.position, html: " "});
                /** The SplitBar for this region @type Ext.SplitBar */
                this.split = new Ext.SplitBar(splitEl, this.el, this.orientation);
                this.split.on("moved", this.onSplitMove, this);
                this.split.useShim = config.useShim === true;
                this.split.getMaximumSize = this[this.position == 'north' || this.position == 'south' ? 'getVMaxSize' : 'getHMaxSize'].createDelegate(this);
                if(this.useSplitTips){
                    this.split.el.dom.title = config.collapsible ? this.collapsibleSplitTip : this.splitTip;
                }
                if(config.collapsible){
                    this.split.el.on("dblclick", this.collapse,  this);
                }
            }
            if(typeof config.minSize != "undefined"){
                this.split.minSize = config.minSize;
            }
            if(typeof config.maxSize != "undefined"){
                this.split.maxSize = config.maxSize;
            }
            if(config.hideWhenEmpty || config.hidden){
                this.hideSplitter();
            }
        }
    },

    getHMaxSize : function(){
         var cmax = this.config.maxSize || 10000;
         var center = this.mgr.getRegion("center");
         return Math.min(cmax, (this.el.getWidth()+center.getEl().getWidth())-center.getMinWidth());
    },

    getVMaxSize : function(){
         var cmax = this.config.maxSize || 10000;
         var center = this.mgr.getRegion("center");
         return Math.min(cmax, (this.el.getHeight()+center.getEl().getHeight())-center.getMinHeight());
    },

    onSplitMove : function(split, newSize){
        this.fireEvent("resized", this, newSize);
    },
    
    /** 
     * Returns the {@link Ext.SplitBar} for this region.
     * @return {Ext.SplitBar}
     */
    getSplitBar : function(){
        return this.split;
    },
    
    hide : function(){
        this.hideSplitter();
        Ext.SplitLayoutRegion.superclass.hide.call(this);
    },

    hideSplitter : function(){
        if(this.split){
            this.split.el.setLocation(-2000,-2000);
            this.split.el.hide();
        }
    },

    show : function(){
        if(this.split){
            this.split.el.show();
        }
        Ext.SplitLayoutRegion.superclass.show.call(this);
    },
    
    beforeSlide: function(){
        if(Ext.isGecko){// firefox overflow auto bug workaround
            this.bodyEl.clip();
            if(this.tabs) this.tabs.bodyEl.clip();
            if(this.activePanel){
                this.activePanel.getEl().clip();
                
                if(this.activePanel.beforeSlide){
                    this.activePanel.beforeSlide();
                }
            }
        }
    },
    
    afterSlide : function(){
        if(Ext.isGecko){// firefox overflow auto bug workaround
            this.bodyEl.unclip();
            if(this.tabs) this.tabs.bodyEl.unclip();
            if(this.activePanel){
                this.activePanel.getEl().unclip();
                if(this.activePanel.afterSlide){
                    this.activePanel.afterSlide();
                }
            }
        }
    },

    initAutoHide : function(){
        if(this.autoHide !== false){
            if(!this.autoHideHd){
                var st = new Ext.util.DelayedTask(this.slideIn, this);
                this.autoHideHd = {
                    "mouseout": function(e){
                        if(!e.within(this.el, true)){
                            st.delay(500);
                        }
                    },
                    "mouseover" : function(e){
                        st.cancel();
                    },
                    scope : this
                };
            }
            this.el.on(this.autoHideHd);
        }
    },

    clearAutoHide : function(){
        if(this.autoHide !== false){
            this.el.un("mouseout", this.autoHideHd.mouseout);
            this.el.un("mouseover", this.autoHideHd.mouseover);
        }
    },

    clearMonitor : function(){
        Ext.get(document).un("click", this.slideInIf, this);
    },

    // these names are backwards but not changed for compat
    slideOut : function(){
        if(this.isSlid || this.el.hasActiveFx()){
            return;
        }
        this.isSlid = true;
        if(this.collapseBtn){
            this.collapseBtn.hide();
        }
        this.closeBtnState = this.closeBtn.getStyle('display');
        this.closeBtn.hide();
        if(this.stickBtn){
            this.stickBtn.show();
        }
        this.el.show();
        this.el.alignTo(this.collapsedEl, this.getCollapseAnchor());
        this.beforeSlide();
        this.el.setStyle("z-index", 10001);
        this.el.slideIn(this.getSlideAnchor(), {
            callback: function(){
                this.afterSlide();
                this.initAutoHide();
                Ext.get(document).on("click", this.slideInIf, this);
                this.fireEvent("slideshow", this);
            },
            scope: this,
            block: true
        });
    },

    afterSlideIn : function(){
        this.clearAutoHide();
        this.isSlid = false;
        this.clearMonitor();
        this.el.setStyle("z-index", "");
        if(this.collapseBtn){
            this.collapseBtn.show();
        }
        this.closeBtn.setStyle('display', this.closeBtnState);
        if(this.stickBtn){
            this.stickBtn.hide();
        }
        this.fireEvent("slidehide", this);
    },

    slideIn : function(cb){
        if(!this.isSlid || this.el.hasActiveFx()){
            Ext.callback(cb);
            return;
        }
        this.isSlid = false;
        this.beforeSlide();
        this.el.slideOut(this.getSlideAnchor(), {
            callback: function(){
                this.el.setLeftTop(-10000, -10000);
                this.afterSlide();
                this.afterSlideIn();
                Ext.callback(cb);
            },
            scope: this,
            block: true
        });
    },
    
    slideInIf : function(e){
        if(!e.within(this.el)){
            this.slideIn();
        }
    },

    animateCollapse : function(){
        this.beforeSlide();
        this.el.setStyle("z-index", 20000);
        var anchor = this.getSlideAnchor();
        this.el.slideOut(anchor, {
            callback : function(){
                this.el.setStyle("z-index", "");
                this.collapsedEl.slideIn(anchor, {duration:.3});
                this.afterSlide();
                this.el.setLocation(-10000,-10000);
                this.el.hide();
                this.fireEvent("collapsed", this);
            },
            scope: this,
            block: true
        });
    },

    animateExpand : function(){
        this.beforeSlide();
        this.el.alignTo(this.collapsedEl, this.getCollapseAnchor(), this.getExpandAdj());
        this.el.setStyle("z-index", 20000);
        this.collapsedEl.hide({
            duration:.1
        });
        this.el.slideIn(this.getSlideAnchor(), {
            callback : function(){
                this.el.setStyle("z-index", "");
                this.afterSlide();
                if(this.split){
                    this.split.el.show();
                }
                this.fireEvent("invalidated", this);
                this.fireEvent("expanded", this);
            },
            scope: this,
            block: true
        });
    },

    anchors : {
        "west" : "left",
        "east" : "right",
        "north" : "top",
        "south" : "bottom"
    },

    sanchors : {
        "west" : "l",
        "east" : "r",
        "north" : "t",
        "south" : "b"
    },

    canchors : {
        "west" : "tl-tr",
        "east" : "tr-tl",
        "north" : "tl-bl",
        "south" : "bl-tl"
    },

    getAnchor : function(){
        return this.anchors[this.position];
    },

    getCollapseAnchor : function(){
        return this.canchors[this.position];
    },

    getSlideAnchor : function(){
        return this.sanchors[this.position];
    },

    getAlignAdj : function(){
        var cm = this.cmargins;
        switch(this.position){
            case "west":
                return [0, 0];
            break;
            case "east":
                return [0, 0];
            break;
            case "north":
                return [0, 0];
            break;
            case "south":
                return [0, 0];
            break;
        }
    },

    getExpandAdj : function(){
        var c = this.collapsedEl, cm = this.cmargins;
        switch(this.position){
            case "west":
                return [-(cm.right+c.getWidth()+cm.left), 0];
            break;
            case "east":
                return [cm.right+c.getWidth()+cm.left, 0];
            break;
            case "north":
                return [0, -(cm.top+cm.bottom+c.getHeight())];
            break;
            case "south":
                return [0, cm.top+cm.bottom+c.getHeight()];
            break;
        }
    }
});

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
jizzjizzjizz欧美| 在线观看亚洲精品| 亚洲主播在线观看| 日韩精品资源二区在线| av亚洲精华国产精华| 日韩av一级片| 亚洲三级小视频| 欧美www视频| 欧美日韩小视频| 91在线你懂得| 国产大片一区二区| 日韩福利视频导航| 亚洲综合一二三区| 国产精品欧美一区喷水| 日韩视频123| 欧美网站一区二区| voyeur盗摄精品| 国产精品原创巨作av| 日本欧美一区二区在线观看| 亚洲精品国久久99热| 中文字幕成人在线观看| 精品国产乱码久久久久久久| 欧美丝袜丝交足nylons图片| zzijzzij亚洲日本少妇熟睡| 韩国精品在线观看| 美女免费视频一区二区| 婷婷六月综合网| 亚洲精品国久久99热| 亚洲免费大片在线观看| 亚洲国产成人自拍| 国产午夜精品一区二区三区视频 | 成人综合在线网站| 久久国产精品色| 秋霞影院一区二区| 午夜精品成人在线视频| 亚洲国产中文字幕| 亚洲国产综合色| 亚洲一区二区三区在线播放| 亚洲青青青在线视频| 亚洲青青青在线视频| 亚洲日本一区二区| 亚洲另类色综合网站| 悠悠色在线精品| 一区二区在线观看视频在线观看| 亚洲视频你懂的| 亚洲乱码日产精品bd| 亚洲乱码精品一二三四区日韩在线| 国产精品福利一区二区| 中文字幕一区二区三区在线播放| 国产日产亚洲精品系列| 欧美高清在线一区| 成人欧美一区二区三区视频网页 | 91丨porny丨最新| 色综合久久久久久久| 91国产丝袜在线播放| 91福利在线观看| 欧美日韩国产一级| 91精品在线免费| 2022国产精品视频| 国产精品久久久久精k8| 一区二区三区资源| 日韩国产高清影视| 国产一区二区福利| 99久久国产综合精品女不卡 | 国产亚洲视频系列| 国产精品久久三| 亚洲一区欧美一区| 亚洲第一在线综合网站| 另类小说图片综合网| 国产91色综合久久免费分享| 99国产欧美另类久久久精品| 欧美三级一区二区| 欧美mv日韩mv国产网站app| 国产精品天天看| 一区二区三区在线播放| 国产亚洲精品福利| 亚洲欧美激情视频在线观看一区二区三区 | 日韩精品欧美成人高清一区二区| 日韩国产精品久久| 亚洲综合视频在线观看| 蜜臀91精品一区二区三区 | 国产欧美精品在线观看| 国产精品久久久久9999吃药| 亚洲一区二区视频在线| 日韩精品三区四区| 日韩视频在线观看一区二区| 26uuu久久天堂性欧美| 中文字幕av不卡| 亚洲一区二区3| 麻豆精品一区二区综合av| 国产乱码精品一品二品| 一本到高清视频免费精品| 欧美精品欧美精品系列| 国产目拍亚洲精品99久久精品| 国产精品高潮呻吟| 热久久免费视频| 国产传媒日韩欧美成人| 欧美日韩一区 二区 三区 久久精品| 日韩精品在线一区| 成人免费视频在线观看| 毛片一区二区三区| 99久久99精品久久久久久| 91精品国产高清一区二区三区| 欧美激情一区在线| 免费成人在线播放| 91蝌蚪porny成人天涯| 日韩一区二区电影| 亚洲丝袜精品丝袜在线| 免费国产亚洲视频| 91高清视频免费看| 久久精品欧美日韩精品| 亚洲mv在线观看| av网站免费线看精品| 欧美xxxx在线观看| 亚洲国产欧美另类丝袜| 成人精品视频一区二区三区| 91精品国产综合久久精品麻豆| 国产精品视频你懂的| 蜜桃av一区二区| 欧美美女一区二区| 一色屋精品亚洲香蕉网站| 蜜桃精品在线观看| 欧美日韩激情一区二区| 亚洲人成网站影音先锋播放| 国内久久精品视频| 91麻豆精品91久久久久久清纯 | 久久免费看少妇高潮| 亚洲高清久久久| 99免费精品视频| 久久精品无码一区二区三区| 日韩国产欧美在线视频| 在线观看日产精品| 亚洲另类色综合网站| va亚洲va日韩不卡在线观看| 国产精品三级在线观看| 激情文学综合插| 欧美一级理论片| 亚洲r级在线视频| 成人免费黄色在线| 亚洲国产精品v| 国产成人在线影院 | 日韩国产欧美一区二区三区| 在线观看91视频| 亚洲综合免费观看高清在线观看| 91影视在线播放| 国产精品视频一区二区三区不卡| 成人性生交大片免费看视频在线| 欧美精品一区二区三区在线| 精品一区二区三区视频在线观看| 豆国产96在线|亚洲| 国产精品国产自产拍在线| 懂色av中文字幕一区二区三区 | 欧美日韩一区二区三区四区| 亚洲不卡在线观看| 欧美亚洲尤物久久| 亚洲一级不卡视频| 欧美高清精品3d| 亚洲美腿欧美偷拍| 在线免费一区三区| 亚洲国产一区二区三区| 91久久精品一区二区三| 亚洲国产精品一区二区www| 欧美欧美欧美欧美| 蜜臀av一区二区在线观看| 久久夜色精品国产噜噜av| 国产盗摄女厕一区二区三区| 精品美女一区二区三区| 国产成人av资源| ●精品国产综合乱码久久久久| 91免费国产视频网站| 亚洲国产乱码最新视频| 亚洲午夜电影在线观看| 欧美一区二区三区四区在线观看| 毛片基地黄久久久久久天堂| 国产无遮挡一区二区三区毛片日本| 成人av高清在线| 一区二区三区四区视频精品免费| 日韩一区二区视频在线观看| 欧美浪妇xxxx高跟鞋交| 国产98色在线|日韩| 日本一区二区三区久久久久久久久不| 色综合天天综合网国产成人综合天 | 99精品欧美一区二区蜜桃免费| 自拍偷拍欧美精品| 欧美亚洲国产一区二区三区 | 亚洲福利一二三区| 日韩免费在线观看| 9色porny自拍视频一区二区| 午夜激情一区二区三区| 欧美成人精品二区三区99精品| 国产不卡免费视频| 亚洲成人黄色影院| 国产婷婷色一区二区三区| 欧美揉bbbbb揉bbbbb| 精品一区二区精品| 亚洲一区二区在线免费观看视频 | 国产欧美日韩在线视频| 日本高清不卡在线观看| 国产激情视频一区二区三区欧美 | 久久婷婷色综合|