Development

Changeset 10356

You must first sign up to be able to contribute.

Changeset 10356

Show
Ignore:
Timestamp:
07/19/08 16:16:48 (4 months ago)
Author:
Leon.van.der.Ree
Message:

Added a hack to the Ext-Source to be able to check for registered (x)Types, feature request posted at extjs-forums

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjs2Plugin/trunk/web/extjs/ext-all-debug.js

    r8582 r10356  
    33 * Copyright(c) 2006-2008, Ext JS, LLC. 
    44 * licensing@extjs.com 
    5  *  
     5 * 
    66 * http://extjs.com/license 
    77 */ 
     
    7171    }; 
    7272 
    73          
     73 
    7474    var createDom = function(o, parentNode){ 
    7575        var el; 
     
    119119        tre = '</tr>'+tbe; 
    120120 
    121      
     121 
    122122    var insertIntoTable = function(tag, where, el, html){ 
    123123        if(!tempTableEl){ 
     
    180180 
    181181    return { 
    182      
     182 
    183183    useDom : false, 
    184184 
    185      
     185 
    186186    markup : function(o){ 
    187187        return createHtml(o); 
    188188    }, 
    189189 
    190      
     190 
    191191    applyStyles : function(el, styles){ 
    192192        if(styles){ 
     
    208208    }, 
    209209 
    210      
     210 
    211211    insertHtml : function(where, el, html){ 
    212212        where = where.toLowerCase(); 
     
    271271    }, 
    272272 
    273      
     273 
    274274    insertBefore : function(el, o, returnElement){ 
    275275        return this.doInsert(el, o, returnElement, "beforeBegin"); 
    276276    }, 
    277277 
    278      
     278 
    279279    insertAfter : function(el, o, returnElement){ 
    280280        return this.doInsert(el, o, returnElement, "afterEnd", "nextSibling"); 
    281281    }, 
    282282 
    283      
     283 
    284284    insertFirst : function(el, o, returnElement){ 
    285285        return this.doInsert(el, o, returnElement, "afterBegin", "firstChild"); 
     
    299299    }, 
    300300 
    301      
     301 
    302302    append : function(el, o, returnElement){ 
    303303        el = Ext.getDom(el); 
     
    313313    }, 
    314314 
    315      
     315 
    316316    overwrite : function(el, o, returnElement){ 
    317317        el = Ext.getDom(el); 
     
    320320    }, 
    321321 
    322      
     322 
    323323    createTemplate : function(o){ 
    324324        var html = createHtml(o); 
     
    344344        html = buf.join(''); 
    345345    } 
    346      
     346 
    347347    this.html = html; 
    348348    if(this.compiled){ 
     
    351351}; 
    352352Ext.Template.prototype = { 
    353      
     353 
    354354    applyTemplate : function(values){ 
    355355        if(this.compiled){ 
     
    382382    }, 
    383383 
    384      
     384 
    385385    set : function(html, compile){ 
    386386        this.html = html; 
     
    392392    }, 
    393393 
    394      
     394 
    395395    disableFormats : false, 
    396396 
    397      
     397 
    398398    re : /\{([\w-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g, 
    399399 
    400      
     400 
    401401    compile : function(){ 
    402402        var fm = Ext.util.Format; 
     
    436436    }, 
    437437 
    438      
     438 
    439439    insertFirst: function(el, values, returnElement){ 
    440440        return this.doInsert('afterBegin', el, values, returnElement); 
    441441    }, 
    442442 
    443      
     443 
    444444    insertBefore: function(el, values, returnElement){ 
    445445        return this.doInsert('beforeBegin', el, values, returnElement); 
    446446    }, 
    447447 
    448      
     448 
    449449    insertAfter : function(el, values, returnElement){ 
    450450        return this.doInsert('afterEnd', el, values, returnElement); 
    451451    }, 
    452452 
    453      
     453 
    454454    append : function(el, values, returnElement){ 
    455455        return this.doInsert('beforeEnd', el, values, returnElement); 
     
    462462    }, 
    463463 
    464      
     464 
    465465    overwrite : function(el, values, returnElement){ 
    466466        el = Ext.getDom(el); 
     
    516516    function children(d){ 
    517517        var n = d.firstChild, ni = -1; 
    518        while(n){ 
    519            var nx = n.nextSibling; 
    520            if(n.nodeType == 3 && !nonSpace.test(n.nodeValue)){ 
    521                d.removeChild(n); 
    522            }else{ 
    523                n.nodeIndex = ++ni; 
    524            } 
    525            n = nx; 
    526        } 
    527        return this; 
    528    }; 
     518       while(n){ 
     519           var nx = n.nextSibling; 
     520           if(n.nodeType == 3 && !nonSpace.test(n.nodeValue)){ 
     521               d.removeChild(n); 
     522           }else{ 
     523               n.nodeIndex = ++ni; 
     524           } 
     525           n = nx; 
     526       } 
     527       return this; 
     528   }; 
    529529 
    530530    function byClassName(c, a, v){ 
     
    675675    }; 
    676676 
    677      
    678      
    679      
     677 
     678 
     679 
    680680    var isIE = window.ActiveXObject ? true : false; 
    681681 
    682      
    683      
     682 
     683 
    684684    eval("var batch = 30803;"); 
    685685 
     
    787787            return Ext.fly(el).getStyle(name); 
    788788        }, 
    789          
     789 
    790790        compile : function(path, type){ 
    791791            type = type || "select"; 
     
    797797            var mm; 
    798798 
    799              
     799 
    800800            var lmode = q.match(modeRe); 
    801801            if(lmode && lmode[1]){ 
     
    803803                q = q.replace(lmode[1], ""); 
    804804            } 
    805              
     805 
    806806            while(path.substr(0, 1)=="/"){ 
    807807                path = path.substr(1); 
     
    846846                        } 
    847847                    } 
    848                      
     848 
    849849                    if(!matched){ 
    850850                        throw 'Error parsing selector, parsing failed at "' + q + '"'; 
     
    861861        }, 
    862862 
    863          
     863 
    864864        select : function(path, root, type){ 
    865865            if(!root || root == document){ 
     
    890890        }, 
    891891 
    892          
     892 
    893893        selectNode : function(path, root){ 
    894894            return Ext.DomQuery.select(path, root)[0]; 
    895895        }, 
    896896 
    897          
     897 
    898898        selectValue : function(path, root, defaultValue){ 
    899899            path = path.replace(trimRe, ""); 
     
    907907        }, 
    908908 
    909          
     909 
    910910        selectNumber : function(path, root, defaultValue){ 
    911911            var v = Ext.DomQuery.selectValue(path, root, defaultValue || 0); 
     
    913913        }, 
    914914 
    915          
     915 
    916916        is : function(el, ss){ 
    917917            if(typeof el == "string"){ 
     
    923923        }, 
    924924 
    925          
     925 
    926926        filter : function(els, ss, nonMatches){ 
    927927            ss = ss.replace(trimRe, ""); 
     
    933933        }, 
    934934 
    935          
     935 
    936936        matchers : [{ 
    937937                re: /^\.([\w-]+)/, 
     
    952952        ], 
    953953 
    954          
     954 
    955955        operators : { 
    956956            "=" : function(a, v){ 
     
    980980        }, 
    981981 
    982          
     982 
    983983        pseudos : { 
    984984            "first-child" : function(c){ 
     
    11701170 
    11711171Ext.util.Observable = function(){ 
    1172      
     1172 
    11731173    if(this.listeners){ 
    11741174        this.on(this.listeners); 
     
    11771177}; 
    11781178Ext.util.Observable.prototype = { 
    1179      
     1179 
    11801180    fireEvent : function(){ 
    11811181        if(this.eventsSuspended !== true){ 
     
    11901190        filterOptRe : /^(?:scope|delay|buffer|single)$/, 
    11911191 
    1192      
     1192 
    11931193    addListener : function(eventName, fn, scope, o){ 
    11941194        if(typeof eventName == "object"){ 
     
    12161216    }, 
    12171217 
    1218      
     1218 
    12191219    removeListener : function(eventName, fn, scope){ 
    12201220        var ce = this.events[eventName.toLowerCase()]; 
     
    12241224    }, 
    12251225 
    1226      
     1226 
    12271227    purgeListeners : function(){ 
    12281228        for(var evt in this.events){ 
     
    12331233    }, 
    12341234 
    1235      
     1235 
    12361236    relayEvents : function(o, events){ 
    12371237        var createHandler = function(ename){ 
     
    12471247    }, 
    12481248 
    1249      
     1249 
    12501250    addEvents : function(o){ 
    12511251        if(!this.events){ 
     
    12631263    }, 
    12641264 
    1265      
     1265 
    12661266    hasListener : function(eventName){ 
    12671267        var e = this.events[eventName]; 
     
    12691269    }, 
    12701270 
    1271      
     1271 
    12721272    suspendEvents : function(){ 
    12731273        this.eventsSuspended = true; 
    12741274    }, 
    12751275 
    1276      
     1276 
    12771277    resumeEvents : function(){ 
    12781278        this.eventsSuspended = false; 
     
    15491549            }, 10); 
    15501550        } 
    1551          
     1551 
    15521552        E.on(window, "load", fireDocReady); 
    15531553    }; 
     
    15561556        var task = new Ext.util.DelayedTask(h); 
    15571557        return function(e){ 
    1558              
     1558 
    15591559            e = new Ext.EventObjectImpl(e); 
    15601560            task.delay(o.buffer, h, null, [e]); 
     
    15711571    var createDelayed = function(h, o){ 
    15721572        return function(e){ 
    1573              
     1573 
    15741574            e = new Ext.EventObjectImpl(e); 
    15751575            setTimeout(function(){ 
     
    16261626 
    16271627        E.on(el, ename, h); 
    1628         if(ename == "mousewheel" && el.addEventListener){  
     1628        if(ename == "mousewheel" && el.addEventListener){ 
    16291629            el.addEventListener("DOMMouseScroll", h, false); 
    16301630            E.on(window, 'unload', function(){ 
     
    16321632            }); 
    16331633        } 
    1634         if(ename == "mousedown" && el == document){  
     1634        if(ename == "mousedown" && el == document){ 
    16351635            Ext.EventManager.stoppedMouseDownEvent.addListener(h); 
    16361636        } 
     
    16551655            el.removeEventListener("DOMMouseScroll", hd, false); 
    16561656        } 
    1657         if(ename == "mousedown" && el == document){  
     1657        if(ename == "mousedown" && el == document){ 
    16581658            Ext.EventManager.stoppedMouseDownEvent.removeListener(hd); 
    16591659        } 
     
    16631663    var pub = { 
    16641664 
    1665      
     1665 
    16661666        addListener : function(element, eventName, fn, scope, options){ 
    16671667            if(typeof eventName == "object"){ 
     
    16721672                    } 
    16731673                    if(typeof o[e] == "function"){ 
    1674                          
     1674 
    16751675                        listen(element, e, o, o[e], o.scope); 
    16761676                    }else{ 
    1677                          
     1677 
    16781678                        listen(element, e, o[e]); 
    16791679                    } 
     
    16841684        }, 
    16851685 
    1686          
     1686 
    16871687        removeListener : function(element, eventName, fn){ 
    16881688            return stopListening(element, eventName, fn); 
    16891689        }, 
    16901690 
    1691          
     1691 
    16921692        onDocumentReady : function(fn, scope, options){ 
    1693             if(docReadyState){  
     1693            if(docReadyState){ 
    16941694                docReadyEvent.addListener(fn, scope, options); 
    16951695                docReadyEvent.fire(); 
     
    17031703        }, 
    17041704 
    1705          
     1705 
    17061706        onWindowResize : function(fn, scope, options){ 
    17071707            if(!resizeEvent){ 
     
    17151715        }, 
    17161716 
    1717          
     1717 
    17181718        fireWindowResize : function(){ 
    17191719            if(resizeEvent){ 
     
    17261726        }, 
    17271727 
    1728          
     1728 
    17291729        onTextResize : function(fn, scope, options){ 
    17301730            if(!textEvent){ 
     
    17441744        }, 
    17451745 
    1746          
     1746 
    17471747        removeResizeListener : function(fn, scope){ 
    17481748            if(resizeEvent){ 
     
    17511751        }, 
    17521752 
    1753          
     1753 
    17541754        fireResize : function(){ 
    17551755            if(resizeEvent){ 
     
    17571757            } 
    17581758        }, 
    1759          
     1759 
    17601760        ieDeferSrc : false, 
    1761          
     1761 
    17621762        textResizeInterval : 50 
    17631763    }; 
    1764       
     1764 
    17651765    pub.on = pub.addListener; 
    1766      
     1766 
    17671767    pub.un = pub.removeListener; 
    17681768 
     
    17921792        cls.push('ext-border-box'); 
    17931793    } 
    1794     if(Ext.isStrict){  
     1794    if(Ext.isStrict){ 
    17951795        var p = bd.dom.parentNode; 
    17961796        if(p){ 
     
    18061806    var E = Ext.lib.Event; 
    18071807 
    1808      
     1808 
    18091809    var safariKeys = { 
    1810         63234 : 37,  
    1811         63235 : 39,  
    1812         63232 : 38,  
    1813         63233 : 40,  
    1814         63276 : 33,  
    1815         63277 : 34,  
    1816         63272 : 46,  
    1817         63273 : 36,  
    1818         63275 : 35   
     1810        63234 : 37, 
     1811        63235 : 39, 
     1812        63232 : 38, 
     1813        63233 : 40, 
     1814        63276 : 33, 
     1815        63277 : 34, 
     1816        63272 : 46, 
     1817        63273 : 36, 
     1818        63275 : 35 
    18191819    }; 
    18201820 
    1821      
     1821 
    18221822    var btnMap = Ext.isIE ? {1:0,4:1,2:2} : 
    18231823                (Ext.isSafari ? {1:0,2:1,3:2} : {0:0,1:1,2:2}); 
     
    18291829    }; 
    18301830    Ext.EventObjectImpl.prototype = { 
    1831          
     1831 
    18321832        browserEvent : null, 
    1833          
     1833 
    18341834        button : -1, 
    1835          
     1835 
    18361836        shiftKey : false, 
    1837          
     1837 
    18381838        ctrlKey : false, 
    1839          
     1839 
    18401840        altKey : false, 
    18411841 
    1842          
     1842 
    18431843        BACKSPACE : 8, 
    1844          
     1844 
    18451845        TAB : 9, 
    1846          
     1846 
    18471847        RETURN : 13, 
    1848          
     1848 
    18491849        ENTER : 13, 
    1850          
     1850 
    18511851        SHIFT : 16, 
    1852          
     1852 
    18531853        CONTROL : 17, 
    1854          
     1854 
    18551855        ESC : 27, 
    1856          
     1856 
    18571857        SPACE : 32, 
    1858          
     1858 
    18591859        PAGEUP : 33, 
    1860          
     1860 
    18611861        PAGEDOWN : 34, 
    1862          
     1862 
    18631863        END : 35, 
    1864          
     1864 
    18651865        HOME : 36, 
    1866          
     1866 
    18671867        LEFT : 37, 
    1868          
     1868 
    18691869        UP : 38, 
    1870          
     1870 
    18711871        RIGHT : 39, 
    1872          
     1872 
    18731873        DOWN : 40, 
    1874          
     1874 
    18751875        DELETE : 46, 
    1876          
     1876 
    18771877        F5 : 116, 
    18781878 
    1879             
     1879 
    18801880        setEvent : function(e){ 
    1881             if(e == this || (e && e.browserEvent)){  
     1881            if(e == this || (e && e.browserEvent)){ 
    18821882                return e; 
    18831883            } 
    18841884            this.browserEvent = e; 
    18851885            if(e){ 
    1886                  
     1886 
    18871887                this.button = e.button ? btnMap[e.button] : (e.which ? e.which-1 : -1); 
    18881888                if(e.type == 'click' && this.button == -1){ 
     
    18911891                this.type = e.type; 
    18921892                this.shiftKey = e.shiftKey; 
    1893                  
     1893 
    18941894                this.ctrlKey = e.ctrlKey || e.metaKey; 
    18951895                this.altKey = e.altKey; 
    1896                  
     1896 
    18971897                this.keyCode = e.keyCode; 
    18981898                this.charCode = e.charCode; 
    1899                  
     1899 
    19001900                this.target = E.getTarget(e); 
    1901                  
     1901 
    19021902                this.xy = E.getXY(e); 
    19031903            }else{ 
     
    19141914        }, 
    19151915 
    1916          
     1916 
    19171917        stopEvent : function(){ 
    19181918            if(this.browserEvent){ 
     
    19241924        }, 
    19251925 
    1926          
     1926 
    19271927        preventDefault : function(){ 
    19281928            if(this.browserEvent){ 
     
    19311931        }, 
    19321932 
    1933          
     1933 
    19341934        isNavKeyPress : function(){ 
    19351935            var k = this.keyCode; 
     
    19471947            (k >= 44 && k <= 45); 
    19481948        }, 
    1949          
     1949 
    19501950        stopPropagation : function(){ 
    19511951            if(this.browserEvent){ 
     
    19571957        }, 
    19581958 
    1959          
     1959 
    19601960        getCharCode : function(){ 
    19611961            return this.charCode || this.keyCode; 
    19621962        }, 
    19631963 
    1964          
     1964 
    19651965        getKey : function(){ 
    19661966            var k = this.keyCode || this.charCode; 
     
    19681968        }, 
    19691969 
    1970          
     1970 
    19711971        getPageX : function(){ 
    19721972            return this.xy[0]; 
    19731973        }, 
    19741974 
    1975          
     1975 
    19761976        getPageY : function(){ 
    19771977            return this.xy[1]; 
    19781978        }, 
    19791979 
    1980          
     1980 
    19811981        getTime : function(){ 
    19821982            if(this.browserEvent){ 
     
    19861986        }, 
    19871987 
    1988          
     1988 
    19891989        getXY : function(){ 
    19901990            return this.xy; 
    19911991        }, 
    19921992 
    1993          
     1993 
    19941994        getTarget : function(selector, maxDepth, returnEl){ 
    19951995            return selector ? Ext.fly(this.target).findParent(selector, maxDepth, returnEl) : (returnEl ? Ext.get(this.target) : this.target); 
    19961996        }, 
    1997          
    1998          
     1997 
     1998 
    19991999        getRelatedTarget : function(){ 
    20002000            if(this.browserEvent){ 
     
    20042004        }, 
    20052005 
    2006          
     2006 
    20072007        getWheelDelta : function(){ 
    20082008            var e = this.browserEvent; 
    20092009            var delta = 0; 
    2010             if(e.wheelDelta){  
     2010            if(e.wheelDelta){ 
    20112011                delta = e.wheelDelta/120; 
    2012             }else if(e.detail){  
     2012            }else if(e.detail){ 
    20132013                delta = -e.detail/3; 
    20142014            } 
     
    20162016        }, 
    20172017 
    2018          
     2018 
    20192019        hasModifier : function(){ 
    20202020            return ((this.ctrlKey || this.altKey) || this.shiftKey) ? true : false; 
    20212021        }, 
    20222022 
    2023          
     2023 
    20242024        within : function(el, related){ 
    20252025            var t = this[related ? "getRelatedTarget" : "getTarget"](); 
     
    20542054    } 
    20552055 
    2056      
     2056 
    20572057    this.dom = dom; 
    20582058 
    2059      
     2059 
    20602060    this.id = id || Ext.id(dom); 
    20612061}; 
     
    20642064 
    20652065El.prototype = { 
    2066      
     2066 
    20672067    originalDisplay : "", 
    20682068 
    20692069    visibilityMode : 1, 
    2070      
     2070 
    20712071    defaultUnit : "px", 
    2072      
     2072 
    20732073    setVisibilityMode : function(visMode){ 
    20742074        this.visibilityMode = visMode; 
    20752075        return this; 
    20762076    }, 
    2077      
     2077 
    20782078    enableDisplayMode : function(display){ 
    20792079        this.setVisibilityMode(El.DISPLAY); 
     
    20822082    }, 
    20832083 
    2084      
     2084 
    20852085    findParent : function(simpleSelector, maxDepth, returnEl){ 
    20862086        var p = this.dom, b = document.body, depth = 0, dq = Ext.DomQuery, stopEl; 
     
    21012101 
    21022102 
    2103      
     2103 
    21042104    findParentNode : function(simpleSelector, maxDepth, returnEl){ 
    21052105        var p = Ext.fly(this.dom.parentNode, '_internal'); 
     
    21072107    }, 
    21082108 
    2109      
     2109 
    21102110    up : function(simpleSelector, maxDepth){ 
    21112111        return this.findParentNode(simpleSelector, maxDepth, true); 
     
    21142114 
    21152115 
    2116      
     2116 
    21172117    is : function(simpleSelector){ 
    21182118        return Ext.DomQuery.is(this.dom, simpleSelector); 
    21192119    }, 
    21202120 
    2121      
     2121 
    21222122    animate : function(args, duration, onComplete, easing, animType){ 
    21232123        this.anim(args, {duration: duration, callback: onComplete, easing: easing}, animType); 
     
    21252125    }, 
    21262126 
    2127      
     2127 
    21282128    anim : function(args, opt, animType, defaultDur, defaultEase, cb){ 
    21292129        animType = animType || 'run'; 
     
    21472147    }, 
    21482148 
    2149      
     2149 
    21502150    clean : function(forceReclean){ 
    21512151        if(this.isCleaned && forceReclean !== true){ 
     
    21542154        var ns = /\S/; 
    21552155        var d = this.dom, n = d.firstChild, ni = -1; 
    2156        while(n){ 
    2157            var nx = n.nextSibling; 
    2158            if(n.nodeType == 3 && !ns.test(n.nodeValue)){ 
    2159                d.removeChild(n); 
    2160            }else{ 
    2161                n.nodeIndex = ++ni; 
    2162            } 
    2163            n = nx; 
    2164        } 
    2165        this.isCleaned = true; 
    2166        return this; 
    2167    }, 
    2168  
    2169      
     2156       while(n){ 
     2157           var nx = n.nextSibling; 
     2158           if(n.nodeType == 3 && !ns.test(n.nodeValue)){ 
     2159               d.removeChild(n); 
     2160           }else{ 
     2161               n.nodeIndex = ++ni; 
     2162           } 
     2163           n = nx; 
     2164       } 
     2165       this.isCleaned = true; 
     2166       return this; 
     2167   }, 
     2168 
     2169 
    21702170    scrollIntoView : function(container, hscroll){ 
    21712171        var c = Ext.getDom(container) || Ext.getBody().dom; 
     
    21852185 
    21862186        if(el.offsetHeight > ch || t < ct){ 
    2187         c.scrollTop = t; 
     2187          c.scrollTop = t; 
    21882188        }else if(b > cb){ 
    21892189            c.scrollTop = b-ch; 
    21902190        } 
    2191         c.scrollTop = c.scrollTop;  
     2191        c.scrollTop = c.scrollTop; 
    21922192        if(hscroll !== false){ 
    2193      if(el.offsetWidth > c.clientWidth || l < cl){ 
     2193      if(el.offsetWidth > c.clientWidth || l < cl){ 
    21942194                c.scrollLeft = l; 
    21952195            }else if(r > cr){ 
     
    22052205    }, 
    22062206 
    2207      
     2207 
    22082208    autoHeight : function(animate, duration, onComplete, easing){ 
    22092209        var oldHeight = this.getHeight(); 
     
    22262226    }, 
    22272227 
    2228      
     2228 
    22292229    contains : function(el){ 
    22302230        if(!el){return false;} 
     
    22322232    }, 
    22332233 
    2234      
     2234 
    22352235    isVisible : function(deep) { 
    22362236        var vis = !(this.getStyle("visibility") == "hidden" || this.getStyle("display") == "none"); 
     
    22482248    }, 
    22492249 
    2250      
     2250 
    22512251    select : function(selector, unique){ 
    22522252        return El.select(selector, unique, this.dom); 
    22532253    }, 
    22542254 
    2255      
     2255 
    22562256    query : function(selector, unique){ 
    22572257        return Ext.DomQuery.select(selector, this.dom); 
    22582258    }, 
    22592259 
    2260      
     2260 
    22612261    child : function(selector, returnDom){ 
    22622262        var n = Ext.DomQuery.selectNode(selector, this.dom); 
     
    22642264    }, 
    22652265 
    2266      
     2266 
    22672267    down : function(selector, returnDom){ 
    22682268        var n = Ext.DomQuery.selectNode(" > " + selector, this.dom); 
     
    22702270    }, 
    22712271 
    2272      
     2272 
    22732273    initDD : function(group, config, overrides){ 
    22742274        var dd = new Ext.dd.DD(Ext.id(this.dom), group, config); 
     
    22762276    }, 
    22772277 
    2278      
     2278 
    22792279    initDDProxy : function(group, config, overrides){ 
    22802280        var dd = new Ext.dd.DDProxy(Ext.id(this.dom), group, config); 
     
    22822282    }, 
    22832283 
    2284      
     2284 
    22852285    initDDTarget : function(group, config, overrides){ 
    22862286        var dd = new Ext.dd.DDTarget(Ext.id(this.dom), group, config); 
     
    22882288    }, 
    22892289 
    2290      
     2290 
    22912291     setVisible : function(visible, animate){ 
    22922292        if(!animate || !A){ 
     
    23202320    }, 
    23212321 
    2322      
     2322 
    23232323    isDisplayed : function() { 
    23242324        return this.getStyle("display") != "none"; 
    23252325    }, 
    23262326 
    2327      
     2327 
    23282328    toggle : function(animate){ 
    23292329        this.setVisible(!this.isVisible(), this.preanim(arguments, 0)); 
     
    23312331    }, 
    23322332 
    2333      
     2333 
    23342334    setDisplayed : function(value) { 
    23352335        if(typeof value == "boolean"){ 
     
    23402340    }, 
    23412341 
    2342      
     2342 
    23432343    focus : function() { 
    23442344        try{ 
     
    23482348    }, 
    23492349 
    2350      
     2350 
    23512351    blur : function() { 
    23522352        try{ 
     
    23562356    }, 
    23572357 
    2358      
     2358 
    23592359    addClass : function(className){ 
    23602360        if(Ext.isArray(className)){ 
    23612361            for(var i = 0, len = className.length; i < len; i++) { 
    2362             this.addClass(className[i]); 
     2362              this.addClass(className[i]); 
    23632363            } 
    23642364        }else{ 
     
    23702370    }, 
    23712371 
    2372      
     2372 
    23732373    radioClass : function(className){ 
    23742374        var siblings = this.dom.parentNode.childNodes; 
    23752375        for(var i = 0; i < siblings.length; i++) { 
    2376         var s = siblings[i]; 
    2377         if(s.nodeType == 1){ 
    2378             Ext.get(s).removeClass(className); 
    2379        
     2376          var s = siblings[i]; 
     2377          if(s.nodeType == 1){ 
     2378              Ext.get(s).removeClass(className); 
     2379         
    23802380        } 
    23812381        this.addClass(className); 
     
    23832383    }, 
    23842384 
    2385      
     2385 
    23862386    removeClass : function(className){ 
    23872387        if(!className || !this.dom.className){ 
     
    23902390        if(Ext.isArray(className)){ 
    23912391            for(var i = 0, len = className.length; i < len; i++) { 
    2392             this.removeClass(className[i]); 
     2392              this.removeClass(className[i]); 
    23932393            } 
    23942394        }else{ 
     
    24082408        classReCache: {}, 
    24092409 
    2410      
     2410 
    24112411    toggleClass : function(className){ 
    24122412        if(this.hasClass(className)){ 
     
    24182418    }, 
    24192419 
    2420      
     2420 
    24212421    hasClass : function(className){ 
    24222422        return className && (' '+this.dom.className+' ').indexOf(' '+className+' ') != -1; 
    24232423    }, 
    24242424 
    2425      
     2425 
    24262426    replaceClass : function(oldClassName, newClassName){ 
    24272427        this.removeClass(oldClassName); 
     
    24302430    }, 
    24312431 
    2432      
     2432 
    24332433    getStyles : function(){ 
    24342434        var a = arguments, len = a.length, r = {}; 
     
    24392439    }, 
    24402440 
    2441      
     2441 
    24422442    getStyle : function(){ 
    24432443        return view && view.getComputedStyle ? 
     
    24872487    }(), 
    24882488 
    2489      
     2489 
    24902490    setStyle : function(prop, value){ 
    24912491        if(typeof prop == "string"){ 
     
    25092509    }, 
    25102510 
    2511      
     2511 
    25122512    applyStyles : function(style){ 
    25132513        Ext.DomHelper.applyStyles(this.dom, style); 
     
    25152515    }, 
    25162516 
    2517      
     2517 
    25182518    getX : function(){ 
    25192519        return D.getX(this.dom); 
    25202520    }, 
    25212521 
    2522      
     2522 
    25232523    getY : function(){ 
    25242524        return D.getY(this.dom);