|
Lines 1-191
Link Here
|
| 1 |
$=["","qx.client","Boolean","auto","qx.event.type.Event","Integer","String","none","string","right",';',"left","mousedown","mshtml","pressed","completed","keydown","bottom","singleton","Number","top","gecko","mouseup","on",".","set","scroll","failed","object","sending","width","height","timeout","aborted",'computed=this.',"abandoned","hidden","function","px","receiving","keypress","0","solid","over","style",'=value;',"Enter",":","other",'this.',"number","abstract","0px","click","absolute","off","100%","center","boolean","active","Left","mouseover","middle","overflow","Right","undefined","qx.ui.core.Widget","div","borderTopWidth","Up","maximized","configured","borderLeftWidth","minWidth","maxWidth","maxHeight","Down","minHeight","position",";","init","frame","load"," ","keyup","Space","interval","qx.event.type.MouseEvent","PageUp","input","Color","CSS1Compat","selected","&","qx.io.remote.Response","error",'</span>','if(this.',"qx.event.type.DataEvent","PageDown","locationX",",",'}',"shorthand","dblclick","mouseout","reset","change","qx.aspects",'"',"both","scrollY","scrollX","locationY","get","]","inherit","vertical",'delete this.',"Object","unstyle","Theme","checked","fixed","changeValue","Control","body","NumLock","execute","Escape","created","unload","horizontal","icon",'!==undefined)',"/","Alt","-","1*","translucent","*","ie4+","Shift","qx.event.type.DragEvent","filter",")","refresh","webkit","mousemove","dragover","Home","qx.ui.popup.ToolTipManager","qx.ui.menu.Manager","marginTop","opera","_","normal","khtml","display","marginLeft","qx.ui.menu.Menu","1px","End","alias","copy","_applyChecked","qx.ui.popup.PopupManager","dotted","qx.event.type.FocusEvent","Delete","groove","double","9","%","A","overflowX","qx.ui.selection.RadioManager","dragstart","static","overflowY","\n","_applyIcon",'return this.','else if(this.',"mousewheel","disabled","qx.event.type.KeyEvent","dashed","Tab","_applyManager","outset","Backspace","inset","appear","?","label","ridge","=","queued","blur","MozOutline","white","resize","Insert","hand","1px dotted invert","_applyResizable","$",'!==undefined){',"_applyValue","fontSize","marginBottom","Unidentified","_manager","outline","paddingTop","widget","left-reversed","this.","contextmenu","changeLocale","top-reversed","textarea","Meta","focused","marginRight","minimized",'=true;',"middle-reversed","center-reversed",'old=this.',"paddingBottom","move","color",": ","qx.event.handler.DragAndDropHandler","focus","PrintScreen","border-box","iframe","opaque","qx.ui.popup.ToolTip","paddingLeft","_applyClip","textAlign","paddingRight","+","safari2","Pause","_labelObject","only_plus","beforeunload","100px","focusin","text","value","_applyLabel","down","short","dragenter","_applyName","changeSelected","qx.ui.embed.IframeManager","qx.deprecationWarnings","justify","focusout","Scroll","_applySelected","=''","changeShow","changeChecked","_applyWrap","disappear",'","',"-moz-scrollbars-vertical"," ","lead","}","bold","Apps","Label","-moz-scrollbars-horizontal","n-resize","windowblur","_timer","dragdrop","Win","_applyTextAlign","qx.resourceUri","g","changeState",'typeof value === "number" && isFinite(value)',"pointer","qx.io.remote.XmlHttpTransport","qx.io.remote.IframeTransport","default","_applyState","_iconObject","lastChild",')',"keyinput","only_minus","_applyEnabled","qx.ui.form.Button","underline","e-resize","qx.ui.core.Parent","_frame",'",value);',"zIndex","Connection dropped","dragout","_childrenQueue","a","_compute","F1","(","addAtEnd","treeClose","appearances","_applyEditable","nowrap","removeAll","cursor","indexOf","qx.application.Gui","Content-Type","addAfter","win","_element","nw-resize","F2","__init$","fontStyle","'","<","_list","styleTop","plus","dragleave","log","borderBottomWidth","parent","_layout","F3","8",":content-box;","6","up","meta","gecko|opera|webkit","padding","nocache","tabIndex","F11","opacity","qx.ui.embed.Flash","styleRight","KhtmlOpacity","unknown","styleLeft","F4","7","windowresize","_applySource","Value",":border-box;","no-cache","MozUserSelect","line","F10","backgroundRepeat","clipHeight","soft","italic","_invalidate",' </div>',"colorRight","Assertion Failure","Pragma","fontWeight",'if(old===computed)return value;',"KhtmlUserSelect","noComputed","F5","4","]);","remove",'else ','<span class="objectBox-number">',"removeChild","treeOpenWhileEmpty","colors","changeSource","alignLeft","character","Ready","barBottom","|","treeOpenWithContent",'";',"colorBottom","beforeDisappear","5","F6","DOMMouseScroll","widthBottom","addAt",'undefined',"CapsLock","#FCE1D8","drag","qx.allowUrlSettings","cross","Array","whiteSpace","qx.io.image.Preloader","toggle","colorTop","2","F7","-khtml-box-sizing","add","]\n","borderRightWidth","page","0 none","qx.enableAspect","Cache-Control","ne-resize","margin","_pane","_recompute","3","F8","&#","(a[","backgroundImage","qx.io.remote.AbstractRemoteTransport","text/css","F9","qx.allowUrlVariants","file:","alignRight","hasComputed","minus","styleBottom","widthRight","before","_applyMenu","dragexit","{","toString","clipTop","qx.ui.pageview.AbstractPage","lazyopaque","static/image/blank.gif","qx.event.type.ChangeEvent"," messages removed)","boxSizing","anchor",'.$$properties.',"qx.log.appender.Native","changeEnabled","addBefore","fonts",'if(computed===undefined)computed=null;',"textDecoration","_applyElement","qx.util.range.IRange","qx.ui.pageview.AbstractButton","draggesture","Function","fontFamily","widthTop","end","first","Margin","v","&",":constructor","event","1","Padding","<br>","icons","addAtBegin","backgroundColor","dragend","qx.client.Command","_blocker","F12","concat","qx.core.Object",'!(',"qx.ui.form.ListItem","MozOpacity","_objects","Z","ignore","__user$","readonly","return this.","qx.ui.window.Window","tree-folder","barTop","changeName","head","qx.ui.window.Manager","slice","qx.io.remote.Exchange","qx.event.handler.FocusHandler","[","WebkitUserSelect","qx.io.remote.Request","removeAt","dragmove","clipLeft",'@import "',"Element","borders",'',"lineHeight","onscroll","widgets","userSelect","();","widthLeft","clipWidth","qx.client.NativeWindow",'if(old===undefined)old=null;',"colorLeft","changeSelection","lastIndexOf","s","\r\n","menu-button-arrow","qx.Class.","_focusHandler","Border",' * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box }',"_applyActive","_valueOriginalTarget","__feedbackWidget","pre","javascript:void(0)","Linux","borderBottomStyle","Font","Use proxy","qx.ui.menu.CheckBox","resizableEast","qx.Interface","qx.ui.tree.TreeFolder",'value !== null && window.document',' <input id="marker" type="button" value="Add divider"/>     Filter: <input name="filter" id="filter" type="text" value="',"qx.ui.form.TextField",')a[i].',"_applyFocusRoot","qx.ui.basic.Inline","_applyAllowClose","Not implemented","localeCompare",' html, body, input, pre{ font-size: 11px; font-family: Tahoma, sans-serif; line-height : 1 }','var inherit=prop.$$inherit;',"Not modified","_applyLocale","text-field","./resource","pixelBottom","menu-layout"," (nightly)","_cachedVisibleChildren","_applyText","qx.html.Dimension","_applyFont","Use getValue() instead!","_applySpacing","Macintosh","_hideTimer","tab-view-pane"," - ","progress","static/html/blank.html","qx.lang.Core","__inherit$","matches","changeBorderTheme","Use removeHtmlProperty instead","radio-button","_applySize","border","resizableNorth","qx.core.Log.debug","this.removeStyleProperty('padding","Partial content","MacPPC","quote","Print","qx.application"," ","__onload","qx.Class","qx.logAppender","qx.event.handler.EventHandler","Win32","qx.iconTheme","forEach","1.0","qx.ui.menu.Separator",' <div id="control">',"autoComplete",' is not (yet) ready!");',"changeElement","key_full_Meta","(measure start) ","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='","Height","qx.version","qx.log.appender.Window","_layoutChanges","changeParent","_applyMarginBottom","_applySelectable","_applyPreloader","qx.bom.element.Dimension","_applyAnchorItem","cursor:","application/x-www-form-urlencoded","extend","Pixel","qx.ui.toolbar.RadioButton","_applyBackgroundImage","firefox","qx.ui.menu.MenuLayoutImpl","n","changeTextColor","borderBottom",'computed=value;',"qx.boxModelCorrection"," WARN: ",'Does not allow any arguments!',"__states",'return value;'," DEBUG: ","complete","_horizontalLayout","changeAnonymous","key_short_NumLock","qx.locale.Manager","key_short_Left","_applyOpen","toolbar-button","qx.io.image.Manager","OmniWeb","_applyMinHeight","[^\\.0-9]","key_short_Right","ms","See other",'!',"-webkit-box-sizing","tree-icon","_data_","_showTimer","qx.net.Http","line-through","qx.ui.form.ComboBox","qx_log_","_captionTitle",'if(!clazz.$$propertiesAttached)qx.core.Property.attach(clazz);',"changeActiveChild","U",']._autoCloseWindow()}catch(e){}">',"_applyShowInterval","var a=arguments[0] instanceof Array?arguments[0]:arguments;",'</div>',"C","Bad gateway",'value !== null && value.$$type === "Mixin"',"_applyBoundToWidget","icon/16/places/folder.png","qx.ui.pageview.AbstractPane","gray","split","_applyBackgroundRepeat","Log window message: Starting error recording, any errors below this line will prevent the log window from closing","list",'=computed;',"qx.ui.popup.Popup","qx.locale.Key","Type","qx.util.format.NumberFormat","replace","qx.ui.menubar.MenuBar","qx.io.Alias","_captionBar","<hr/>","_applyBottom","tab-view-button","_valueRelatedTarget","changeResizeMethod",":constructor wrapper","_closeTimer","_applyRootOpenClose",'value !== null && value.$$type === "Interface"',"qx.Mixin","_applyBorder","beforeAppear",'">',"_applyRight","__cache","_applyMax","_check","o","_indentObject","property","qx.ui.layout.BoxLayout","_applyMaxHeight","Galeon","force","after","userFocus","tab-view-page","parentPaddingBottom","qx.lang.Generics","qx.ui.basic.ScrollBar","key_short_End","warn","changeLeadItem",' <div id="lines">',"client-document-blocker","push","qx.core.Log.error","qx.log.DefaultFilter","qx.util.Normalization","key_full_Win","Log window message: Stopping error recording, discarding ","key_full_Up","key_full_PrintScreen","_selectedItems","hasOwnProperty","qx.ui.basic.Image","_applyColorBottom","_atom","_icons","key_short_Delete","Request-URL too large","Not acceptable","toolbar-part-handle-line","_applyAllowMaximize",'_treeRowStructureFields','typeof value === "number" && isFinite(value) && value%1 === 0',"_applyNumberFormat","_buttonlayout",'!(value instanceof ','value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',"qx.html.Scroll","changeIcon","html,body { margin:0;border:0;padding:0; } ","_applyMin","_applyStretchChildrenOrthogonalAxis","<img style=\"position:absolute;top:0px;left:","pixelHeight","qx.ui.pageview.AbstractBar"," !important","_lastMouseDownDispatchTarget","key_full_Control",'(backup);',"[Mixin ","Tabulator","__all","_applyFocused","lines","qx.ui.tree.Tree",'if(computed===inherit){',"qx.log.Filter","_scrollBar","key_full_Down","Connection closed by server","native","key_full_Alt","PgDn","_applyScrolling","borderTop",'<body onload="qx = opener.qx;" onunload="try{qx.log.WindowAppender._registeredAppenders[',"sort","key_full_Space","qx.ui.pageview.tabview.TabView",' </style>',"safari","scrollbar-blocker","_applyPaddingTop","qx.ui.core.Font","changeEditable","qx.ui.layout.impl.LayoutImpl","_applyCheckValueFunction",';}',"qx.fontTheme","\\\"","unshift","Ins","menu-check-box","Windows","tab-view-bar",'!==undefined&&',"iconSelected","getFirstActiveChild","qx.core.Log.info","Null","changeFont","_applyOverflow",'<iframe name="','value instanceof Date',"/static","borderLeftStyle","window-captionbar-restore-button",'if((computed===undefined||computed===inherit)&&','character',"_applyHideInterval","transparent","_applyReadOnly","BODY","_applyIncrementAmount","qx.ui.form.InputCheckSymbol","changeFocusedChild",'(value);',"changeHtml","changeColorTheme"," errors have been recorded, keeping log window open.</b>","a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));","(passed time: ",">>> ",'_labelObject','<span class="objectBox-function">',"last","_resetRuntime","_handle","qooxdoo","Moved temporarily","_applyButton",' hr { border: 0 none; border-bottom: 1px solid #ccc; margin: 8px 0; padding: 0; height: 1px }','if(clazz.$$includes){var mixins=clazz.$$flatIncludes;','wrap',"scrolling","verticalAlign","substring","[object Error]","match",'#',"https://","destructor","icon/16/status/folder-open.png",'value !== null && value.$$type === "Class"',"_applyAutoSync","ValueExact"," at ",'typeof value === "string" && qx.util.ColorUtil.isValid(value)',"key_short_Backspace","__",'var a=this.getChildren();if(a)for(var i=0,l=a.length;i<l;i++){',"qx.ui.layout.impl.VerticalBoxLayoutImpl","qx.log.appender.HtmlElement","debug","_applyAppearance","_blockerNode","_styleProperties","_applyOpacity","qx.html.Offset","reverseChildrenOrder",",height=","qxvariant",'if(mixins[i].$$constructor){mixins[i].$$constructor.apply(this,arguments);}}}',"Alpha(Opacity=",'Authorization',"charAt","_applyBorderTheme","\\$1","parentPaddingRight","_applyZIndex","')","_aliases","check-box","_applyOpenInterval","window","px\" src=\"",'var backup=computed;',"_applyPaddingLeft","qx.core.LegacyProperty","true","_lastUpDownType",'for(var i=0,l=mixins.length;i<l;i++){',"_applyFontTheme","Please use getKeyIdentifier() instead.","_applyTabIndex",'if(this.classname===',"start_plus","qx.debug",'if(value!==inherit)',"key_short_Scroll","HTTP version not supported",'if(a[i].',"(!this.","font-size:","single","MSXML2.XMLHTTP.4.0","qx.locale.LocalizedString","combo-box-popup","qx.ui.menubar.Button","changeBackgroundColor","changeRight","[Interface ","_translationCatalog","qx.theme.manager.Color","_restoreButton","nodrop","_captionFlex","borderTopStyle","window-captionbar-close-button","__useinit$","changeModal",'Undefined value is not allowed!',"Interface","__actions","window-statusbar","qx.bom.element.Style",'Is invalid!',"colorInnerBottom","id","netnewswire","qx.ui.layout.HorizontalBoxLayout","': ",">","client-document","borderRightStyle","changeMoveMethod","X-Qooxdoo-Response-Type","key_short_Space",'</span></td>',"_markerBtn","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","_applyMaxLength","Firefox","-moz-box-sizing","img","_showTimeStamp","_field","Gray() Alpha(Opacity=30)","_htmlAttributes",'){',"qx.application.IApplication","key_short_CapsLock","qx.minLogLevel","anonymous: ","MozBoxSizing"," (#","Use getUseDoubleClick instead","_closeButtonImage","spinner-button-down","tree-element-label","0.0","info","__onmouseevent","key_full_Scroll","=((v==null)?0:v)+'px'","_valueDomEvent","qx.io.remote.RequestQueue","_applyColorInnerBottom","qx.ui.toolbar.CheckBox","_applyLeft","window-captionbar","_borderElement","[object ","_maximizeButton","qx.appearanceTheme","Server timeout","__onwindowblur","clip","Mozilla","Log window message: <b>Note: ","_applyCloseInterval","dir",'</span></td></tr>',"Server error",'var prop=qx.core.Property;',"changeBottom","width=500,height=250,dependent=yes,resizable=yes,status=no,location=no,menubar=no,toolbar=no,scrollbars=no",'<table>',"qx.ui.resizer.IResizable","Del","_mouseEvent","_layoutImpl","_applyShowCloseButton","_cached","0px none",'<span class="selectorId">#',')prop.error(this,5,"',"qx.theme.manager.Icon","qx.core.Version","Num","_openTimer","tree-folder-icon","toLocaleUpperCase",' <span class="nodeName">','\", "',"Width","qx.theme.manager.Border","pixelWidth","_applyVerticalChildrenAlign","group-box","__manager","qx.log.Logger","key_full_PageDown"," [not readable: ","key_full_Escape","ae","explorer","_computed","_applyShowClose","tab-view","_applyTheme","0x","__key","_requestHeaders"," ms) ","_applyPage","omniweb",'-','!==inherit){',"changeOpen","changeFocused","changeTheme","qx.eventMonitorNoListeners","key_short_Insert",'X',"end_minus","getLastActiveChild",'value !== null && (qx.locale.Manager.getInstance().isDynamic(value) || typeof value === "string")',"_fields","_applyIconWidth","_lastMouseEventDate","_statusBar","_queue","_applyGlobalCursor","_applyStyleBottom","MaxWidth","image","qx.core.Package","_applyInterval","galeon","join","removeDom","qx.ui.resizer.MResizable","qx.html.StyleSheet","_appenderArr","AppleWebKit","Legacy properties are deprecated","Use setHtmlProperty instead","_remappingChildTable","toolbar=no,scrollbars=no,resizable=yes,","qx.ui.core.ClientDocument","qx.util.manager.Object","right-reversed","toolbar-part-handle","qx.ui.form.RadioButton",">","other gecko","form","qx.util.Compare","no","resizer-frame","qx.ui.groupbox.GroupBox","qx.ui.basic.Atom","Percent","window-captionbar-icon","_applyBackgroundColor","combo-box-button","_applyCaption","qx.colorTheme","http://",'.classname)this.$$initialized=true;',"menu-radio-button","_applyResponseType","_valueData",'else{',"key_full_Enter","qx.core.Init","_applyHorizontalChildrenAlign","Ae",'<span class="selectorTag">',"Conflict",'#lines { width: 100%; height: expression((document.body.offsetHeight - 30) + "px"); }',"changeCapture","map","O","__theme$","_applyShowMaximize",'value !== null && value.nodeType !== undefined',"_filterArr",'></iframe>',"Ctrl","key_short_Home","rgb(",'computed=undefined;delete this.',"RealPlayer","_lastMouseEventType","font-style:","qx.core.Log.assert","_applyMarginTop","_applyHoverItem","Microsoft.XMLHTTP",'return retval;',"_applyVisibility",'if(computed===undefined||computed===inherit){',"splice","qx.theme.ClassicRoyale","_applyMaxWidth",'typeof value === "string"',"changeZIndex",'if(value!==null)',"--- Object: ",'typeof value === "string" && value.length > 0',"_applyActiveWindow","popup","_hideTimeStamp","Unknown status code","key_","create","Not available","_inlineEvents","_applyIconTheme","_applyWidthRight","qx.lang.Object","_window","key_short_PageDown","_upbutton","member","key_full_Tab",'throw new Error("Property ',"visibility","_applyStatus",'value !== null && qx.theme.manager.Border.getInstance().isDynamic(value)',"MacIntel","spinner-button-up","No content","changeMode","_applyFocusHandler","qx.core.Log.log","z","Top","qx.core.Log.warn","command","qx.ui.form.Spinner","This method is no longer needed since the event object is now an instance of the Response class.","_applyDisplay","_document","styleFloat","_attachedWidget","qx.ui.tree.SelectionManager","valueOf","__user$excludeSpecificTreeLines","start_minus","_applyShowStatusbar","mozBoxSizing",'name="',"form_","qx.dom.String","ue","qx.io.remote.ScriptTransport","_applyHtml","unix","changeFontTheme",'<span class="objectBox-null">',"body {}","type","qx.ui.form.PasswordField","search","key_short_Down","qx.core.Aspect"," errors.","mac","qx.ui.core.Border",'Requires exactly one argument!',"_divDataSets","toolbar",'if(value===null)prop.error(this,4,"',"_widget","Parsed","_previousParentFolder","qx.bom.Document",'Basic ',"qx.ui.toolbar.ToolBar","window-captionbar-maximize-button",'value !== null && value.$$type === "Theme"',"key_short_Tab","_lastKeyCode",' pre { margin: 0; padding: 4px 8px; font-family: Consolas, "Bitstream Vera Sans Mono", monospace; }',"MSIE","Forbidden","qx.html.Entity","_applyCaptureWidget","anonymous","_lastMouseDown",'</span>="<span class="nodeValue">',"cssFloat","toolbar-part","qx.ui.tree.TreeRowStructure",'Referer','!(value && qx.Class.hasInterface(value.constructor, ',"qx.ui.basic.Label",".gif","qx.ui.basic.ScrollArea","Use getUseTreeLines instead","[Theme ","_popup","Proxy authentication required","qx.ui.popup.PopupAtom","group-box-legend","beforeInsertDom","_applyAutoCloseWithErrors","_legendObject","qx.io.image.PreloaderSystem","Use getHideNode instead","qx.html.EventRegistration","_innerStyle","icon/16/actions/document-new.png","verticalChildrenAlign","qx.html.Window","qx.bom.element.Location","Ue","_applyStyleRight",'===value)return value;',"-1","Object is null","<html><head><title>","=[not readable: ","end_plus"," in method ","qx.ui.basic.Terminator","_applyColorRight","__dragCache","_iframeNode","_applyWidthBottom",'if(value===undefined)prop.error(this,2,"',"#FEF0D2","_oldParent","key_short_Up","_applyItalic","key_full_Insert",'value=this.',"_statusText","_formFields","tree",'<span class="objectBox-selector">',"menu-button","_minimizeButton","qx.ui.selection.SelectionManager","_active","qx.ui.tree.AbstractTreeElement","_applyAllowMinimize","MSXML2.XMLHTTP.3.0","_applyHideFocus","progid:DXImageTransform.Microsoft.Shadow(color='Gray', Direction=135, Strength=4)","qx.ui.embed.HtmlEmbed","_applyLeadItem","bottom-reversed","commandLine","_applyImplementation","qx.core.Log.dir","qx.core.MUserData",'value instanceof RegExp',"_logEventQueue","toolbar-separator-line","qx.event.type.DomEvent","<pre>Could not execute json: \n","__ondragevent","_valueOldValue","_applyLoaded","())","qx.util.range.Range","_applyParent","qx.core.Variant","qx.core.Target",""","/source/class/","__listeners","beforeRemoveDom","frame_","_applyMarginLeft","Request entity too large","qx.html.Location","Gecko","qx.log.LogEventProcessor","_closeButton","pixelTop","'",' of an instance of ',"text-decoration:","_applyShow","_applyFocusedChild",'<div class="objectBox-element">',"changeWidth","changeAnchorItem","password","key_short_Alt","_parentLogger",' #lines{ top: 30px; left: 0; right: 0; bottom: 0; position: absolute; overflow: auto; }',"qx.lang.Array","_applyColorLeft",'</div><div class="objectBox-element"></<span class="nodeTag">',"toLocaleLowerCase","KDE","_children","Esc","qx.ui.pageview.tabview.Pane","yes","_applyMethod","_modify","qx.ui.pageview.tabview.Page","</title></head>","every","\\\\","addChild","changeValidator","__font","qx.util.Mime","_change","box-sizing","_applyIconPosition","changeDisplay","_applyWidth","_applyColorInnerRight",'/></div>',"changeMaxHeight","qx.locale.MTranslation","changeMinHeight",'return null;',"unselectable","Caps","qx.ui.layout.CanvasLayout","spinner","_remappingChildTarget","_applyWidgetTheme","html { border:0 none; } ","cursor-dnd-","_image","', ((v==null)?0:v)+'px')","atom","_value",'_indentObject',"qx.preloaderTimeout","changeShowCloseButton","shift","qx.theme.manager.Appearance","parentPaddingLeft","org.w3c.dom.svg","Current stack trace",'Null value is not allowed!','<iframe onload="parent.qx.ui.embed.Iframe.load(this)"',"pixelLeft","toolbar-separator","file://","qx.event.handler.KeyEventHandler","key_full_Shift","Request time-out","Bad request","key_full_NumLock"," with incoming value '","menu-separator","key_full_End","link",'Could not change or apply init value after constructing phase!',"  ","qxsetting","orientation","changeOverflow","qx.ui.toolbar.Part","__stateMap","_applyCurrentToolTip",'value instanceof Function',"_htmlProperties","...","__intervalHandler","qx.ui.menu.ButtonLayoutImpl","_req","qx.log.appender.FireBug","parseerror","_valueCurrentTarget","qx.core.Log.dirxml","__oninput","_applySpellCheck","window-statusbar-text","width=","toLowerCase",'<span class="objectBox-string">"',"key_full_Delete"," of class ","icon/16/actions/dialog-cancel.png","cross_plus","_applyMinWidth","\" />","Multiple choices","Win64","changeIconTheme","_applyCommand","menu-separator-line","w","qx.ui.menu.Button","qx.html.Iframe","PgUp",'", computed, old);',"borderRight",",top=","_applyAlignTabsToLeft","1px 0",'value !== null && typeof value === "object"','value instanceof Array',"_applyFrameName","_applyAlwaysShowPlusMinusSymbol",'<tr>',"changeWindowManager","__visible","qx.ui.layout.impl.HorizontalBoxLayoutImpl","key_full_Apps","name","_filterTextWords",",left=","_applyTextColor","changeCaption","e","_applyColorInnerTop","pixelRight","_applyMaximum","} ","MozUserFocus","qx.theme.manager.Widget","_applyMarginRight","_applyStyleLeft","Flex","key_full_Pause","font-family:",'var computed, old=this.',"_applyHeight","qx.core.Log","key_full_PageUp",' html, body{ padding: 0; margin: 0; border : 0 none; }',"_modalNativeWindow","_isErroneous","resizableWest","[Class ","resizer","_applyWidthTop","_style","changeLeft","_valueDomTarget","changeTop","__cursors","menu","__onselectevent","Payment required","font-weight:","_bar",'</span>"',"constructor","qx.ui.resizer.ResizablePopup",'<span class="objectBox-object">',"this.setStyleProperty('padding","windowfocus",':',"BSD","qx.core.Log.clear","qx.ui.menu.Layout","konqueror","changeMoveable","qx.Theme","qx.ui.pageview.tabview.Bar","gif","_applyHideNode","_applyUseTreeLines","_valueValue","Moved permanently","_applyShortcut","changeStatus","qx.ui.toolbar.MenuButton","_captionIcon","_parameters",'"</span>',"qx.util.Validation","qx.util.ColorUtil","_valueTarget","-resize","borderLeft","cross_minus","changeActive","_arrowObject","horizontalChildrenAlign"," INFO: ","_applyShowCaption","_applyTop","changeGlobalCursor",'<td class="propertyNameCell"><span class="propertyName">',"()","key_short_PrintScreen","MSHTML-specific HTTP status code","toUpperCase","_button",'var pa=this.getParent();if(pa)computed=pa.',"_applyDestinationWidget","_dynamic"," logRow-","firstChild","reverse","changeHeight","ss","X-Requested-With","qx.theme","qx.ui.selection.Selection","spinner-text-field","insertDom","oe","_applyFamily","combo-box","key_short_Enter","stretchChildrenOrthogonalAxis","tree-folder-label","window-captionbar-minimize-button","qx.borderTheme",'value !== null && value.type !== undefined',"combo-box-text-field","Error: Could not get a reference to the sheet object",'value !== null && value.nodeType === 1 && value.attributes',"Not found",'value !== null && typeof value === "object" && !(value instanceof Array) && !(value instanceof qx.core.Object)',"_applyShowMinimize","qx.ui.embed.Iframe","_applyShowIcon",'(computed, old);',"changeAppearance",'</table>',"qx.ui.pageview.AbstractPageView","is","tree-element-icon",'()</span>','value !== null && value.nodeType === 9 && value.documentElement',"Gone","#FFEEEE","\n</pre>","Unauthorized","_applyPaddingBottom",".apply(this._remappingChildTarget, arguments)","You can only specify one non modifier key!","_registry","closetab","*{","action","_applyOrientation","qx.ui.toolbar.PartHandle","qx.log.MLogging",'old=computed=this.',"_applyColorTheme","qx.core.Client","qx.ui.toolbar.Separator","qx.theme.manager.Meta","changeSpacing","key_short_Apps","key_short_Win","_applyIconHeight",'<<span class="nodeTag">',"shiira",'===undefined)return;',"_applyActiveChild","substr","MaxHeight",'<span class="selectorClass">.',"null","_modalWidgets","qx.dom.Node","_applyCursor","__storage","changeVisibility","__lastDestinationEvent","colorInnerTop","realplayer","other webkit","_lastMouseDownDomTarget","_isPng","_applyUseAdvancedFlexAllocation","text-area","dirxml","list-item"," ---\n","qx.html.String",'))',"_filterInput","key_full_Home",'var retval=clazz.$$original.apply(this,arguments);',"camino",' #control { top: 0; left: 0; right: 0; padding: 4px 8px; background: #eee; border-bottom: 1px solid #ccc; height: 30px }',"__data","qx.ui.core.ClientDocumentBlocker"," ERROR: ","u","activeX","qx.client.Timer","[object Object]","qx.lang.Function","Out of resources","qx.dev.StackTrace","qx.core.Setting","qx.ui.menu.RadioButton","_applyModal","_globalCursorStyleSheet","_line","Oe","/static/log/log.html","Method not allowed","_applyAppearanceTheme","content-box","Ok",'if(','value instanceof Error','anonymous',"Unsupported media type","#F1FBF3","key_full_Left","qx.core.Property","qx.ui.form.List","Precondition failed","changeMenu","combo-box-list","__borderObject","_form","Error in property ","<","_applyProhibitCaching","_applyType","MinWidth","this._style.","_applyExcludeSpecificTreeLines","tree-label","_applyStyleTop","getFirstChild","marker",'"></iframe>',"window-captionbar-title"," (r","Gateway time-out","resizableSouth","html",'else if(computed===undefined)',"qx.core.Log.timeEnd",'></div><div class="nodeChildren">',"qx.widgetTheme","spacing","__modifier","X-Qooxdoo-Version","Alpha(Opacity=0)","-moz-scrollbars-none",'else this.',"_textfield","visible","Bottom","initial","qx.core.Log.time","colorInnerLeft","_applyOpenItem"," FATAL: ","Safari","hideFocus","MSXML2.XMLHTTP.6.0","_applyDisabledIcon","_applyPaddingRight","changeBorder",'></span></div>',"en","__userData","beforeInitialOpen","Length required","_applyWidthLeft","--- End of object ---","qx.isSource","_logLinesDiv","logRow",'var clazz=arguments.callee.constructor;',"_inputElement","__onwindowresize","changeCurrentAction","changeMinWidth",'var computed, old;','}else{',"stylesheet","_isCreated",'<td><span class="propertyValue">',"qx.util.manager.Value","qx.core.Bootstrap","toLocaleString","_shortcutObject","parentPaddingTop","horizontalAlign","qx.enableApplicationLayout","_jobQueue","key_short_Escape","some",'</body></html>',"_containerObject","StringExact","qx.ui.toolbar.Button","Not a valid key name for a command: ",'typeof value === "boolean"',"changeDirection","Mixin","charCodeAt","qx.net.HttpRequest","qx.lang.Number","box","',sizingMethod='scale')","[\xE4\xF6\xFC\xDF\xC4\xD6\xDC]","changeTabIndex","qx.lang.String","_renderRuntime","_applyCapture","_appender",'.checkMap[value]===undefined','.check.call(this, value)',"tool-tip","overline","getLastChild","qx.html.ScrollIntoView","key_short_Meta","_applyReverseChildrenOrder","key_short_PageUp","key_short_Pause","_applyDecoration","qx.widgetDebugId","!isNaN(value)&&value>=this.getMin()&&value<=this.getMax()","rect(","colorInnerRight","_isLoaded","_downbutton","MSXML2.XMLHTTP","_applyCloseButtonImage","_items","__onwindowfocus","qx.ui.layout.VerticalBoxLayout","_applyPlaceBarOnTop","full","Auto","pop","BackgroundImageCache","isPrototypeOf","qx.ui.form.CheckBox","qx.application.Basic","X11",'_iconObject',"NetNewsWire","qx.compatibility","_applyColorInnerLeft","qx.ui.form.TextArea","qx.bom.Viewport","key_full_Right","group-box-frame","url(","img{","button","key_full_Backspace","_applyBold","changeWidgetTheme",' <pre id="log" wrap="wrap"></pre>','this.createDispatchChangeEvent("',"_applyColorTop","html,body{width:100%;height:100%;overflow:hidden;}","changeOpenMenu","qx.log.appender.Abstract","qx.html.Style","_scrollContent","qx.locale.Locale","_checkValue","useAdvancedFlexAllocation","return this._remappingChildTarget.","changeOrientation","key_short_Shift","qx.ui.pageview.tabview.Button","__oninterval","key_short_Control","qx.ui.basic.HorizontalSpacer","Shiira","qx.theme.manager.Font","changeMaxWidth","MinHeight","key_full_CapsLock","qx.io.image.PreloaderManager","Camino","qx.ui.layout.impl.CanvasLayoutImpl","qx.ui.tree.TreeFile","_commands","_applyMode","tree-element",' <style type="text/css">','<div class="nodeText">',"_frameObject","changeAppearanceTheme"," ["];if(!window.qxsettings)qxsettings={};if(qxsettings["qx.theme"]==undefined)qxsettings["qx.theme"]="org.eclipse.swt.theme.Default";if(qxsettings["qx.logAppender"]==undefined)qxsettings["qx.logAppender"]="qx.log.appender.Native";if(qxsettings["qx.version"]==undefined)qxsettings["qx.version"]="0.7.3 (r11170)";if(qxsettings["qx.isSource"]==undefined)qxsettings["qx.isSource"]=false;if(!window.qxvariants)qxvariants={};qxvariants["qx.compatibility"]="off";qxvariants["qx.debug"]="off";qx={Class:{createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}$3[$4]=$1;return $4;},define:function($0,$1){if(!$1){var $1={statics:{}};}this.createNamespace($0,$1.statics);if($1.defer){$1.defer($1.statics);}qx.core.Bootstrap.__registry[$0]=$1.statics;}}};qx.Class.define($[1694],{statics:{LOADSTART:new Date,time:function(){return new Date().getTime();},since:function(){return this.time()-this.LOADSTART;},__registry:{}}}); |
1 |
$=["","qx.client","Boolean","auto","qx.event.type.Event","Integer","String","string","none","right",';',"left","keydown","mshtml","mousedown","pressed","gecko","completed","bottom","scroll","singleton","Number","hidden","top",".","mouseup","on","set","object","failed","width","height",'computed=this.',":","timeout","abandoned","aborted","keypress","function","sending","px","solid",";","receiving","over","0","overflow","style",'=value;',"Enter","other",'this.',"number","abstract","boolean","0px","click","borderTopWidth","absolute","off","100%","center","borderLeftWidth","active","Left","mouseover","middle","Right","undefined","qx.ui.core.Widget","div","Up","maximized","configured","minWidth","maxWidth","interval","maxHeight","Down","minHeight","position","init","frame","load"," ","keyup","Space","qx.event.type.MouseEvent","PageUp","input","Color","CSS1Compat","selected","&","webkit","error",'</span>','if(this.',"qx.event.type.DataEvent","/","PageDown","locationX",",",'}',"shorthand","dblclick","mouseout","qx.io.remote.Response","reset","change","qx.aspects","overflowX",'"',"overflowY","Escape","both","scrollY","scrollX","locationY","get","]","inherit","vertical",'delete this.',"Object","unstyle","Theme","checked","fixed","changeValue","Control","body","NumLock","execute","created","unload","horizontal","opera","icon",'!==undefined)',"Alt","-","1*","translucent","*","ie4+","Shift","qx.event.type.DragEvent","filter",")","refresh","mousemove","dragover","Home","qx.ui.popup.ToolTipManager","qx.ui.menu.Manager","marginTop","_","normal","display","marginLeft","qx.ui.menu.Menu","1px","-moz-scrollbars-none","End","alias","copy","_applyChecked","qx.ui.popup.PopupManager","dotted","qx.event.type.FocusEvent","Delete","groove","double","9","%","A","qx.ui.selection.RadioManager","dragstart","static","\n","_applyIcon",'return this.','else if(this.',"mousewheel","disabled","qx.event.type.KeyEvent","dashed","Tab","_applyManager",": ","outset","Backspace","inset","appear","?","label","ridge","=","+","queued","blur","white","resize","Insert","hand","text","_applyResizable","$",'!==undefined){',"_applyValue","fontSize","marginBottom","paddingLeft","Unidentified","_manager","outline","paddingTop","widget","left-reversed","this.","contextmenu","changeChecked","changeLocale","top-reversed","textarea","Meta","focused","marginRight","minimized",'=true;',"middle-reversed","boxSizing","center-reversed",'old=this.',"paddingBottom","box-sizing","move","color","qx.event.handler.DragAndDropHandler","focus","PrintScreen","border-box","iframe","opaque","_applyClip","textAlign","paddingRight","qx.ui.popup.ToolTip","safari2","Pause","_labelObject","only_plus","beforeunload","100px","focusin","value","_applyLabel","borderBottomWidth","short","padding","dragenter","_applyName","changeSelected","qx.ui.embed.IframeManager","unknown","qx.deprecationWarnings","justify","focusout","Scroll","_applySelected","=''","changeShow","_applyWrap","disappear",'","',"-moz-scrollbars-vertical"," ","lead","}","bold","borderRightWidth","Apps","Label","-moz-scrollbars-horizontal","n-resize","windowblur","_timer","dragdrop","Win","_applyTextAlign","qx.resourceUri","g","changeState",'typeof value === "number" && isFinite(value)',"pointer","qx.io.remote.XmlHttpTransport","Function","qx.io.remote.IframeTransport","default","_applyState","_iconObject","lastChild",')',"keyinput","only_minus","_applyEnabled","qx.ui.form.Button","underline","e-resize","qx.ui.core.Parent","_frame",'",value);',"down","html","zIndex","Connection dropped","dragout","_childrenQueue","a","_compute","F1","(","addAtEnd","treeClose","appearances","_applyEditable","nowrap","removeAll","cursor","indexOf","qx.application.Gui","Content-Type","addAfter","win","_element","nw-resize","F2","__init$","fontStyle","[^\\.0-9]","-webkit-box-sizing","'","<","_list","styleTop","plus","dragleave","log","parent","_layout","F3","8",":content-box;","6","up","meta","gecko|opera|webkit","nocache","tabIndex","F11","opacity","qx.ui.embed.Flash","overflow:","styleRight","styleLeft","F4","7","windowresize","_applySource","Value",":border-box;","no-cache","MozUserSelect","line","F10","backgroundRepeat","clipHeight","soft","italic","_invalidate",' </div>',"colorRight","Assertion Failure","Pragma","fontWeight",'if(old===computed)return value;',"KhtmlUserSelect","noComputed","F5","4","]);","remove",'else ','<span class="objectBox-number">',"-moz-box-sizing","removeChild","treeOpenWhileEmpty","colors","changeSource","alignLeft","character","Ready","barBottom","|","treeOpenWithContent",'";',"colorBottom","beforeDisappear","5","F6","DOMMouseScroll","qx.staticUri","widthBottom","addAt",'undefined',"CapsLock","#FCE1D8",'_on',"drag","qx.allowUrlSettings","cross","Array","whiteSpace","qx.io.image.Preloader","toggle","colorTop","2","1px dotted","F7","-khtml-box-sizing","add","]\n","page","0 none","qx.enableAspect","Cache-Control","ne-resize","margin","_pane","_recompute","3","F8","&#","(a[","backgroundImage","qx.io.remote.AbstractRemoteTransport","text/css","F9","qx.allowUrlVariants","file:","alignRight","hasComputed","minus","styleBottom","widthRight","before","_applyMenu","dragexit","{","toString","clipTop","qx.ui.pageview.AbstractPage","lazyopaque","static/image/blank.gif","qx.event.type.ChangeEvent"," messages removed)","anchor",'.$$properties.',"qx.log.appender.Native","changeEnabled","addBefore","fonts",'if(computed===undefined)computed=null;',"Gecko","textDecoration","_applyElement","qx.util.range.IRange","_objects","qx.ui.pageview.AbstractButton","draggesture","fontFamily","widthTop","end","first","Margin","v","&",":constructor","event","1","Padding","<br>","icons","addAtBegin","backgroundColor","dragend","qx.client.Command","_blocker","F12","concat","qx.core.Object",'!(',"qx.ui.form.ListItem","MozOpacity","Z","ignore","__user$","readonly","return this.","qx.ui.window.Window","tree-folder","barTop","changeName","head","qx.ui.window.Manager","slice","qx.io.remote.Exchange","qx.event.handler.FocusHandler","[","WebkitUserSelect","qx.io.remote.Request","removeAt","dragmove","clipLeft",'@import "',"Element","borders",'',"lineHeight","onscroll","widgets","userSelect","();","widthLeft","clipWidth","qx.client.NativeWindow",'if(old===undefined)old=null;',"qx.isSource","colorLeft","changeSelection","lastIndexOf","s","\r\n","menu-button-arrow","qx.Class.","Internet name not resolved","_focusHandler","Border",' * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box }',"_applyActive","_valueOriginalTarget","__feedbackWidget","pre","javascript:void(0)","Linux","borderBottomStyle","Font","Use proxy","qx.ui.menu.CheckBox","resizableEast","qx.Interface","qx.ui.tree.TreeFolder",'value !== null && window.document',' <input id="marker" type="button" value="Add divider"/>     Filter: <input name="filter" id="filter" type="text" value="',"qx.ui.form.TextField",')a[i].',"_applyFocusRoot","qx.ui.basic.Inline","_applyAllowClose","Not implemented","localeCompare",' html, body, input, pre{ font-size: 11px; font-family: Tahoma, sans-serif; line-height : 1 }','var inherit=prop.$$inherit;',"Not modified","_applyLocale","text-field","_image","./resource","pixelBottom","menu-layout"," (nightly)","_cachedVisibleChildren","_applyText","qx.html.Dimension","_applyFont","Use getValue() instead!","_applySpacing","iPod","Macintosh","_hideTimer","tab-view-pane"," - ","progress","static/html/blank.html","Gray() Alpha(Opacity=30)","__inherit$","matches","changeBorderTheme","Use removeHtmlProperty instead","radio-button","_applySize","qx.bom.client.Engine","border","resizableNorth","qx.core.Log.debug","this.removeStyleProperty('padding","Partial content","MacPPC","quote","Print","qx.application"," ","__onload","DEBUG","qx.Class","qx.logAppender",'failed',"qx.event.handler.EventHandler","Win32","qx.iconTheme","forEach","1.0","qx.ui.menu.Separator",' <div id="control">',"autoComplete",' is not (yet) ready!");',"changeElement","key_full_Meta","(measure start) ","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='","Height","qx.version","qx.log.appender.Window","_layoutChanges","changeParent","_applyMarginBottom","_applySelectable","_applyPreloader","_applyAnchorItem","cursor:","application/x-www-form-urlencoded","extend","Pixel","qx.ui.toolbar.RadioButton","_applyBackgroundImage","firefox","qx.ui.menu.MenuLayoutImpl","n","changeTextColor","borderBottom",'computed=value;',"qx.boxModelCorrection"," WARN: ",'Does not allow any arguments!',"__states",'return value;'," DEBUG: ","complete","_horizontalLayout","changeAnonymous","key_short_NumLock","qx.locale.Manager","key_short_Left","_applyOpen","toolbar-button","qx.io.image.Manager","OmniWeb","_applyMinHeight","key_short_Right","ms","See other",'!',"tree-icon","_data_","_showTimer","qx.net.Http","line-through","qx.ui.form.ComboBox","qx_log_","_captionTitle",'if(!clazz.$$propertiesAttached)qx.core.Property.attach(clazz);',"changeActiveChild","U","_applyShowInterval","var a=arguments[0] instanceof Array?arguments[0]:arguments;",'</div>',"C","\n\nClick OK to continue debugging.","Bad gateway",'value !== null && value.$$type === "Mixin"',"_applyBoundToWidget","icon/16/places/folder.png","qx.ui.pageview.AbstractPane","gray","split","_applyBackgroundRepeat","Log window message: Starting error recording, any errors below this line will prevent the log window from closing","list",'=computed;',"qx.ui.popup.Popup","qx.locale.Key","Type","qx.util.format.NumberFormat","replace","qx.ui.menubar.MenuBar","qx.io.Alias",']._autoCloseWindow()}catch(ex){}">',"_captionBar","<hr/>","_applyBottom","tab-view-button","changeResizeMethod",":constructor wrapper","_closeTimer","_applyRootOpenClose",'value !== null && value.$$type === "Interface"',"qx.Mixin","_applyBorder","beforeAppear",'">',"_applyRight","__cache","_applyMax","_check","o","_indentObject","property","qx.ui.layout.BoxLayout","_applyMaxHeight","Galeon","force","after","userFocus","tab-view-page","parentPaddingBottom","qx.lang.Generics","qx.ui.basic.ScrollBar","key_short_End","warn","changeLeadItem",' <div id="lines">',"client-document-blocker","push","qx.core.Log.error","qx.log.DefaultFilter","qx.util.Normalization","key_full_Win","Log window message: Stopping error recording, discarding ","key_full_Up","key_full_PrintScreen","_selectedItems","hasOwnProperty","qx.ui.basic.Image","_applyColorBottom","_atom","_icons","key_short_Delete","qx.bom.element.BoxSizing","Request-URL too large","Not acceptable","toolbar-part-handle-line","_applyAllowMaximize",'_treeRowStructureFields','typeof value === "number" && isFinite(value) && value%1 === 0',"_applyNumberFormat","_buttonlayout",'!(value instanceof ','value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',"qx.html.Scroll","changeIcon","html,body { margin:0;border:0;padding:0; } ","_applyMin","_applyStretchChildrenOrthogonalAxis","<img style=\"position:absolute;top:0px;left:","pixelHeight","qx.ui.pageview.AbstractBar"," !important","_lastMouseDownDispatchTarget","key_full_Control",'(backup);',"[Mixin ","Tabulator","__all","_applyFocused","lines","qx.ui.tree.Tree",'if(computed===inherit){',"qx.bom.element.Overflow","qx.log.Filter","_scrollBar","key_full_Down","Connection closed by server","native","key_full_Alt","PgDn","_applyScrolling","borderTop",'<body onload="qx = opener.qx;" onunload="try{qx.log.WindowAppender._registeredAppenders[',"cursor-dnd-","sort","key_full_Space","qx.ui.pageview.tabview.TabView","AppleWebKit/",' </style>',"safari","scrollbar-blocker","_applyPaddingTop","qx.ui.core.Font","changeEditable","qx.ui.layout.impl.LayoutImpl","_applyCheckValueFunction",';}',"qx.fontTheme","Server error","\\\"","unshift","Ins","menu-check-box","Windows","tab-view-bar",'!==undefined&&',"iconSelected","getFirstActiveChild","qx.core.Log.info","Null","changeFont","_applyOverflow",'<iframe name="','value instanceof Date',"/static","borderLeftStyle","window-captionbar-restore-button",'if((computed===undefined||computed===inherit)&&','character',"_applyHideInterval","transparent","_applyReadOnly","BODY","_applyIncrementAmount","qx.ui.form.InputCheckSymbol","changeFocusedChild",'(value);',"changeHtml","changeColorTheme"," errors have been recorded, keeping log window open.</b>","a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));","(passed time: ",">>> ",'_labelObject','<span class="objectBox-function">',"last","_resetRuntime","_handle","qooxdoo","Moved temporarily","_applyButton",' hr { border: 0 none; border-bottom: 1px solid #ccc; margin: 8px 0; padding: 0; height: 1px }','if(clazz.$$includes){var mixins=clazz.$$flatIncludes;','wrap',"scrolling","verticalAlign","substring","[object Error]","match",'#',"https://","destructor","icon/16/status/folder-open.png",'value !== null && value.$$type === "Class"',"_blocked","_applyAutoSync","ValueExact"," at ",'typeof value === "string" && qx.util.ColorUtil.isValid(value)',"_blockData","key_short_Backspace","__",'var a=this.getChildren();if(a)for(var i=0,l=a.length;i<l;i++){',"qx.ui.layout.impl.VerticalBoxLayoutImpl","qx.log.appender.HtmlElement","debug","_applyAppearance","_blockerNode","_styleProperties","_applyOpacity","qx.html.Offset","reverseChildrenOrder",",height=","qxvariant",'if(mixins[i].$$constructor){mixins[i].$$constructor.apply(this,arguments);}}}',"Alpha(Opacity=",'Authorization',"key_full_Apps","_applyBorderTheme","\\$1","parentPaddingRight","_applyZIndex","')","_aliases","check-box","_applyOpenInterval","window","px\" src=\"",'var backup=computed;',"_applyPaddingLeft","qx.core.LegacyProperty","true","_lastUpDownType",'for(var i=0,l=mixins.length;i<l;i++){',"_applyFontTheme","Please use getKeyIdentifier() instead.","_applyTabIndex",'if(this.classname===',"start_plus","qx.debug","https:",'if(value!==inherit)',"key_short_Scroll","HTTP version not supported",'if(a[i].',"(!this.","font-size:","single","MSXML2.XMLHTTP.4.0","qx.locale.LocalizedString","combo-box-popup","qx.ui.menubar.Button","changeBackgroundColor","changeRight","[Interface ","_translationCatalog","qx.theme.manager.Color","_restoreButton","nodrop","_captionFlex","borderTopStyle","stylesheet","__useinit$","changeModal",'Undefined value is not allowed!',"Interface","__actions","window-statusbar","qx.bom.element.Style","overflow-x",'Is invalid!',"colorInnerBottom","id","netnewswire","qx.ui.layout.HorizontalBoxLayout","': ",">","client-document","borderRightStyle","changeMoveMethod","X-Qooxdoo-Response-Type","key_short_Space",'</span></td>',"_markerBtn","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","_applyMaxLength","Firefox","img","_showTimeStamp","_field","qx.lang.Core","_htmlAttributes",'){',"qx.application.IApplication","key_short_CapsLock","qx.minLogLevel","anonymous: ","MozBoxSizing"," (#","Use getUseDoubleClick instead","_closeButtonImage","spinner-button-down","tree-element-label","0.0","info","__onmouseevent","key_full_Scroll","=((v==null)?0:v)+'px'","_valueDomEvent","qx.io.remote.RequestQueue","_applyColorInnerBottom","qx.ui.toolbar.CheckBox","_applyLeft","window-captionbar","_borderElement","[object ","_maximizeButton","qx.appearanceTheme","Server timeout","__onwindowblur","clip","Mozilla","Log window message: <b>Note: ","_applyCloseInterval",'</span></td></tr>',"0.0.0",'var prop=qx.core.Property;',"changeBottom","width=500,height=250,dependent=yes,resizable=yes,status=no,location=no,menubar=no,toolbar=no,scrollbars=no",'<table>',"qx.ui.resizer.IResizable","Del","_mouseEvent","_layoutImpl","_applyShowCloseButton","_cached","0px none",'<span class="selectorId">#',')prop.error(this,5,"',"qx.theme.manager.Icon","qx.core.Version","Num","_openTimer","tree-folder-icon","toLocaleUpperCase",' <span class="nodeName">','\", "',"Width","qx.theme.manager.Border","pixelWidth","_applyVerticalChildrenAlign","group-box","__manager","qx.log.Logger","key_full_PageDown"," [not readable: ","key_full_Escape","ae","initial","_computed","_applyShowClose","tab-view","_applyTheme","0x","__key","_requestHeaders"," ms) ","_applyPage","omniweb",'-','!==inherit){',"changeOpen","changeFocused","changeTheme","qx.eventMonitorNoListeners","key_short_Insert",'X',"end_minus","getLastActiveChild",'value !== null && (qx.locale.Manager.getInstance().isDynamic(value) || typeof value === "string")',"_fields","_applyIconWidth","_lastMouseEventDate","_statusBar","_queue","_applyGlobalCursor","_applyStyleBottom","MaxWidth","image","qx.core.Package","_applyInterval","galeon","join","removeDom","qx.ui.resizer.MResizable","qx.html.StyleSheet","_appenderArr","AppleWebKit","Legacy properties are deprecated","Use setHtmlProperty instead","_remappingChildTable","toolbar=no,scrollbars=no,resizable=yes,","qx.ui.core.ClientDocument","qx.util.manager.Object","right-reversed","toolbar-part-handle","qx.ui.form.RadioButton",">","other gecko","form","qx.util.Compare","no","resizer-frame","qx.ui.groupbox.GroupBox","qx.ui.basic.Atom","Percent","window-captionbar-icon","_applyBackgroundColor","combo-box-button","_applyCaption","qx.colorTheme","http://",'.classname)this.$$initialized=true;',"menu-radio-button","_applyResponseType","_valueData",'else{',"key_full_Enter","qx.core.Init","_applyHorizontalChildrenAlign","Ae",'<span class="selectorTag">',"Conflict",'#lines { width: 100%; height: expression((document.body.offsetHeight - 30) + "px"); }',"changeCapture","map","O","__theme$","_applyShowMaximize",'value !== null && value.nodeType !== undefined',"_filterArr",'></iframe>',"Ctrl","key_short_Home","rgb(",'computed=undefined;delete this.',"RealPlayer","_lastMouseEventType","font-style:","qx.core.Log.assert","_applyMarginTop","_applyHoverItem","Microsoft.XMLHTTP",'return retval;',"_applyVisibility",'if(computed===undefined||computed===inherit){',"splice","qx.theme.ClassicRoyale","_applyMaxWidth",'typeof value === "string"',"changeZIndex",'if(value!==null)',"--- Object: ",'typeof value === "string" && value.length > 0',"_applyActiveWindow","popup","_hideTimeStamp","Unknown status code","key_","create","Not available","_inlineEvents","_applyIconTheme","_applyWidthRight","qx.lang.Object","_window","key_short_PageDown","_upbutton","member","key_full_Tab",'throw new Error("Property ',"visibility","_valueManager","_applyStatus",'value !== null && qx.theme.manager.Border.getInstance().isDynamic(value)',"MacIntel","spinner-button-up","No content","changeMode","_applyFocusHandler","qx.core.Log.log","z","Top","qx.core.Log.warn","command","qx.ui.form.Spinner","This method is no longer needed since the event object is now an instance of the Response class.","_applyDisplay","_document","styleFloat","_attachedWidget","qx.ui.tree.SelectionManager","valueOf","__user$excludeSpecificTreeLines","start_minus","_applyShowStatusbar","mozBoxSizing",'name="',"form_","qx.dom.String","ue","qx.io.remote.ScriptTransport","_applyHtml","iPhone","unix","changeFontTheme",'<span class="objectBox-null">',"body {}","type","qx.ui.form.PasswordField","search","key_short_Down","qx.core.Aspect"," errors.",'<iframe onload="parent.qx.ui.embed.Iframe.load(this)" ',"mac","qx.ui.core.Border",'Requires exactly one argument!',"_divDataSets","toolbar","_oldSelected",'if(value===null)prop.error(this,4,"',"_widget","overflow-y","Parsed","_previousParentFolder","qx.bom.Document",'Basic ',"qx.ui.toolbar.ToolBar","window-captionbar-maximize-button",'value !== null && value.$$type === "Theme"',"key_short_Tab","_lastKeyCode",' pre { margin: 0; padding: 4px 8px; font-family: Consolas, "Bitstream Vera Sans Mono", monospace; }',"MSIE","Forbidden","qx.html.Entity","_applyCaptureWidget","anonymous","_lastMouseDown",'</span>="<span class="nodeValue">',"cssFloat","toolbar-part","qx.ui.tree.TreeRowStructure",'Referer','!(value && qx.Class.hasInterface(value.constructor, ',"qx.ui.basic.Label",".gif","qx.ui.basic.ScrollArea","Use getUseTreeLines instead","[Theme ","_popup","Proxy authentication required","qx.ui.popup.PopupAtom","group-box-legend","beforeInsertDom","_applyAutoCloseWithErrors","_legendObject","qx.io.image.PreloaderSystem","Use getHideNode instead","qx.html.EventRegistration","_innerStyle","icon/16/actions/document-new.png","verticalChildrenAlign","qx.html.Window","qx.bom.element.Location","Ue","_applyStyleRight",'===value)return value;',"-1","Object is null","<html><head><title>","=[not readable: ","end_plus"," in method ","qx.ui.basic.Terminator","_applyColorRight","__dragCache","_iframeNode","_applyWidthBottom",'if(value===undefined)prop.error(this,2,"',"#FEF0D2","_oldParent","key_short_Up","_applyItalic","key_full_Insert",'value=this.',"_statusText","_formFields","tree",'<span class="objectBox-selector">',"menu-button","_minimizeButton","qx.ui.selection.SelectionManager","_active","qx.ui.tree.AbstractTreeElement","_applyAllowMinimize","MSXML2.XMLHTTP.3.0","_applyHideFocus","progid:DXImageTransform.Microsoft.Shadow(color='Gray', Direction=135, Strength=4)","qx.ui.embed.HtmlEmbed","_applyLeadItem","bottom-reversed","commandLine","_applyImplementation","qx.core.Log.dir","qx.core.MUserData",'value instanceof RegExp',"_logEventQueue","toolbar-separator-line","qx.event.type.DomEvent","__ondragevent","_valueOldValue","_applyLoaded","())","qx.util.range.Range","_applyParent","qx.core.Variant","qx.core.Target",""","/source/class/","qx.util.manager.MConnectedObject","__listeners","beforeRemoveDom","frame_","_applyMarginLeft","Request entity too large","qx.html.Location","qx.log.LogEventProcessor","_closeButton","pixelTop","'",' of an instance of ',"text-decoration:","_applyShow","_applyFocusedChild",'<div class="objectBox-element">',"changeAnchorItem","password","key_short_Alt","_parentLogger",' #lines{ top: 30px; left: 0; right: 0; bottom: 0; position: absolute; overflow: auto; }',"qx.lang.Array","_applyColorLeft",'</div><div class="objectBox-element"></<span class="nodeTag">',"toLocaleLowerCase","KDE","_children","Esc","qx.ui.pageview.tabview.Pane","yes","_applyMethod","_modify","qx.ui.pageview.tabview.Page","</title></head>","every","\\\\","addChild","changeValidator","__font","qx.util.Mime","_change","_applyIconPosition","changeDisplay","_applyWidth","_applyColorInnerRight",'/></div>',"changeMaxHeight","qx.locale.MTranslation","changeMinHeight",'return null;',"unselectable","Caps","qx.ui.layout.CanvasLayout","spinner","_remappingChildTarget","_applyWidgetTheme","html { border:0 none; } ","dir","', ((v==null)?0:v)+'px')","atom","_value",'_indentObject',"qx.preloaderTimeout","changeShowCloseButton","shift","qx.theme.manager.Appearance","parentPaddingLeft","org.w3c.dom.svg","Current stack trace",'Null value is not allowed!',"pixelLeft","toolbar-separator","file://","qx.event.handler.KeyEventHandler","key_full_Shift","Request time-out","Bad request","key_full_NumLock"," with incoming value '","menu-separator","key_full_End","link",'Could not change or apply init value after constructing phase!',"  ","qxsetting","orientation","changeOverflow","qx.ui.toolbar.Part","__stateMap","_applyCurrentToolTip",'value instanceof Function',"_htmlProperties","...","__intervalHandler","qx.ui.menu.ButtonLayoutImpl","_req","qx.log.appender.FireBug","parseerror","_valueCurrentTarget","qx.core.Log.dirxml","__oninput","_applySpellCheck","window-statusbar-text","width=","toLowerCase",'<span class="objectBox-string">"',"key_full_Delete"," of class ","icon/16/actions/dialog-cancel.png","cross_plus","_applyMinWidth","\" />","Multiple choices","Win64","changeIconTheme","_applyCommand","menu-separator-line","w","qx.ui.menu.Button","qx.html.Iframe","PgUp",'", computed, old);',"borderRight",",top=","_applyAlignTabsToLeft","1px 0",'value !== null && typeof value === "object"','value instanceof Array',"_applyFrameName","_applyAlwaysShowPlusMinusSymbol",'<tr>',"changeWindowManager","__visible","qx.ui.layout.impl.HorizontalBoxLayoutImpl","charAt","name","_filterTextWords",",left=","_applyTextColor","changeCaption","e","_applyColorInnerTop","pixelRight","_applyMaximum","} ","MozUserFocus","qx.theme.manager.Widget","_applyMarginRight","_applyStyleLeft","Flex","key_full_Pause","WebkitBoxSizing","font-family:",'var computed, old=this.',"_applyHeight","qx.core.Log","key_full_PageUp",' html, body{ padding: 0; margin: 0; border : 0 none; }',"_modalNativeWindow","_isErroneous","resizableWest","[Class ","resizer","_applyWidthTop","_style","changeLeft","_valueDomTarget","changeWidth","changeTop","__cursors","menu","__onselectevent","Payment required","font-weight:","_bar",'</span>"',"constructor","qx.ui.resizer.ResizablePopup",'<span class="objectBox-object">',"this.setStyleProperty('padding","windowfocus",':',"BSD","qx.core.Log.clear","qx.ui.menu.Layout","_connectedObjects","konqueror","changeMoveable","qx.Theme","qx.ui.pageview.tabview.Bar","gif","_applyHideNode","_applyUseTreeLines","_valueValue","Moved permanently","_applyShortcut","changeStatus","qx.ui.toolbar.MenuButton","_captionIcon","_parameters",'"</span>',"qx.util.Validation","qx.util.ColorUtil","_valueTarget","-resize","borderLeft","cross_minus","changeActive","_arrowObject","horizontalChildrenAlign"," INFO: ","_applyShowCaption","_applyTop","changeGlobalCursor",'<td class="propertyNameCell"><span class="propertyName">',"()","key_short_PrintScreen","MSHTML-specific HTTP status code","toUpperCase","_button",'var pa=this.getParent();if(pa)computed=pa.',"_applyDestinationWidget","_dynamic"," logRow-","firstChild","reverse","KhtmlBoxSizing","changeHeight","ss","X-Requested-With","qx.theme","qx.ui.selection.Selection","spinner-text-field","insertDom","oe","_applyFamily","combo-box","key_short_Enter","stretchChildrenOrthogonalAxis","tree-folder-label","window-captionbar-minimize-button","qx.borderTheme",'value !== null && value.type !== undefined',"combo-box-text-field","Error: Could not get a reference to the sheet object",'value !== null && value.nodeType === 1 && value.attributes',"Not found",'value !== null && typeof value === "object" && !(value instanceof Array) && !(value instanceof qx.core.Object)',"_applyShowMinimize","qx.ui.embed.Iframe","_applyShowIcon",'(computed, old);',"changeAppearance",'</table>',"qx.ui.pageview.AbstractPageView","is","tree-element-icon",'()</span>','value !== null && value.nodeType === 9 && value.documentElement',"Gone","#FFEEEE","Unauthorized","_applyPaddingBottom",".apply(this._remappingChildTarget, arguments)","You can only specify one non modifier key!","_registry","closetab","*{","action","_applyOrientation","qx.ui.toolbar.PartHandle","420","qx.log.MLogging",'old=computed=this.',"_applyColorTheme","qx.core.Client","qx.ui.toolbar.Separator","qx.theme.manager.Meta","changeSpacing","key_short_Apps","key_short_Win","_applyIconHeight",'<<span class="nodeTag">',"shiira",'===undefined)return;',"_applyActiveChild","substr","MaxHeight",'<span class="selectorClass">.',"null","_modalWidgets","qx.dom.Node","_applyCursor","__storage","changeVisibility","__lastDestinationEvent","colorInnerTop","realplayer","other webkit","_lastMouseDownDomTarget","_isPng","_applyUseAdvancedFlexAllocation","text-area","dirxml","list-item"," ---\n","qx.html.String",'))',"_filterInput","key_full_Home",'var retval=clazz.$$original.apply(this,arguments);',"camino",' #control { top: 0; left: 0; right: 0; padding: 4px 8px; background: #eee; border-bottom: 1px solid #ccc; height: 30px }',"__data","qx.ui.core.ClientDocumentBlocker"," ERROR: ","u","activeX","qx.client.Timer","_valueRelatedTarget","[object Object]","qx.lang.Function","Out of resources","qx.dev.StackTrace","qx.core.Setting","qx.ui.menu.RadioButton","_applyModal","_globalCursorStyleSheet","_line","Oe","/static/log/log.html","Method not allowed","_applyAppearanceTheme","content-box","Ok",'if(','value instanceof Error','anonymous',"Unsupported media type","#F1FBF3","key_full_Left","qx.core.Property","qx.ui.form.List","Precondition failed","changeMenu","combo-box-list","__borderObject","_form","Error in property ","<","_applyProhibitCaching","_applyType","MinWidth","this._style.","_applyExcludeSpecificTreeLines","tree-label","_applyStyleTop","getFirstChild","marker",'"></iframe>',"window-captionbar-title"," (r","Gateway time-out","resizableSouth",'else if(computed===undefined)',"qx.core.Log.timeEnd",'></div><div class="nodeChildren">',"qx.widgetTheme","spacing","__modifier","X-Qooxdoo-Version","Alpha(Opacity=0)",'else this.',"_textfield","visible","Bottom","explorer","qx.core.Log.time","colorInnerLeft","_applyOpenItem"," FATAL: ","Safari","hideFocus","MSXML2.XMLHTTP.6.0","_applyDisabledIcon","_applyPaddingRight","changeBorder",'></span></div>',"en","__userData","beforeInitialOpen","Length required","_applyWidthLeft","--- End of object ---","_logLinesDiv","logRow",'var clazz=arguments.callee.constructor;',"_inputElement","__onwindowresize","changeCurrentAction","iphone","changeMinWidth",'var computed, old;','}else{',"window-captionbar-close-button","_isCreated",'<td><span class="propertyValue">',"qx.util.manager.Value","qx.core.Bootstrap","toLocaleString","_shortcutObject","parentPaddingTop","horizontalAlign","qx.enableApplicationLayout","_jobQueue","key_short_Escape","some",'</body></html>',"_containerObject","StringExact","qx.ui.toolbar.Button","Not a valid key name for a command: ",'typeof value === "boolean"',"changeDirection","Mixin","charCodeAt","qx.net.HttpRequest","qx.lang.Number","',sizingMethod='scale')","[\xE4\xF6\xFC\xDF\xC4\xD6\xDC]","changeTabIndex","qx.lang.String","_renderRuntime","_applyCapture","_appender",'.checkMap[value]===undefined','.check.call(this, value)',"tool-tip","overline","getLastChild","qx.html.ScrollIntoView","key_short_Meta","_applyReverseChildrenOrder","key_short_PageUp","key_short_Pause","_applyDecoration","qx.widgetDebugId","!isNaN(value)&&value>=this.getMin()&&value<=this.getMax()","rect(","colorInnerRight","_isLoaded","_downbutton","MSXML2.XMLHTTP","_applyCloseButtonImage","_items","__onwindowfocus","qx.ui.layout.VerticalBoxLayout","_applyPlaceBarOnTop","full","Auto","pop","BackgroundImageCache","isPrototypeOf","qx.ui.form.CheckBox","qx.application.Basic","X11",'_iconObject',"NetNewsWire","qx.compatibility","_applyColorInnerLeft","qx.ui.form.TextArea","qx.bom.Viewport","key_full_Right","group-box-frame","url(","img{","button","key_full_Backspace","_applyBold","changeWidgetTheme",' <pre id="log" wrap="wrap"></pre>','this.createDispatchChangeEvent("',"_applyColorTop","html,body{width:100%;height:100%;overflow:hidden;}","changeOpenMenu","qx.log.appender.Abstract","qx.html.Style","_scrollContent","qx.locale.Locale","_checkValue","useAdvancedFlexAllocation","return this._remappingChildTarget.","changeOrientation","key_short_Shift","qx.ui.pageview.tabview.Button","__oninterval","key_short_Control","qx.ui.basic.HorizontalSpacer","Shiira","qx.theme.manager.Font","changeMaxWidth","MinHeight","key_full_CapsLock","qx.io.image.PreloaderManager","Camino","qx.ui.layout.impl.CanvasLayoutImpl","qx.ui.tree.TreeFile","_commands","_applyMode","tree-element",' <style type="text/css">','<div class="nodeText">',"_frameObject","changeAppearanceTheme"," ["];if(!window.qxsettings)qxsettings={};if(qxsettings["qx.theme"]==undefined)qxsettings["qx.theme"]="org.eclipse.swt.theme.Default";if(qxsettings["qx.logAppender"]==undefined)qxsettings["qx.logAppender"]="qx.log.appender.Native";if(qxsettings["qx.version"]==undefined)qxsettings["qx.version"]="0.7.4 (r16786)";if(qxsettings["qx.isSource"]==undefined)qxsettings["qx.isSource"]=false;if(!window.qxvariants)qxvariants={};qxvariants["qx.compatibility"]="off";qxvariants["qx.debug"]="off";qx={Class:{createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}$3[$4]=$1;return $4;},define:function($0,$1){if(!$1){var $1={statics:{}};}this.createNamespace($0,$1.statics);if($1.defer){$1.defer($1.statics);}qx.core.Bootstrap.__registry[$0]=$1.statics;}}};qx.Class.define($[1715],{statics:{LOADSTART:new Date,time:function(){return new Date().getTime();},since:function(){return this.time()-this.LOADSTART;},__registry:{}}}); |
| 2 |
qx.Class.define($[584]);if(!Error.prototype.toString||Error.prototype.toString()==$[847]){Error.prototype.toString=function(){return this.message;};}if(!Array.prototype.indexOf){Array.prototype.indexOf=function($0,$1){if($1==null){$1=0;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2<this.length;$2++){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.lastIndexOf){Array.prototype.lastIndexOf=function($0,$1){if($1==null){$1=this.length-1;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2>=0;$2--){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.forEach){Array.prototype.forEach=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){$0.call($1,this[$3],$3,this);}};}if(!Array.prototype.filter){Array.prototype.filter=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){if($0.call($1,this[$4],$4,this)){$3.push(this[$4]);}}return $3;};}if(!Array.prototype.map){Array.prototype.map=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){$3.push($0.call($1,this[$4],$4,this));}return $3;};}if(!Array.prototype.some){Array.prototype.some=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if($0.call($1,this[$3],$3,this)){return true;}}return false;};}if(!Array.prototype.every){Array.prototype.every=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if(!$0.call($1,this[$3],$3,this)){return false;}}return true;};}if(!String.prototype.quote){String.prototype.quote=function(){return $[109]+this.replace(/\\/g,$[1321]).replace(/\"/g,$[799])+$[109];};} |
2 |
qx.Class.define($[966]);if(!Error.prototype.toString||Error.prototype.toString()==$[863]){Error.prototype.toString=function(){return this.message;};}if(!Array.prototype.indexOf){Array.prototype.indexOf=function($0,$1){if($1==null){$1=0;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2<this.length;$2++){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.lastIndexOf){Array.prototype.lastIndexOf=function($0,$1){if($1==null){$1=this.length-1;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2>=0;$2--){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.forEach){Array.prototype.forEach=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){$0.call($1,this[$3],$3,this);}};}if(!Array.prototype.filter){Array.prototype.filter=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){if($0.call($1,this[$4],$4,this)){$3.push(this[$4]);}}return $3;};}if(!Array.prototype.map){Array.prototype.map=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){$3.push($0.call($1,this[$4],$4,this));}return $3;};}if(!Array.prototype.some){Array.prototype.some=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if($0.call($1,this[$3],$3,this)){return true;}}return false;};}if(!Array.prototype.every){Array.prototype.every=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if(!$0.call($1,this[$3],$3,this)){return false;}}return true;};}if(!String.prototype.quote){String.prototype.quote=function(){return $[112]+this.replace(/\\/g,$[1342]).replace(/\"/g,$[815])+$[112];};} |
| 3 |
qx.Class.define($[725],{statics:{__map:{"Array":[$[1050],$[1511],$[786],$[732],$[1747],$[1352],$[800],$[1114],$[492],$[509],$[324],$[533],$[607],$[1093],$[144],$[1702],$[1320]],"String":[$[597],$[846],$[1393],$[1504],$[875],$[1711],$[324],$[533],$[1310],$[1002],$[562],$[848],$[1176],$[693],$[684],$[1571],$[492],$[509]]},__wrap:function($0,$1){return function($2){return $0.prototype[$1].apply($2,Array.prototype.slice.call(arguments,1));};},__init:function(){var $0=qx.lang.Generics.__map;for(var $1 in $0){var $2=window[$1];var $3=$0[$1];for(var $4=0,$5=$3.length;$4<$5;$4++){var $6=$3[$4];if(!$2[$6]){$2[$6]=qx.lang.Generics.__wrap($2,$6);}}}}},defer:function($0){$0.__init();}}); |
3 |
qx.Class.define($[736],{statics:{__map:{"Array":[$[1068],$[1532],$[800],$[743],$[1767],$[1371],$[816],$[1132],$[500],$[516],$[330],$[541],$[621],$[1111],$[148],$[1723],$[1341]],"String":[$[609],$[862],$[1411],$[1525],$[1441],$[1732],$[330],$[541],$[1331],$[1020],$[571],$[864],$[1196],$[704],$[695],$[1593],$[500],$[516]]},__wrap:function($0,$1){return function($2){return $0.prototype[$1].apply($2,Array.prototype.slice.call(arguments,1));};},__init:function(){var $0=qx.lang.Generics.__map;for(var $1 in $0){var $2=window[$1];var $3=$0[$1];for(var $4=0,$5=$3.length;$4<$5;$4++){var $6=$3[$4];if(!$2[$6]){$2[$6]=qx.lang.Generics.__wrap($2,$6);}}}}},defer:function($0){$0.__init();}}); |
| 4 |
qx.Class.define($[1608],{statics:{__settings:{},define:function($0,$1){if($1===undefined){throw new Error('Default value of setting "'+$0+'" must be defined!');}if(!this.__settings[$0]){this.__settings[$0]={};}else if(this.__settings[$0].defaultValue!==undefined){throw new Error('Setting "'+$0+'" is already defined!');}this.__settings[$0].defaultValue=$1;},get:function($0){var $1=this.__settings[$0];if($1===undefined){throw new Error('Setting "'+$0+'" is not defined.');}if($1.value!==undefined){return $1.value;}return $1.defaultValue;},__init:function(){if(window.qxsettings){for(var $0 in qxsettings){if(($0.split($[24])).length<2){throw new Error('Malformed settings key "'+$0+'". Must be following the schema "namespace.key".');}if(!this.__settings[$0]){this.__settings[$0]={};}this.__settings[$0].value=qxsettings[$0];}window.qxsettings=undefined;try{delete window.qxsettings;}catch(ex){}this.__loadUrlSettings();}},__loadUrlSettings:function(){if(this.get($[412])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[47]);if($2.length!=3||$2[0]!=$[1373]){continue;}var $3=$2[1];if(!this.__settings[$3]){this.__settings[$3]={};}this.__settings[$3].value=decodeURIComponent($2[2]);}}},defer:function($0){$0.define($[412],false);$0.define($[441],false);$0.define($[288],$[568]);$0.define($[1680],true);$0.__init();}}); |
4 |
qx.Class.define($[1631],{statics:{__settings:{},define:function($0,$1){if($1===undefined){throw new Error('Default value of setting "'+$0+'" must be defined!');}if(!this.__settings[$0]){this.__settings[$0]={};}else if(this.__settings[$0].defaultValue!==undefined){throw new Error('Setting "'+$0+'" is already defined!');}this.__settings[$0].defaultValue=$1;},get:function($0){var $1=this.__settings[$0];if($1===undefined){throw new Error('Setting "'+$0+'" is not defined.');}if($1.value!==undefined){return $1.value;}return $1.defaultValue;},isSet:function($0){return this.__settings[$0]!==undefined;},__init:function(){if(window.qxsettings){for(var $0 in qxsettings){if(($0.split($[24])).length<2){throw new Error('Malformed settings key "'+$0+'". Must be following the schema "namespace.key".');}if(!this.__settings[$0]){this.__settings[$0]={};}this.__settings[$0].value=qxsettings[$0];}window.qxsettings=undefined;try{delete window.qxsettings;}catch(ex){}this.__loadUrlSettings();}},__loadUrlSettings:function(){if(this.get($[420])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[33]);if($2.length!=3||$2[0]!=$[1391]){continue;}var $3=$2[1];if(!this.__settings[$3]){this.__settings[$3]={};}this.__settings[$3].value=decodeURIComponent($2[2]);}}},defer:function($0){$0.define($[420],false);$0.define($[449],false);$0.define($[291],$[578]);$0.define($[538],true);$0.__init();}}); |
| 5 |
qx.Class.define($[1307],{statics:{fromArguments:function($0){return Array.prototype.slice.call($0,0);},fromCollection:function($0){return Array.prototype.slice.call($0,0);},fromShortHand:function($0){var $1=$0.length;if($1>4||$1==0){this.error("Invalid number of arguments!");}var $2=qx.lang.Array.copy($0);switch($1){case 1:$2[1]=$2[2]=$2[3]=$2[0];break;case 2:$2[2]=$2[0];case 3:$2[3]=$2[1];}return $2;},copy:function($0){return $0.concat();},clone:function($0){return $0.concat();},getLast:function($0){return $0[$0.length-1];},getFirst:function($0){return $0[0];},insertAt:function($0,$1,$2){$0.splice($2,0,$1);return $0;},insertBefore:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1){$0.push($1);}else{$0.splice($3,0,$1);}return $0;},insertAfter:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1||$3==($0.length-1)){$0.push($1);}else{$0.splice($3+1,0,$1);}return $0;},removeAt:function($0,$1){return $0.splice($1,1)[0];},removeAll:function($0){return $0.length=0;},append:function($0,$1){{};Array.prototype.push.apply($0,$1);return $0;},remove:function($0,$1){var $2=$0.indexOf($1);if($2!=-1){$0.splice($2,1);return $1;}},contains:function($0,$1){return $0.indexOf($1)!=-1;},equals:function($0,$1){if($0.length!==$1.length){return false;}for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]!==$1[$2]){return false;}}return true;}}}); |
5 |
qx.Class.define($[1328],{statics:{fromArguments:function($0){return Array.prototype.slice.call($0,0);},fromCollection:function($0){return Array.prototype.slice.call($0,0);},fromShortHand:function($0){var $1=$0.length;if($1>4||$1==0){this.error("Invalid number of arguments!");}var $2=qx.lang.Array.copy($0);switch($1){case 1:$2[1]=$2[2]=$2[3]=$2[0];break;case 2:$2[2]=$2[0];case 3:$2[3]=$2[1];}return $2;},copy:function($0){return $0.concat();},clone:function($0){return $0.concat();},getLast:function($0){return $0[$0.length-1];},getFirst:function($0){return $0[0];},insertAt:function($0,$1,$2){$0.splice($2,0,$1);return $0;},insertBefore:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1){$0.push($1);}else{$0.splice($3,0,$1);}return $0;},insertAfter:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1||$3==($0.length-1)){$0.push($1);}else{$0.splice($3+1,0,$1);}return $0;},removeAt:function($0,$1){return $0.splice($1,1)[0];},removeAll:function($0){return $0.length=0;},append:function($0,$1){{};Array.prototype.push.apply($0,$1);return $0;},remove:function($0,$1){var $2=$0.indexOf($1);if($2!=-1){$0.splice($2,1);return $1;}},contains:function($0,$1){return $0.indexOf($1)!=-1;},equals:function($0,$1){if($0.length!==$1.length){return false;}for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]!==$1[$2]){return false;}}return true;}}}); |
| 6 |
qx.Class.define($[1281],{statics:{__variants:{},__cache:{},compilerIsSet:function(){return true;},define:function($0,$1,$2){{};if(!this.__variants[$0]){this.__variants[$0]={};}else{}this.__variants[$0].allowedValues=$1;this.__variants[$0].defaultValue=$2;},get:function($0){var $1=this.__variants[$0];{};if($1.value!==undefined){return $1.value;}return $1.defaultValue;},__init:function(){if(window.qxvariants){for(var $0 in qxvariants){{};if(!this.__variants[$0]){this.__variants[$0]={};}this.__variants[$0].value=qxvariants[$0];}window.qxvariants=undefined;try{delete window.qxvariants;}catch(ex){}this.__loadUrlVariants(this.__variants);}},__loadUrlVariants:function(){if(qx.core.Setting.get($[441])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[47]);if($2.length!=3||$2[0]!=$[871]){continue;}var $3=$2[1];if(!this.__variants[$3]){this.__variants[$3]={};}this.__variants[$3].value=decodeURIComponent($2[2]);}},select:function($0,$1){{};for(var $2 in $1){if(this.isSet($0,$2)){return $1[$2];}}if($1[$[295]]!==undefined){return $1[$[295]];}{};},isSet:function($0,$1){var $2=$0+$[207]+$1;if(this.__cache[$2]!==undefined){return this.__cache[$2];}var $3=false;if($1.indexOf($[398])<0){$3=this.get($0)===$1;}else{var $4=$1.split($[398]);for(var $5=0,$6=$4.length;$5<$6;$5++){if(this.get($0)===$4[$5]){$3=true;break;}}}this.__cache[$2]=$3;return $3;},__isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},__isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},__arrayContains:function($0,$1){for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]==$1){return true;}}return false;}},defer:function($0){$0.define($[897],[$[23],$[55]],$[23]);$0.define($[1755],[$[23],$[55]],$[23]);$0.define($[1032],[$[23],$[55]],$[55]);$0.define($[108],[$[23],$[55]],$[55]);$0.define($[263],[$[23],$[55]],$[23]);$0.__init();}}); |
6 |
qx.Class.define($[1303],{statics:{__variants:{},__cache:{},compilerIsSet:function(){return true;},define:function($0,$1,$2){{};if(!this.__variants[$0]){this.__variants[$0]={};}else{}this.__variants[$0].allowedValues=$1;this.__variants[$0].defaultValue=$2;},get:function($0){var $1=this.__variants[$0];{};if($1.value!==undefined){return $1.value;}return $1.defaultValue;},__init:function(){if(window.qxvariants){for(var $0 in qxvariants){{};if(!this.__variants[$0]){this.__variants[$0]={};}this.__variants[$0].value=qxvariants[$0];}window.qxvariants=undefined;try{delete window.qxvariants;}catch(ex){}this.__loadUrlVariants(this.__variants);}},__loadUrlVariants:function(){if(qx.core.Setting.get($[449])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[33]);if($2.length!=3||$2[0]!=$[889]){continue;}var $3=$2[1];if(!this.__variants[$3]){this.__variants[$3]={};}this.__variants[$3].value=decodeURIComponent($2[2]);}},select:function($0,$1){{};for(var $2 in $1){if(this.isSet($0,$2)){return $1[$2];}}if($1[$[299]]!==undefined){return $1[$[299]];}{};},isSet:function($0,$1){var $2=$0+$[208]+$1;if(this.__cache[$2]!==undefined){return this.__cache[$2];}var $3=false;if($1.indexOf($[404])<0){$3=this.get($0)===$1;}else{var $4=$1.split($[404]);for(var $5=0,$6=$4.length;$5<$6;$5++){if(this.get($0)===$4[$5]){$3=true;break;}}}this.__cache[$2]=$3;return $3;},__isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},__isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},__arrayContains:function($0,$1){for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]==$1){return true;}}return false;}},defer:function($0){$0.define($[915],[$[26],$[59]],$[26]);$0.define($[1775],[$[26],$[59]],$[26]);$0.define($[1050],[$[26],$[59]],$[59]);$0.define($[110],[$[26],$[59]],$[59]);$0.define($[266],[$[26],$[59]],$[26]);$0.__init();}}); |
| 7 |
qx.Class.define($[1178],{statics:{__registry:[],wrap:function($0,$1,$2){if(!qx.core.Setting.get($[427])){return $1;}var $3=[];var $4=[];for(var $5=0;$5<this.__registry.length;$5++){var $6=this.__registry[$5];if($0.match($6.re)&&($2==$6.type||$6.type==$[140])){var $7=$6.pos;if($7==$[448]){$3.push($6.fcn);}else{$4.push($6.fcn);}}}if($3.length==0&&$4.length==0){return $1;}var $8=function(){for(var $5=0;$5<$3.length;$5++){$3[$5].call(this,$0,$1,$2,arguments);}var $9=$1.apply(this,arguments);for(var $5=0;$5<$4.length;$5++){$4[$5].call(this,$0,$1,$2,arguments,$9);}return $9;};if($2!=$[178]){$8.self=$1.self;$8.base=$1.base;}$1.wrapper=$8;return $8;},addAdvice:function($0,$1,$2,$3){if($0!=$[448]&&$0!=$[721]){throw new Error("Unknown position: '"+$0+"'");}this.__registry.push({pos:$0,type:$1,re:$2,fcn:$3});}},defer:function(){qx.core.Setting.define($[427],false);}}); |
7 |
qx.Class.define($[1198],{statics:{__registry:[],wrap:function($0,$1,$2){if(!qx.core.Setting.get($[435])){return $1;}var $3=[];var $4=[];for(var $5=0;$5<this.__registry.length;$5++){var $6=this.__registry[$5];if($0.match($6.re)&&($2==$6.type||$6.type==$[144])){var $7=$6.pos;if($7==$[456]){$3.push($6.fcn);}else{$4.push($6.fcn);}}}if($3.length==0&&$4.length==0){return $1;}var $8=function(){for(var $5=0;$5<$3.length;$5++){$3[$5].call(this,$0,$1,$2,arguments);}var $9=$1.apply(this,arguments);for(var $5=0;$5<$4.length;$5++){$4[$5].call(this,$0,$1,$2,arguments,$9);}return $9;};if($2!=$[179]){$8.self=$1.self;$8.base=$1.base;}$1.wrapper=$8;return $8;},addAdvice:function($0,$1,$2,$3){if($0!=$[456]&&$0!=$[732]){throw new Error("Unknown position: '"+$0+"'");}this.__registry.push({pos:$0,type:$1,re:$2,fcn:$3});}},defer:function(){qx.core.Setting.define($[435],false);}}); |
| 8 |
qx.Class.define($[1560],{statics:{__init:function(){var $0=window.location.protocol===$[442];var $1=navigator.userAgent;var $2=navigator.vendor;var $3=navigator.product;var $4=navigator.platform;var $5=false;var $6;var $7=null;var $8=null;var $9=0;var $a=0;var $b=0;var $c=0;var $d=null;var $e=null;var $f;if(window.opera&&/Opera[\s\/]([0-9\.]*)/.test($1)){$7=$[154];$8=RegExp.$1;$6=$[154];$8=$8.substring(0,3)+$[24]+$8.substring(3);$d=$1.indexOf($[1197])!==-1?$[13]:$1.indexOf($[978])!==-1?$[21]:null;}else if(typeof $2===$[8]&&$2===$[1311]&&/KHTML\/([0-9-\.]*)/.test($1)){$7=$[157];$6=$[1472];$8=RegExp.$1;}else if($1.indexOf($[1055])!=-1&&/AppleWebKit\/([^ ]+)/.test($1)){$7=$[147];$8=RegExp.$1;$e=$8.indexOf($[246])!=-1;var $g=RegExp($[656]).exec($8);if($g){$8=$8.slice(0,$g.index);}if($1.indexOf($[1667])!=-1){$6=$[790];}else if($1.indexOf($[654])!=-1){$6=$[1026];}else if($1.indexOf($[1785])!=-1){$6=$[1568];}else if($1.indexOf($[1754])!=-1){$6=$[929];}else if($1.indexOf($[1104])!=-1){$6=$[1582];}else{$6=$[1583];}if($e){$6+=$[571];}}else if(window.controllers&&typeof $3===$[8]&&$3===$[1291]&&/rv\:([^\);]+)(\)|;)/.test($1)){$7=$[21];$8=RegExp.$1;if($1.indexOf($[942])!=-1){$6=$[633];}else if($1.indexOf($[1791])!=-1){$6=$[1596];}else if($1.indexOf($[719])!=-1){$6=$[1049];}else{$6=$[1066];}}else if(/MSIE\s+([^\);]+)(\)|;)/.test($1)){$7=$[13];$8=RegExp.$1;$6=$[1016];$5=!window.external;}if($8){$f=$8.split($[24]);$9=$f[0]||0;$a=$f[1]||0;$b=$f[2]||0;$c=$f[3]||0;}var $h=[];switch($7){case $[21]:$h.push($[943]);break;case $[157]:$h.push($[421]);break;case $[147]:$h.push($[421]);$h.push($[661]);break;case $[13]:break;default:break;}$h.push($[1327]);var $i=document.compatMode!==$[91];var $j=$[1674];var $k=($7==$[13]?navigator.userLanguage:navigator.language).toLowerCase();var $l=null;var $m=$k.indexOf($[137]);if($m!=-1){$l=$k.substr($m+1);$k=$k.substr(0,$m);}var $n=$[7];var $o=false;var $p=false;var $q=false;var $r=false;if($4.indexOf($[803])!=-1||$4.indexOf($[605])!=-1||$4.indexOf($[1402])!=-1){$o=true;$n=$[328];}else if($4.indexOf($[578])!=-1||$4.indexOf($[596])!=-1||$4.indexOf($[1142])!=-1){$p=true;$n=$[1180];}else if($4.indexOf($[1752])!=-1||$4.indexOf($[546])!=-1||$4.indexOf($[1469])!=-1){$q=true;$n=$[1170];}else{$r=true;$n=$[48];}var $s=false;var $t=false;var $u=false;var $v=false;if($7==$[13]){$s=true;}if(document.implementation&&document.implementation.hasFeature){if(document.implementation.hasFeature($[1355],$[608])){$t=$u=true;}}this._runsLocally=$0;this._engineName=$7;this._engineNameMshtml=$7===$[13];this._engineNameGecko=$7===$[21];this._engineNameOpera=$7===$[154];this._engineNameKhtml=$7===$[157];this._engineNameWebkit=$7===$[147];this._engineVersion=parseFloat($8);this._engineVersionMajor=parseInt($9);this._engineVersionMinor=parseInt($a);this._engineVersionRevision=parseInt($b);this._engineVersionBuild=parseInt($c);this._engineQuirksMode=$i;this._engineBoxSizingAttributes=$h;this._engineEmulation=$d;this._browserName=$6;this._defaultLocale=$j;this._browserPlatform=$n;this._browserPlatformWindows=$o;this._browserPlatformMacintosh=$p;this._browserPlatformUnix=$q;this._browserPlatformOther=$r;this._browserModeHta=$5;this._browserLocale=$k;this._browserLocaleVariant=$l;this._gfxVml=$s;this._gfxSvg=$t;this._gfxSvgBuiltin=$u;this._gfxSvgPlugin=$v;this._fireBugActive=(window.console&&console.log&&console.debug&&console.assert);this._supportsTextContent=(document.documentElement.textContent!==undefined);this._supportsInnerText=(document.documentElement.innerText!==undefined);this._supportsXPath=!!document.evaluate;this._supportsElementExtensions=!!window.HTMLElement;},getRunsLocally:function(){return this._runsLocally;},getEngine:function(){return this._engineName;},getBrowser:function(){return this._browserName;},getVersion:function(){return this._engineVersion;},getMajor:function(){return this._engineVersionMajor;},getMinor:function(){return this._engineVersionMinor;},getRevision:function(){return this._engineVersionRevision;},getBuild:function(){return this._engineVersionBuild;},getEmulation:function(){return this._engineEmulation;},isMshtml:function(){return this._engineNameMshtml;},isGecko:function(){return this._engineNameGecko;},isOpera:function(){return this._engineNameOpera;},isKhtml:function(){return this._engineNameKhtml;},isWebkit:function(){return this._engineNameWebkit;},isSafari2:function(){return this._engineNameWebkit&&(this._engineVersion<420);},isInQuirksMode:function(){return this._engineQuirksMode;},getLocale:function(){return this._browserLocale;},getLocaleVariant:function(){return this._browserLocaleVariant;},getDefaultLocale:function(){return this._defaultLocale;},usesDefaultLocale:function(){return this._browserLocale===this._defaultLocale;},getEngineBoxSizingAttributes:function(){return this._engineBoxSizingAttributes;},getPlatform:function(){return this._browserPlatform;},runsOnWindows:function(){return this._browserPlatformWindows;},runsOnMacintosh:function(){return this._browserPlatformMacintosh;},runsOnUnix:function(){return this._browserPlatformUnix;},supportsVml:function(){return this._gfxVml;},supportsSvg:function(){return this._gfxSvg;},usesSvgBuiltin:function(){return this._gfxSvgBuiltin;},usesSvgPlugin:function(){return this._gfxSvgPlugin;},isFireBugActive:function(){return this._fireBugActive;},supportsTextContent:function(){return this._supportsTextContent;},supportsInnerText:function(){return this._supportsInnerText;},getInstance:function(){return this;}},defer:function($0,$1,$2){$0.__init();qx.core.Variant.define($[1],[$[21],$[13],$[154],$[147],$[157]],qx.core.Client.getInstance().getEngine());}}); |
8 |
qx.Class.define($[1582],{statics:{__init:function(){var $0=window.location.protocol===$[450];var $1=navigator.userAgent;var $2=navigator.vendor;var $3=navigator.product;var $4=navigator.platform;var $5;var $6=null;var $7=null;var $8=0;var $9=0;var $a=0;var $b=0;var $c=null;var $d=null;var $e;if(window.opera&&/Opera[\s\/]([0-9\.]*)/.test($1)){$6=$[137];$7=RegExp.$1;$5=$[137];$7=$7.substring(0,3)+$[24]+$7.substring(3);$c=$1.indexOf($[1220])!==-1?$[13]:$1.indexOf($[997])!==-1?$[16]:null;}else if(typeof $2===$[7]&&$2===$[1332]&&/KHTML\/([0-9-\.]*)/.test($1)){$6=$[94];$5=$[1493];$7=$[1578];}else if($1.indexOf($[1073])!=-1&&/AppleWebKit\/([^ ]+)/.test($1)){$6=$[94];$7=RegExp.$1;$d=$7.indexOf($[199])!=-1;var $f=RegExp($[340]).exec($7);if($f){$7=$7.slice(0,$f.index);}if($1.indexOf($[1688])!=-1){$5=$[805];}else if($1.indexOf($[667])!=-1){$5=$[1044];}else if($1.indexOf($[1805])!=-1){$5=$[1590];}else if($1.indexOf($[1774])!=-1){$5=$[949];}else if($1.indexOf($[1122])!=-1){$5=$[1604];}else{$5=$[1605];}if($d){$5+=$[581];}}else if(window.controllers&&typeof $3===$[7]&&$3===$[474]&&/rv\:([^\);]+)(\)|;)/.test($1)){$6=$[16];$7=RegExp.$1;if($1.indexOf($[962])!=-1){$5=$[646];}else if($1.indexOf($[1811])!=-1){$5=$[1618];}else if($1.indexOf($[730])!=-1){$5=$[1067];}else{$5=$[1084];}}else if(/MSIE\s+([^\);]+)(\)|;)/.test($1)){$6=$[13];$7=RegExp.$1;$5=$[1683];}if($7){$e=$7.split($[24]);$8=$e[0]||0;$9=$e[1]||0;$a=$e[2]||0;$b=$e[3]||0;}var $g=[];switch($6){case $[16]:$g.push($[395]);break;case $[94]:$g.push($[430]);$g.push($[341]);break;case $[13]:break;default:break;}$g.push($[236]);var $h=document.compatMode!==$[91];var $i=$[1695];var $j=($6==$[13]?navigator.userLanguage:navigator.language).toLowerCase();var $k=null;var $l=$j.indexOf($[141]);if($l!=-1){$k=$j.substr($l+1);$j=$j.substr(0,$l);}var $m=$[8];var $n=false;var $o=false;var $p=false;var $q=false;var $r=false;if($4.indexOf($[819])!=-1||$4.indexOf($[619])!=-1||$4.indexOf($[1420])!=-1){$n=true;$m=$[334];}else if($4.indexOf($[589])!=-1||$4.indexOf($[608])!=-1||$4.indexOf($[1161])!=-1){$o=true;$m=$[1201];}else if($4.indexOf($[1772])!=-1||$4.indexOf($[555])!=-1||$4.indexOf($[1489])!=-1){$p=true;$m=$[1190];}else if($4.indexOf($[1189])!=-1||$4.indexOf($[588])!=-1){$q=true;$m=$[1707];}else{$r=true;$m=$[50];}var $s=false;var $t=false;var $u=false;var $v=false;if($6==$[13]){$s=true;}if(document.implementation&&document.implementation.hasFeature){if(document.implementation.hasFeature($[1374],$[622])){$t=$u=true;}}this._runsLocally=$0;this._engineName=$6;this._engineNameMshtml=$6===$[13];this._engineNameGecko=$6===$[16];this._engineNameOpera=$6===$[137];this._engineNameWebkit=$6===$[94];this._engineVersion=parseFloat($7);this._engineVersionMajor=parseInt($8);this._engineVersionMinor=parseInt($9);this._engineVersionRevision=parseInt($a);this._engineVersionBuild=parseInt($b);this._engineQuirksMode=$h;this._engineBoxSizingAttributes=$g;this._engineEmulation=$c;this._browserName=$5;this._defaultLocale=$i;this._browserPlatform=$m;this._browserPlatformWindows=$n;this._browserPlatformMacintosh=$o;this._browserPlatformUnix=$p;this._browserPlatformIphone=$q;this._browserPlatformOther=$r;this._browserLocale=$j;this._browserLocaleVariant=$k;this._gfxVml=$s;this._gfxSvg=$t;this._gfxSvgBuiltin=$u;this._gfxSvgPlugin=$v;this._fireBugActive=(window.console&&console.log&&console.debug&&console.assert);this._supportsTextContent=(document.documentElement.textContent!==undefined);this._supportsInnerText=(document.documentElement.innerText!==undefined);this._supportsXPath=!!document.evaluate;this._supportsElementExtensions=!!window.HTMLElement;},getRunsLocally:function(){return this._runsLocally;},getEngine:function(){return this._engineName;},getBrowser:function(){return this._browserName;},getVersion:function(){return this._engineVersion;},getMajor:function(){return this._engineVersionMajor;},getMinor:function(){return this._engineVersionMinor;},getRevision:function(){return this._engineVersionRevision;},getBuild:function(){return this._engineVersionBuild;},getEmulation:function(){return this._engineEmulation;},isMshtml:function(){return this._engineNameMshtml;},isGecko:function(){return this._engineNameGecko;},isOpera:function(){return this._engineNameOpera;},isKhtml:function(){return this._engineNameWebkit;},isWebkit:function(){return this._engineNameWebkit;},isSafari2:function(){return this._engineNameWebkit&&(this._engineVersion<420);},isInQuirksMode:function(){return this._engineQuirksMode;},getLocale:function(){return this._browserLocale;},getLocaleVariant:function(){return this._browserLocaleVariant;},getDefaultLocale:function(){return this._defaultLocale;},usesDefaultLocale:function(){return this._browserLocale===this._defaultLocale;},getEngineBoxSizingAttributes:function(){return this._engineBoxSizingAttributes;},getPlatform:function(){return this._browserPlatform;},runsOnWindows:function(){return this._browserPlatformWindows;},runsOnMacintosh:function(){return this._browserPlatformMacintosh;},runsOnUnix:function(){return this._browserPlatformUnix;},runsOnIphone:function(){return this._browserPlatformIphone;},supportsVml:function(){return this._gfxVml;},supportsSvg:function(){return this._gfxSvg;},usesSvgBuiltin:function(){return this._gfxSvgBuiltin;},usesSvgPlugin:function(){return this._gfxSvgPlugin;},isFireBugActive:function(){return this._fireBugActive;},supportsTextContent:function(){return this._supportsTextContent;},supportsInnerText:function(){return this._supportsInnerText;},getInstance:function(){return this;}},defer:function($0,$1,$2){$0.__init();qx.core.Variant.define($[1],[$[16],$[13],$[137],$[94]],qx.core.Client.getInstance().getEngine());}}); |
| 9 |
qx.Class.define($[1132],{statics:{isEmpty:function($0){for(var $1 in $0){return false;}return true;},hasMinLength:function($0,$1){var $2=0;for(var $3 in $0){if((++$2)>=$1){return true;}}return false;},getLength:function($0){var $1=0;for(var $2 in $0){$1++;}return $1;},_shadowedKeys:[$[1749],$[741],$[1695],$[452],$[1159]],getKeys:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=[];for(var $2 in $0){$1.push($2);}for(var $3=0,$4=this._shadowedKeys,$5=$4.length;$3<$5;$3++){if($0.hasOwnProperty($4[$3])){$1.push($4[$3]);}}return $1;},"default":function($0){var $1=[];for(var $2 in $0){$1.push($2);}return $1;}}),getKeysAsString:function($0){var $1=qx.lang.Object.getKeys($0);if($1.length==0){return $[0];}return $[109]+$1.join($[1004])+$[109];},getValues:function($0){var $1=[];for(var $2 in $0){$1.push($0[$2]);}return $1;},mergeWith:function($0,$1,$2){if($2===undefined){$2=true;}for(var $3 in $1){if($2||$0[$3]===undefined){$0[$3]=$1[$3];}}return $0;},carefullyMergeWith:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee);return qx.lang.Object.mergeWith($0,$1,false);},merge:function($0,$1){var $2=arguments.length;for(var $3=1;$3<$2;$3++){qx.lang.Object.mergeWith($0,arguments[$3]);}return $0;},copy:function($0){var $1={};for(var $2 in $0){$1[$2]=$0[$2];}return $1;},invert:function($0){var $1={};for(var $2 in $0){$1[$0[$2].toString()]=$2;}return $1;},getKeyFromValue:function($0,$1){for(var $2 in $0){if($0[$2]===$1){return $2;}}return null;},select:function($0,$1){return $1[$0];},fromArray:function($0){var $1={};for(var $2=0,$3=$0.length;$2<$3;$2++){{};$1[$0[$2].toString()]=true;}return $1;}}}); |
9 |
qx.Class.define($[1150],{statics:{isEmpty:function($0){for(var $1 in $0){return false;}return true;},hasMinLength:function($0,$1){var $2=0;for(var $3 in $0){if((++$2)>=$1){return true;}}return false;},getLength:function($0){var $1=0;for(var $2 in $0){$1++;}return $1;},_shadowedKeys:[$[1769],$[752],$[1716],$[460],$[1178]],getKeys:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=[];for(var $2 in $0){$1.push($2);}for(var $3=0,$4=this._shadowedKeys,$5=$4.length;$3<$5;$3++){if($0.hasOwnProperty($4[$3])){$1.push($4[$3]);}}return $1;},"default":function($0){var $1=[];for(var $2 in $0){$1.push($2);}return $1;}}),getKeysAsString:function($0){var $1=qx.lang.Object.getKeys($0);if($1.length==0){return $[0];}return $[112]+$1.join($[1022])+$[112];},getValues:function($0){var $1=[];for(var $2 in $0){$1.push($0[$2]);}return $1;},mergeWith:function($0,$1,$2){if($2===undefined){$2=true;}for(var $3 in $1){if($2||$0[$3]===undefined){$0[$3]=$1[$3];}}return $0;},carefullyMergeWith:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee);return qx.lang.Object.mergeWith($0,$1,false);},merge:function($0,$1){var $2=arguments.length;for(var $3=1;$3<$2;$3++){qx.lang.Object.mergeWith($0,arguments[$3]);}return $0;},copy:function($0){var $1={};for(var $2 in $0){$1[$2]=$0[$2];}return $1;},invert:function($0){var $1={};for(var $2 in $0){$1[$0[$2].toString()]=$2;}return $1;},getKeyFromValue:function($0,$1){for(var $2 in $0){if($0[$2]===$1){return $2;}}return null;},select:function($0,$1){return $1[$0];},fromArray:function($0){var $1={};for(var $2=0,$3=$0.length;$2<$3;$2++){{};$1[$0[$2].toString()]=true;}return $1;}}}); |
| 10 |
qx.Class.define($[602],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}if($1.implement&&!($1.implement instanceof Array)){$1.implement=[$1.implement];}if(!$1.hasOwnProperty($[629])&&!$1.type){$1.type=$[178];}{};var $2=this.__createClass($0,$1.type,$1.extend,$1.statics,$1.construct,$1.destruct);if($1.extend){if($1.properties){this.__addProperties($2,$1.properties,true);}if($1.members){this.__addMembers($2,$1.members,true,true,false);}if($1.events){this.__addEvents($2,$1.events,true);}if($1.include){for(var $3=0,$4=$1.include.length;$3<$4;$3++){this.__addMixin($2,$1.include[$3],false);}}}if($1.settings){for(var $5 in $1.settings){qx.core.Setting.define($5,$1.settings[$5]);}}if($1.variants){for(var $5 in $1.variants){qx.core.Variant.define($5,$1.variants[$5].allowedValues,$1.variants[$5].defaultValue);}}if($1.defer){$1.defer.self=$2;$1.defer($2,$2.prototype,{add:function($0,$1){var $6={};$6[$0]=$1;qx.Class.__addProperties($2,$6,true);}});}if($1.implement){for(var $3=0,$4=$1.implement.length;$3<$4;$3++){this.__addInterface($2,$1.implement[$3]);}}},createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}{};$3[$4]=$1;return $4;},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},getByName:function($0){return this.__registry[$0];},include:function($0,$1){{};qx.Class.__addMixin($0,$1,false);},patch:function($0,$1){{};qx.Class.__addMixin($0,$1,true);},isSubClassOf:function($0,$1){if(!$0){return false;}if($0==$1){return true;}if($0.prototype instanceof $1){return true;}return false;},getPropertyDefinition:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0.$$properties[$1];}$0=$0.superclass;}return null;},getByProperty:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0;}$0=$0.superclass;}return null;},hasProperty:function($0,$1){return !!this.getPropertyDefinition($0,$1);},getEventType:function($0,$1){var $0=$0.constructor;while($0.superclass){if($0.$$events&&$0.$$events[$1]!==undefined){return $0.$$events[$1];}$0=$0.superclass;}return null;},supportsEvent:function($0,$1){return !!this.getEventType($0,$1);},hasOwnMixin:function($0,$1){return $0.$$includes&&$0.$$includes.indexOf($1)!==-1;},getByMixin:function($0,$1){var $2,$3,$4;while($0){if($0.$$includes){$2=$0.$$flatIncludes;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getMixins:function($0){var $1=[];while($0){if($0.$$includes){$1.push.apply($1,$0.$$flatIncludes);}$0=$0.superclass;}return $1;},hasMixin:function($0,$1){return !!this.getByMixin($0,$1);},hasOwnInterface:function($0,$1){return $0.$$implements&&$0.$$implements.indexOf($1)!==-1;},getByInterface:function($0,$1){var $2,$3,$4;while($0){if($0.$$implements){$2=$0.$$flatImplements;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getInterfaces:function($0){var $1=[];while($0){if($0.$$implements){$1.push.apply($1,$0.$$flatImplements);}$0=$0.superclass;}return $1;},hasInterface:function($0,$1){return !!this.getByInterface($0,$1);},implementsInterface:function($0,$1){if(this.hasInterface($0,$1)){return true;}try{qx.Interface.assert($0,$1,false);return true;}catch(ex){}return false;},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;this.$$instance=new this;delete this.$$allowconstruct;}return this.$$instance;},genericToString:function(){return $[1449]+this.classname+$[115];},__registry:qx.core.Bootstrap.__registry,__allowedKeys:null,__staticAllowedKeys:null,__validateConfig:function(){},__createClass:function($0,$1,$2,$3,$4,$5){var $6;if(!$2&&qx.core.Variant.isSet($[108],$[55])){$6=$3||{};}else{$6={};if($2){if(!$4){$4=this.__createDefaultConstructor();}$6=this.__wrapConstructor($4,$0,$1);}if($3){var $7;for(var $8=0,$9=qx.lang.Object.getKeys($3),$a=$9.length;$8<$a;$8++){$7=$9[$8];if(qx.core.Variant.isSet($[108],$[23])){var $b=$3[$7];if($b instanceof Function){$b=qx.core.Aspect.wrap($0+$[24]+$7,$b,$[178]);}$6[$7]=$b;}else{$6[$7]=$3[$7];}}}}var $c=this.createNamespace($0,$6,false);$6.name=$6.classname=$0;$6.basename=$c;if(!$6.hasOwnProperty($[452])){$6.toString=this.genericToString;}if($2){var $d=$2.prototype;var $e=this.__createEmptyFunction();$e.prototype=$d;var $f=new $e;$6.prototype=$f;$f.name=$f.classname=$0;$f.basename=$c;$4.base=$6.superclass=$2;$4.self=$6.constructor=$f.constructor=$6;if($5){if(qx.core.Variant.isSet($[108],$[23])){$5=qx.core.Aspect.wrap($0,$5,$[851]);}$6.$$destructor=$5;}}{};this.__registry[$0]=$6;return $6;},__addEvents:function($0,$1,$2){var $3,$3;if($0.$$events){for(var $3 in $1){$0.$$events[$3]=$1[$3];}}else{$0.$$events=$1;}},__addProperties:function($0,$1,$2){var $3;if($2===undefined){$2=false;}var $4=!!$0.$$propertiesAttached;for(var $5 in $1){$3=$1[$5];{};$3.name=$5;if(!$3.refine){if($0.$$properties===undefined){$0.$$properties={};}$0.$$properties[$5]=$3;}if($3.init!==undefined){$0.prototype[$[332]+$5]=$3.init;}if($3.event!==undefined){var $6={};$6[$3.event]=$[457];this.__addEvents($0,$6,$2);}if($3.inheritable){qx.core.Property.$$inheritable[$5]=true;}if($4){qx.core.Property.attachMethods($0,$5,$3);}if($3._fast){qx.core.LegacyProperty.addFastProperty($3,$0.prototype);}else if($3._cached){qx.core.LegacyProperty.addCachedProperty($3,$0.prototype);}else if($3._legacy){qx.core.LegacyProperty.addProperty($3,$0.prototype);}}},__validateProperty:null,__addMembers:function($0,$1,$2,$3,$4){var $5=$0.prototype;var $6,$7;for(var $8=0,$9=qx.lang.Object.getKeys($1),$a=$9.length;$8<$a;$8++){$6=$9[$8];$7=$1[$6];{};if($3!==false&&$7 instanceof Function){if($4==true){$7=this.__mixinMemberWrapper($7,$5[$6]);}else{if($5[$6]){$7.base=$5[$6];}$7.self=$0;}if(qx.core.Variant.isSet($[108],$[23])){$7=qx.core.Aspect.wrap($0.classname+$[24]+$6,$7,$[1136]);}}$5[$6]=$7;}},__mixinMemberWrapper:function($0,$1){if($1){return function(){var $2=$0.base;$0.base=$1;var $3=$0.apply(this,arguments);$0.base=$2;return $3;};}else{return $0;}},__addInterface:function($0,$1){{};var $2=qx.Interface.flatten([$1]);if($0.$$implements){$0.$$implements.push($1);$0.$$flatImplements.push.apply($0.$$flatImplements,$2);}else{$0.$$implements=[$1];$0.$$flatImplements=$2;}},__addMixin:function($0,$1,$2){{};var $3=qx.Mixin.flatten([$1]);var $4;for(var $5=0,$6=$3.length;$5<$6;$5++){$4=$3[$5];if($4.$$events){this.__addEvents($0,$4.$$events,$2);}if($4.$$properties){this.__addProperties($0,$4.$$properties,$2);}if($4.$$members){this.__addMembers($0,$4.$$members,$2,$2,$2);}}if($0.$$includes){$0.$$includes.push($1);$0.$$flatIncludes.push.apply($0.$$flatIncludes,$3);}else{$0.$$includes=[$1];$0.$$flatIncludes=$3;}},__createDefaultConstructor:function(){function $0(){arguments.callee.base.apply(this,arguments);}return $0;},__createEmptyFunction:function(){return function(){};},__wrapConstructor:function($0,$1,$2){var $3=[];$3.push($[1683]);{};$3.push($[670]);$3.push($[1595]);$3.push($[842]);$3.push($[891]);$3.push($[872]);$3.push($[895],$1,$[1080]);$3.push($[1111]);var $4=new Function($3.join($[0]));if(qx.core.Variant.isSet($[108],$[23])){var $5=qx.core.Aspect.wrap($1,$4,$[1463]);$4.$$original=$0;$4.constructor=$5;$4=$5;}if($2===$[18]){$4.getInstance=this.getInstance;}$4.$$original=$0;$0.wrapper=$4;return $4;}},defer:function($0){if(qx.core.Variant.isSet($[108],$[23])){for(var $1 in $0){if($0[$1] instanceof Function){$0[$1]=qx.core.Aspect.wrap($[537]+$1,$0[$1],$[178]);}}}}}); |
10 |
qx.Class.define($[615],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}if($1.implement&&!($1.implement instanceof Array)){$1.implement=[$1.implement];}if(!$1.hasOwnProperty($[642])&&!$1.type){$1.type=$[179];}{};var $2=this.__createClass($0,$1.type,$1.extend,$1.statics,$1.construct,$1.destruct);if($1.extend){if($1.properties){this.__addProperties($2,$1.properties,true);}if($1.members){this.__addMembers($2,$1.members,true,true,false);}if($1.events){this.__addEvents($2,$1.events,true);}if($1.include){for(var $3=0,$4=$1.include.length;$3<$4;$3++){this.__addMixin($2,$1.include[$3],false);}}}if($1.settings){for(var $5 in $1.settings){qx.core.Setting.define($5,$1.settings[$5]);}}if($1.variants){for(var $5 in $1.variants){qx.core.Variant.define($5,$1.variants[$5].allowedValues,$1.variants[$5].defaultValue);}}if($1.defer){$1.defer.self=$2;$1.defer($2,$2.prototype,{add:function($0,$1){var $6={};$6[$0]=$1;qx.Class.__addProperties($2,$6,true);}});}if($1.implement){for(var $3=0,$4=$1.implement.length;$3<$4;$3++){this.__addInterface($2,$1.implement[$3]);}}},createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}{};$3[$4]=$1;return $4;},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},getByName:function($0){return this.__registry[$0];},include:function($0,$1){{};qx.Class.__addMixin($0,$1,false);},patch:function($0,$1){{};qx.Class.__addMixin($0,$1,true);},isSubClassOf:function($0,$1){if(!$0){return false;}if($0==$1){return true;}if($0.prototype instanceof $1){return true;}return false;},getPropertyDefinition:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0.$$properties[$1];}$0=$0.superclass;}return null;},getByProperty:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0;}$0=$0.superclass;}return null;},hasProperty:function($0,$1){return !!this.getPropertyDefinition($0,$1);},getEventType:function($0,$1){var $0=$0.constructor;while($0.superclass){if($0.$$events&&$0.$$events[$1]!==undefined){return $0.$$events[$1];}$0=$0.superclass;}return null;},supportsEvent:function($0,$1){return !!this.getEventType($0,$1);},hasOwnMixin:function($0,$1){return $0.$$includes&&$0.$$includes.indexOf($1)!==-1;},getByMixin:function($0,$1){var $2,$3,$4;while($0){if($0.$$includes){$2=$0.$$flatIncludes;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getMixins:function($0){var $1=[];while($0){if($0.$$includes){$1.push.apply($1,$0.$$flatIncludes);}$0=$0.superclass;}return $1;},hasMixin:function($0,$1){return !!this.getByMixin($0,$1);},hasOwnInterface:function($0,$1){return $0.$$implements&&$0.$$implements.indexOf($1)!==-1;},getByInterface:function($0,$1){var $2,$3,$4;while($0){if($0.$$implements){$2=$0.$$flatImplements;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getInterfaces:function($0){var $1=[];while($0){if($0.$$implements){$1.push.apply($1,$0.$$flatImplements);}$0=$0.superclass;}return $1;},hasInterface:function($0,$1){return !!this.getByInterface($0,$1);},implementsInterface:function($0,$1){if(this.hasInterface($0,$1)){return true;}try{qx.Interface.assert($0,$1,false);return true;}catch(ex){}return false;},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;this.$$instance=new this;delete this.$$allowconstruct;}return this.$$instance;},genericToString:function(){return $[1468]+this.classname+$[120];},__registry:qx.core.Bootstrap.__registry,__allowedKeys:null,__staticAllowedKeys:null,__validateConfig:function(){},__createClass:function($0,$1,$2,$3,$4,$5){var $6;if(!$2&&qx.core.Variant.isSet($[110],$[59])){$6=$3||{};}else{$6={};if($2){if(!$4){$4=this.__createDefaultConstructor();}$6=this.__wrapConstructor($4,$0,$1);}if($3){var $7;for(var $8=0,$9=qx.lang.Object.getKeys($3),$a=$9.length;$8<$a;$8++){$7=$9[$8];if(qx.core.Variant.isSet($[110],$[26])){var $b=$3[$7];if($b instanceof Function){$b=qx.core.Aspect.wrap($0+$[24]+$7,$b,$[179]);}$6[$7]=$b;}else{$6[$7]=$3[$7];}}}}var $c=this.createNamespace($0,$6,false);$6.name=$6.classname=$0;$6.basename=$c;if(!$6.hasOwnProperty($[460])){$6.toString=this.genericToString;}if($2){var $d=$2.prototype;var $e=this.__createEmptyFunction();$e.prototype=$d;var $f=new $e;$6.prototype=$f;$f.name=$f.classname=$0;$f.basename=$c;$4.base=$6.superclass=$2;$4.self=$6.constructor=$f.constructor=$6;if($5){if(qx.core.Variant.isSet($[110],$[26])){$5=qx.core.Aspect.wrap($0,$5,$[867]);}$6.$$destructor=$5;}}{};this.__registry[$0]=$6;return $6;},__addEvents:function($0,$1,$2){var $3,$3;if($0.$$events){for(var $3 in $1){$0.$$events[$3]=$1[$3];}}else{$0.$$events=$1;}},__addProperties:function($0,$1,$2){var $3;if($2===undefined){$2=false;}var $4=!!$0.$$propertiesAttached;for(var $5 in $1){$3=$1[$5];{};$3.name=$5;if(!$3.refine){if($0.$$properties===undefined){$0.$$properties={};}$0.$$properties[$5]=$3;}if($3.init!==undefined){$0.prototype[$[338]+$5]=$3.init;}if($3.event!==undefined){var $6={};$6[$3.event]=$[465];this.__addEvents($0,$6,$2);}if($3.inheritable){qx.core.Property.$$inheritable[$5]=true;}if($4){qx.core.Property.attachMethods($0,$5,$3);}if($3._fast){qx.core.LegacyProperty.addFastProperty($3,$0.prototype);}else if($3._cached){qx.core.LegacyProperty.addCachedProperty($3,$0.prototype);}else if($3._legacy){qx.core.LegacyProperty.addProperty($3,$0.prototype);}}},__validateProperty:null,__addMembers:function($0,$1,$2,$3,$4){var $5=$0.prototype;var $6,$7;for(var $8=0,$9=qx.lang.Object.getKeys($1),$a=$9.length;$8<$a;$8++){$6=$9[$8];$7=$1[$6];{};if($3!==false&&$7 instanceof Function){if($4==true){$7=this.__mixinMemberWrapper($7,$5[$6]);}else{if($5[$6]){$7.base=$5[$6];}$7.self=$0;}if(qx.core.Variant.isSet($[110],$[26])){$7=qx.core.Aspect.wrap($0.classname+$[24]+$6,$7,$[1154]);}}$5[$6]=$7;}},__mixinMemberWrapper:function($0,$1){if($1){return function(){var $2=$0.base;$0.base=$1;var $3=$0.apply(this,arguments);$0.base=$2;return $3;};}else{return $0;}},__addInterface:function($0,$1){{};var $2=qx.Interface.flatten([$1]);if($0.$$implements){$0.$$implements.push($1);$0.$$flatImplements.push.apply($0.$$flatImplements,$2);}else{$0.$$implements=[$1];$0.$$flatImplements=$2;}},__addMixin:function($0,$1,$2){{};var $3=qx.Mixin.flatten([$1]);var $4;for(var $5=0,$6=$3.length;$5<$6;$5++){$4=$3[$5];if($4.$$events){this.__addEvents($0,$4.$$events,$2);}if($4.$$properties){this.__addProperties($0,$4.$$properties,$2);}if($4.$$members){this.__addMembers($0,$4.$$members,$2,$2,$2);}}if($0.$$includes){$0.$$includes.push($1);$0.$$flatIncludes.push.apply($0.$$flatIncludes,$3);}else{$0.$$includes=[$1];$0.$$flatIncludes=$3;}},__createDefaultConstructor:function(){function $0(){arguments.callee.base.apply(this,arguments);}return $0;},__createEmptyFunction:function(){return function(){};},__wrapConstructor:function($0,$1,$2){var $3=[];$3.push($[1703]);{};$3.push($[681]);$3.push($[1617]);$3.push($[858]);$3.push($[909]);$3.push($[890]);$3.push($[913],$1,$[1098]);$3.push($[1129]);var $4=new Function($3.join($[0]));if(qx.core.Variant.isSet($[110],$[26])){var $5=qx.core.Aspect.wrap($1,$4,$[1483]);$4.$$original=$0;$4.constructor=$5;$4=$5;}if($2===$[20]){$4.getInstance=this.getInstance;}$4.$$original=$0;$0.wrapper=$4;return $4;}},defer:function($0){if(qx.core.Variant.isSet($[110],$[26])){for(var $1 in $0){if($0[$1] instanceof Function){$0[$1]=qx.core.Aspect.wrap($[545]+$1,$0[$1],$[179]);}}}}}); |
| 11 |
qx.Class.define($[706],{statics:{define:function($0,$1){if($1){if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2=$1.statics?$1.statics:{};for(var $3 in $2){$2[$3].mixin=$2;}if($1.construct){$2.$$constructor=$1.construct;}if($1.include){$2.$$includes=$1.include;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}for(var $3 in $2.$$members){if($2.$$members[$3] instanceof Function){$2.$$members[$3].mixin=$2;}}if($1.events){$2.$$events=$1.events;}if($1.destruct){$2.$$destructor=$1.destruct;}}else{var $2={};}$2.$$type=$[1710];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);this.__registry[$0]=$2;return $2;},checkCompatibility:function($0){var $1=this.flatten($0);var $2=$1.length;if($2<2){return true;}var $3={};var $4={};var $5={};var $6;for(var $7=0;$7<$2;$7++){$6=$1[$7];for(var $8 in $6.events){if($5[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$5[$8]+'" in member "'+$8+'"!');}$5[$8]=$6.name;}for(var $8 in $6.properties){if($3[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$3[$8]+'" in property "'+$8+'"!');}$3[$8]=$6.name;}for(var $8 in $6.members){if($4[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$4[$8]+'" in member "'+$8+'"!');}$4[$8]=$6.name;}}return true;},isCompatible:function($0,$1){var $2=qx.Class.getMixins($1);$2.push($0);return qx.Mixin.checkCompatibility($2);},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$includes){$1.push.apply($1,this.flatten($0[$2].$$includes));}}return $1;},genericToString:function(){return $[769]+this.name+$[115];},__registry:{},__allowedKeys:null,__validateConfig:function(){}}}); |
11 |
qx.Class.define($[717],{statics:{define:function($0,$1){if($1){if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2=$1.statics?$1.statics:{};for(var $3 in $2){$2[$3].mixin=$2;}if($1.construct){$2.$$constructor=$1.construct;}if($1.include){$2.$$includes=$1.include;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}for(var $3 in $2.$$members){if($2.$$members[$3] instanceof Function){$2.$$members[$3].mixin=$2;}}if($1.events){$2.$$events=$1.events;}if($1.destruct){$2.$$destructor=$1.destruct;}}else{var $2={};}$2.$$type=$[1731];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);this.__registry[$0]=$2;return $2;},checkCompatibility:function($0){var $1=this.flatten($0);var $2=$1.length;if($2<2){return true;}var $3={};var $4={};var $5={};var $6;for(var $7=0;$7<$2;$7++){$6=$1[$7];for(var $8 in $6.events){if($5[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$5[$8]+'" in member "'+$8+'"!');}$5[$8]=$6.name;}for(var $8 in $6.properties){if($3[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$3[$8]+'" in property "'+$8+'"!');}$3[$8]=$6.name;}for(var $8 in $6.members){if($4[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$4[$8]+'" in member "'+$8+'"!');}$4[$8]=$6.name;}}return true;},isCompatible:function($0,$1){var $2=qx.Class.getMixins($1);$2.push($0);return qx.Mixin.checkCompatibility($2);},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$includes){$1.push.apply($1,this.flatten($0[$2].$$includes));}}return $1;},genericToString:function(){return $[781]+this.name+$[120];},__registry:{},__allowedKeys:null,__validateConfig:function(){}}}); |
| 12 |
qx.Class.define($[552],{statics:{define:function($0,$1){if($1){if($1.extend&&!($1.extend instanceof Array)){$1.extend=[$1.extend];}{};var $2=$1.statics?$1.statics:{};if($1.extend){$2.$$extends=$1.extend;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}if($1.events){$2.$$events=$1.events;}}else{var $2={};}$2.$$type=$[922];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);qx.Interface.__registry[$0]=$2;return $2;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$extends){$1.push.apply($1,this.flatten($0[$2].$$extends));}}return $1;},assert:function($0,$1,$2){var $3=$1.$$members;if($3){var $4=$0.prototype;for(var $5 in $3){if(typeof $3[$5]===$[37]){if(typeof $4[$5]!==$[37]){throw new Error('Implementation of method "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}if($2===true&&!qx.Class.hasInterface($0,$1)){$4[$5]=this.__wrapInterfaceMember($1,$4[$5],$5,$3[$5]);}}else{if(typeof $4[$5]===undefined){if(typeof $4[$5]!==$[37]){throw new Error('Implementation of member "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}}}}}if($1.$$properties){for(var $5 in $1.$$properties){if(!qx.Class.hasProperty($0,$5)){throw new Error('The property "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}if($1.$$events){for(var $5 in $1.$$events){if(!qx.Class.supportsEvent($0,$5)){throw new Error('The event "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}var $6=$1.$$extends;if($6){for(var $7=0,$8=$6.length;$7<$8;$7++){this.assert($0,$6[$7],$2);}}},genericToString:function(){return $[911]+this.name+$[115];},__registry:{},__wrapInterfaceMember:function(){},__allowedKeys:null,__validateConfig:function(){}}}); |
12 |
qx.Class.define($[561],{statics:{define:function($0,$1){if($1){if($1.extend&&!($1.extend instanceof Array)){$1.extend=[$1.extend];}{};var $2=$1.statics?$1.statics:{};if($1.extend){$2.$$extends=$1.extend;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}if($1.events){$2.$$events=$1.events;}}else{var $2={};}$2.$$type=$[941];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);qx.Interface.__registry[$0]=$2;return $2;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$extends){$1.push.apply($1,this.flatten($0[$2].$$extends));}}return $1;},assert:function($0,$1,$2){var $3=$1.$$members;if($3){var $4=$0.prototype;for(var $5 in $3){if(typeof $3[$5]===$[38]){if(typeof $4[$5]!==$[38]){throw new Error('Implementation of method "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}if($2===true&&!qx.Class.hasInterface($0,$1)){$4[$5]=this.__wrapInterfaceMember($1,$4[$5],$5,$3[$5]);}}else{if(typeof $4[$5]===undefined){if(typeof $4[$5]!==$[38]){throw new Error('Implementation of member "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}}}}}if($1.$$properties){for(var $5 in $1.$$properties){if(!qx.Class.hasProperty($0,$5)){throw new Error('The property "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}if($1.$$events){for(var $5 in $1.$$events){if(!qx.Class.supportsEvent($0,$5)){throw new Error('The event "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}var $6=$1.$$extends;if($6){for(var $7=0,$8=$6.length;$7<$8;$7++){this.assert($0,$6[$7],$2);}}},genericToString:function(){return $[930]+this.name+$[120];},__registry:{},__wrapInterfaceMember:function(){},__allowedKeys:null,__validateConfig:function(){}}}); |
| 13 |
qx.Mixin.define($[1334],{members:{tr:function($0,$1){var $2=qx.locale.Manager;if($2){return $2.tr.apply($2,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},trn:function($0,$1,$2,$3){var $4=qx.locale.Manager;if($4){return $4.trn.apply($4,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},marktr:function($0){var $1=qx.locale.Manager;if($1){return $1.marktr.apply($1,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");}}}); |
13 |
qx.Mixin.define($[1354],{members:{tr:function($0,$1){var $2=qx.locale.Manager;if($2){return $2.tr.apply($2,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},trn:function($0,$1,$2,$3){var $4=qx.locale.Manager;if($4){return $4.trn.apply($4,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},marktr:function($0){var $1=qx.locale.Manager;if($1){return $1.marktr.apply($1,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");}}}); |
| 14 |
qx.Mixin.define($[1557],{members:{getLogger:function(){if(qx.log.Logger){return qx.log.Logger.getClassLogger(this.constructor);}throw new Error("To enable logging please include qx.log.Logger into your build!");},debug:function($0,$1){this.getLogger().debug($0,this.toHashCode(),$1);},info:function($0,$1){this.getLogger().info($0,this.toHashCode(),$1);},warn:function($0,$1){this.getLogger().warn($0,this.toHashCode(),$1);},error:function($0,$1){this.getLogger().error($0,this.toHashCode(),$1);},printStackTrace:function(){this.getLogger().printStackTrace();}}}); |
14 |
qx.Mixin.define($[1579],{members:{getLogger:function(){if(qx.log.Logger){return qx.log.Logger.getClassLogger(this.constructor);}throw new Error("To enable logging please include qx.log.Logger into your build!");},debug:function($0,$1){this.getLogger().debug($0,this.toHashCode(),$1);},info:function($0,$1){this.getLogger().info($0,this.toHashCode(),$1);},warn:function($0,$1){this.getLogger().warn($0,this.toHashCode(),$1);},error:function($0,$1){this.getLogger().error($0,this.toHashCode(),$1);},printStackTrace:function(){this.getLogger().printStackTrace();}}}); |
| 15 |
qx.Mixin.define($[1269],{members:{setUserData:function($0,$1){if(!this.__userData){this.__userData={};}this.__userData[$0]=$1;},getUserData:function($0){if(!this.__userData){return null;}return this.__userData[$0];}},destruct:function(){this._disposeFields($[1675]);}}); |
15 |
qx.Mixin.define($[1292],{members:{setUserData:function($0,$1){if(!this.__userData){this.__userData={};}this.__userData[$0]=$1;},getUserData:function($0){if(!this.__userData){return null;}return this.__userData[$0];}},destruct:function(){this._disposeFields($[1696]);}}); |
| 16 |
qx.Class.define($[888],{statics:{getSetterName:function($0){return qx.core.Property.$$method.set[$0];},getGetterName:function($0){return qx.core.Property.$$method.get[$0];},getResetterName:function($0){return qx.core.Property.$$method.reset[$0];},addFastProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[1348]+$3;var $5=$[114]+$3;var $6=$[25]+$3;var $7=$[314]+$3;$1[$4]=typeof $0.defaultValue!==$[65]?$0.defaultValue:null;if($0.noCompute){$1[$5]=function(){return this[$4];};}else{$1[$5]=function(){return this[$4]==null?this[$4]=this[$7]():this[$4];};}$1[$5].self=$1.constructor;if($0.setOnlyOnce){$1[$6]=function($8){this[$4]=$8;this[$6]=null;return $8;};}else{$1[$6]=function($8){return this[$4]=$8;};}$1[$6].self=$1.constructor;if(!$0.noCompute){$1[$7]=function(){return null;};$1[$7].self=$1.constructor;}},addCachedProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[993]+$3;var $5=$[314]+$3;var $6=$[1326]+$3;if(typeof $0.defaultValue!==$[65]){$1[$4]=$0.defaultValue;}$1[$[114]+$3]=function(){if(this[$4]==null){this[$4]=this[$5]();}return this[$4];};$1[$[375]+$3]=function(){if(this[$4]!=null){this[$4]=null;if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}}};$1[$[432]+$3]=function(){var $7=this[$4];var $8=this[$5]();if($8!=$7){this[$4]=$8;this[$6]($8,$7);return true;}return false;};$1[$6]=function($8,$7){};$1[$5]=function(){return null;};$1[$[114]+$3].self=$1.constructor;$1[$[375]+$3].self=$1.constructor;$1[$[432]+$3].self=$1.constructor;},addProperty:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1056]);if(typeof $0!==$[28]){throw new Error("AddProperty: Param should be an object!");}if(typeof $0.name!==$[8]){throw new Error("AddProperty: Malformed input parameters: name needed!");}if($0.dispose===undefined&&($0.type==$[37]||$0.type==$[28])){$0.dispose=true;}$0.method=qx.lang.String.toFirstUp($0.name);$0.implMethod=$0.impl?qx.lang.String.toFirstUp($0.impl):$0.method;if($0.defaultValue==undefined){$0.defaultValue=null;}$0.allowNull=$0.allowNull!==false;$0.allowMultipleArguments=$0.allowMultipleArguments===true;if(typeof $0.type===$[8]){$0.hasType=true;}else if(typeof $0.type!==$[65]){throw new Error("AddProperty: Invalid type definition for property "+$0.name+": "+$0.type);}else{$0.hasType=false;}if(typeof $0.instance===$[8]){$0.hasInstance=true;}else if(typeof $0.instance!==$[65]){throw new Error("AddProperty: Invalid instance definition for property "+$0.name+": "+$0.instance);}else{$0.hasInstance=false;}if(typeof $0.classname===$[8]){$0.hasClassName=true;}else if(typeof $0.classname!==$[65]){throw new Error("AddProperty: Invalid classname definition for property "+$0.name+": "+$0.classname);}else{$0.hasClassName=false;}$0.hasConvert=$0.convert!=null;$0.hasPossibleValues=$0.possibleValues!=null;$0.addToQueue=$0.addToQueue||false;$0.addToQueueRuntime=$0.addToQueueRuntime||false;$0.up=$0.name.toUpperCase();var $2=qx.core.Property.$$store.user[$0.name]=$[500]+$0.name;var $3=$[107]+$0.method;var $4=$[1317]+$0.implMethod;var $5=$[713]+$0.implMethod;var $6=qx.core.Property.$$method;if(!$6.set[$0.name]){$6.set[$0.name]=$[25]+$0.method;$6.get[$0.name]=$[114]+$0.method;$6.reset[$0.name]=$[106]+$0.method;}$1[$2]=$0.defaultValue;$1[$[114]+$0.method]=function(){return this[$2];};$1[$[720]+$0.method]=function($7){return this[$2]=$7;};$1[$[106]+$0.method]=function(){return this[$[25]+$0.method]($0.defaultValue);};if($0.type===$[58]){$1[$[417]+$0.method]=function($7){return this[$[25]+$0.method](!this[$2]);};}if($0.allowMultipleArguments||$0.hasConvert||$0.hasInstance||$0.hasClassName||$0.hasPossibleValues||$0.hasUnitDetection||$0.addToQueue||$0.addToQueueRuntime||$0.addToStateQueue){$1[$[25]+$0.method]=function($7){if($0.allowMultipleArguments&&arguments.length>1){$7=qx.lang.Array.fromArguments(arguments);}if($0.hasConvert){try{$7=$0.convert.call(this,$7,$0);}catch(ex){throw new Error("Attention! Could not convert new value for "+$0.name+": "+$7+": "+ex);}}var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}if(qx.Class.getByName($0.instance)){if($0.hasInstance&&!($7 instanceof qx.Class.getByName($0.instance))){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an instance of \""+$0.instance+"\"!");}}else{}if($0.hasClassName&&$7.classname!=$0.classname){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an object with the classname \""+$0.classname+"\"!");}if($0.hasPossibleValues&&$7!=null&&!qx.lang.Array.contains($0.possibleValues,$7)){throw new Error("Failed to save value for "+$0.name+". '"+$7+"' is not a possible value!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){return this.error("Modification of property \""+$0.name+"\" failed with exception",ex);}}if($0.addToQueue){this.addToQueue($0.name);}if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}if($0.addToStateQueue){this.addToStateQueue();}if(this.hasEventListeners&&this.hasEventListeners($3)){try{this.createDispatchDataEvent($3,$7);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}else{$1[$[25]+$0.method]=function($7){var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){var $9=new String($7).substring(0,50);this.error("Setting property \""+$0.name+"\" to \""+$9+"\" failed with exception",ex);}}if(this.hasEventListeners&&this.hasEventListeners($3)){var $a=new qx.event.type.DataEvent($3,$7,$8,false);$a.setTarget(this);try{this.dispatchEvent($a,true);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}$1[$[25]+$0.method].self=$1.constructor;if(typeof $0.getAlias===$[8]){$1[$0.getAlias]=$1[$[114]+$0.method];}if(typeof $0.setAlias===$[8]){$1[$0.setAlias]=$1[$[25]+$0.method];}}}}); |
16 |
qx.Class.define($[906],{statics:{getSetterName:function($0){return qx.core.Property.$$method.set[$0];},getGetterName:function($0){return qx.core.Property.$$method.get[$0];},getResetterName:function($0){return qx.core.Property.$$method.reset[$0];},addFastProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[1367]+$3;var $5=$[119]+$3;var $6=$[27]+$3;var $7=$[320]+$3;$1[$4]=typeof $0.defaultValue!==$[68]?$0.defaultValue:null;if($0.noCompute){$1[$5]=function(){return this[$4];};}else{$1[$5]=function(){return this[$4]==null?this[$4]=this[$7]():this[$4];};}$1[$5].self=$1.constructor;if($0.setOnlyOnce){$1[$6]=function($8){this[$4]=$8;this[$6]=null;return $8;};}else{$1[$6]=function($8){return this[$4]=$8;};}$1[$6].self=$1.constructor;if(!$0.noCompute){$1[$7]=function(){return null;};$1[$7].self=$1.constructor;}},addCachedProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[1011]+$3;var $5=$[320]+$3;var $6=$[1347]+$3;if(typeof $0.defaultValue!==$[68]){$1[$4]=$0.defaultValue;}$1[$[119]+$3]=function(){if(this[$4]==null){this[$4]=this[$5]();}return this[$4];};$1[$[380]+$3]=function(){if(this[$4]!=null){this[$4]=null;if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}}};$1[$[440]+$3]=function(){var $7=this[$4];var $8=this[$5]();if($8!=$7){this[$4]=$8;this[$6]($8,$7);return true;}return false;};$1[$6]=function($8,$7){};$1[$5]=function(){return null;};$1[$[119]+$3].self=$1.constructor;$1[$[380]+$3].self=$1.constructor;$1[$[440]+$3].self=$1.constructor;},addProperty:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1074]);if(typeof $0!==$[28]){throw new Error("AddProperty: Param should be an object!");}if(typeof $0.name!==$[7]){throw new Error("AddProperty: Malformed input parameters: name needed!");}if($0.dispose===undefined&&($0.type==$[38]||$0.type==$[28])){$0.dispose=true;}$0.method=qx.lang.String.toFirstUp($0.name);$0.implMethod=$0.impl?qx.lang.String.toFirstUp($0.impl):$0.method;if($0.defaultValue==undefined){$0.defaultValue=null;}$0.allowNull=$0.allowNull!==false;$0.allowMultipleArguments=$0.allowMultipleArguments===true;if(typeof $0.type===$[7]){$0.hasType=true;}else if(typeof $0.type!==$[68]){throw new Error("AddProperty: Invalid type definition for property "+$0.name+": "+$0.type);}else{$0.hasType=false;}if(typeof $0.instance===$[7]){$0.hasInstance=true;}else if(typeof $0.instance!==$[68]){throw new Error("AddProperty: Invalid instance definition for property "+$0.name+": "+$0.instance);}else{$0.hasInstance=false;}if(typeof $0.classname===$[7]){$0.hasClassName=true;}else if(typeof $0.classname!==$[68]){throw new Error("AddProperty: Invalid classname definition for property "+$0.name+": "+$0.classname);}else{$0.hasClassName=false;}$0.hasConvert=$0.convert!=null;$0.hasPossibleValues=$0.possibleValues!=null;$0.addToQueue=$0.addToQueue||false;$0.addToQueueRuntime=$0.addToQueueRuntime||false;$0.up=$0.name.toUpperCase();var $2=qx.core.Property.$$store.user[$0.name]=$[507]+$0.name;var $3=$[109]+$0.method;var $4=$[1338]+$0.implMethod;var $5=$[724]+$0.implMethod;var $6=qx.core.Property.$$method;if(!$6.set[$0.name]){$6.set[$0.name]=$[27]+$0.method;$6.get[$0.name]=$[119]+$0.method;$6.reset[$0.name]=$[108]+$0.method;}$1[$2]=$0.defaultValue;$1[$[119]+$0.method]=function(){return this[$2];};$1[$[731]+$0.method]=function($7){return this[$2]=$7;};$1[$[108]+$0.method]=function(){return this[$[27]+$0.method]($0.defaultValue);};if($0.type===$[54]){$1[$[425]+$0.method]=function($7){return this[$[27]+$0.method](!this[$2]);};}if($0.allowMultipleArguments||$0.hasConvert||$0.hasInstance||$0.hasClassName||$0.hasPossibleValues||$0.hasUnitDetection||$0.addToQueue||$0.addToQueueRuntime||$0.addToStateQueue){$1[$[27]+$0.method]=function($7){if($0.allowMultipleArguments&&arguments.length>1){$7=qx.lang.Array.fromArguments(arguments);}if($0.hasConvert){try{$7=$0.convert.call(this,$7,$0);}catch(ex){throw new Error("Attention! Could not convert new value for "+$0.name+": "+$7+": "+ex);}}var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}if(qx.Class.getByName($0.instance)){if($0.hasInstance&&!($7 instanceof qx.Class.getByName($0.instance))){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an instance of \""+$0.instance+"\"!");}}else{}if($0.hasClassName&&$7.classname!=$0.classname){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an object with the classname \""+$0.classname+"\"!");}if($0.hasPossibleValues&&$7!=null&&!qx.lang.Array.contains($0.possibleValues,$7)){throw new Error("Failed to save value for "+$0.name+". '"+$7+"' is not a possible value!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){return this.error("Modification of property \""+$0.name+"\" failed with exception",ex);}}if($0.addToQueue){this.addToQueue($0.name);}if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}if($0.addToStateQueue){this.addToStateQueue();}if(this.hasEventListeners&&this.hasEventListeners($3)){try{this.createDispatchDataEvent($3,$7);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}else{$1[$[27]+$0.method]=function($7){var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){var $9=new String($7).substring(0,50);this.error("Setting property \""+$0.name+"\" to \""+$9+"\" failed with exception",ex);}}if(this.hasEventListeners&&this.hasEventListeners($3)){var $a=new qx.event.type.DataEvent($3,$7,$8,false);$a.setTarget(this);try{this.dispatchEvent($a,true);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}$1[$[27]+$0.method].self=$1.constructor;if(typeof $0.getAlias===$[7]){$1[$0.getAlias]=$1[$[119]+$0.method];}if(typeof $0.setAlias===$[7]){$1[$0.setAlias]=$1[$[27]+$0.method];}}}}); |
| 17 |
qx.Class.define($[1625],{statics:{__checks:{"Boolean":$[1708],"String":$[1117],"NonEmptyString":$[1121],"Number":$[291],"Integer":$[752],"Float":$[291],"Double":$[291],"Error":$[1620],"RegExp":$[1270],"Object":$[1415],"Array":$[1416],"Map":$[1532],"Function":$[1379],"Date":$[813],"Node":$[1097],"Element":$[1530],"Document":$[1543],"Window":$[554],"Event":$[1527],"Class":$[853],"Mixin":$[679],"Interface":$[705],"Theme":$[1193],"Color":$[857],"Border":$[1141],"Font":$[756],"Label":$[1037]},__dispose:{"Object":true,"Array":true,"Map":true,"Function":true,"Date":true,"Node":true,"Element":true,"Document":true,"Window":true,"Event":true,"Class":true,"Mixin":true,"Interface":true,"Theme":true,"Border":true,"Font":true},$$inherit:$[116],$$idcounter:0,$$store:{user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},style:{},unstyle:{}},$$allowedKeys:{name:$[8],dispose:$[58],inheritable:$[58],nullable:$[58],themeable:$[58],refine:$[58],init:null,apply:$[8],event:$[8],check:null,transform:$[8]},$$allowedGroupKeys:{name:$[8],group:$[28],mode:$[8],themeable:$[58]},$$inheritable:{},refresh:function($0){var $1=$0.getParent();if($1){var $2=$0.constructor;var $3=this.$$store.inherit;var $4=this.$$method.refresh;var $5;{};while($2){$5=$2.$$properties;if($5){for(var $6 in this.$$inheritable){if($5[$6]&&$0[$4[$6]]){{};$0[$4[$6]]($1[$3[$6]]);}}}$2=$2.superclass;}}},attach:function($0){var $1=$0.$$properties;if($1){for(var $2 in $1){this.attachMethods($0,$2,$1[$2]);}}$0.$$propertiesAttached=true;},attachMethods:function($0,$1,$2){if($2._legacy||$2._fast||$2._cached){return;}var $3,$4;if($1.charAt(0)===$[155]){if($1.charAt(1)===$[155]){$3=$[859];$4=qx.lang.String.toFirstUp($1.substring(2));}else{$3=$[155];$4=qx.lang.String.toFirstUp($1.substring(1));}}else{$3=$[0];$4=qx.lang.String.toFirstUp($1);}$2.group?this.__attachGroupMethods($0,$2,$3,$4):this.__attachPropertyMethods($0,$2,$3,$4);},__attachGroupMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;var $6=$1.themeable===true;{};var $7=[];var $8=[];if($6){var $9=[];var $a=[];}var $b=$[675];$7.push($b);if($6){$9.push($b);}if($1.mode==$[103]){var $c=$[830];$7.push($c);if($6){$9.push($c);}}for(var $d=0,$e=$1.group,$f=$e.length;$d<$f;$d++){{};$7.push($[218],this.$$method.set[$e[$d]],$[436],$d,$[386]);$8.push($[218],this.$$method.reset[$e[$d]],$[526]);if($6){{};$9.push($[218],this.$$method.style[$e[$d]],$[436],$d,$[386]);$a.push($[218],this.$$method.unstyle[$e[$d]],$[526]);}}this.$$method.set[$5]=$2+$[25]+$3;$4[this.$$method.set[$5]]=new Function($7.join($[0]));this.$$method.reset[$5]=$2+$[106]+$3;$4[this.$$method.reset[$5]]=new Function($8.join($[0]));if($6){this.$$method.style[$5]=$2+$[44]+$3;$4[this.$$method.style[$5]]=new Function($9.join($[0]));this.$$method.unstyle[$5]=$2+$[120]+$3;$4[this.$$method.unstyle[$5]]=new Function($a.join($[0]));}},__attachPropertyMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;{};if($1.dispose===undefined&&typeof $1.check===$[8]){$1.dispose=this.__dispose[$1.check]||qx.Class.isDefined($1.check)||qx.Interface.isDefined($1.check);}var $6=this.$$method;var $7=this.$$store;$7.user[$5]=$[500]+$5;$7.theme[$5]=$[1095]+$5;$7.init[$5]=$[332]+$5;$7.inherit[$5]=$[585]+$5;$7.useinit[$5]=$[919]+$5;$6.get[$5]=$2+$[114]+$3;$4[$6.get[$5]]=function(){return qx.core.Property.executeOptimizedGetter(this,$0,$5,$[114]);};$6.set[$5]=$2+$[25]+$3;$4[$6.set[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[25],arguments);};$6.reset[$5]=$2+$[106]+$3;$4[$6.reset[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[106]);};if($1.inheritable||$1.apply||$1.event){$6.init[$5]=$2+$[80]+$3;$4[$6.init[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[80],arguments);};}if($1.inheritable){$6.refresh[$5]=$2+$[146]+$3;$4[$6.refresh[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[146],arguments);};}if($1.themeable){$6.style[$5]=$2+$[44]+$3;$4[$6.style[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[44],arguments);};$6.unstyle[$5]=$2+$[120]+$3;$4[$6.unstyle[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[120]);};}if($1.check===$[2]){$4[$2+$[417]+$3]=new Function($[502]+$6.set[$5]+$[902]+$6.get[$5]+$[1278]);$4[$2+$[1540]+$3]=new Function($[502]+$6.get[$5]+$[1501]);}},__errors:{0:$[1371],1:$[1182],2:$[921],3:$[641],4:$[1357],5:$[926]},error:function($0,$1,$2,$3,$4){var $5=$0.constructor.classname;var $6=$[1632]+$2+$[1396]+$5+$[1237]+this.$$method[$3][$2]+$[1367]+$4+$[931];$0.printStackTrace();$0.error($6+(this.__errors[$1]||"Unknown reason: "+$1));throw new Error($6+(this.__errors[$1]||"Unknown reason: "+$1));},__unwrapFunctionFromCode:function($0,$1,$2,$3,$4,$5){var $6=this.$$method[$3][$2];{$1[$6]=new Function($[255],$4.join($[0]));};if(qx.core.Variant.isSet($[108],$[23])){$1[$6]=qx.core.Aspect.wrap($0.classname+$[24]+$6,$1[$6],$[716]);}if($5===undefined){return $0[$6]();}else{return $0[$6]($5[0]);}},executeOptimizedGetter:function($0,$1,$2,$3){var $4=$1.$$properties[$2];var $5=$1.prototype;var $6=[];if($4.inheritable){$6.push($[97],this.$$store.inherit[$2],$[134]);$6.push($[182],this.$$store.inherit[$2],$[10]);$6.push($[388]);}$6.push($[97],this.$$store.user[$2],$[134]);$6.push($[182],this.$$store.user[$2],$[10]);if($4.themeable){$6.push($[183],this.$$store.theme[$2],$[134]);$6.push($[182],this.$$store.theme[$2],$[10]);}if($4.deferredInit&&$4.init===undefined){$6.push($[183],this.$$store.init[$2],$[134]);$6.push($[182],this.$$store.init[$2],$[10]);}$6.push($[388]);if($4.init!==undefined){$6.push($[182],this.$$store.init[$2],$[10]);}else if($4.inheritable||$4.nullable){$6.push($[1336]);}else{$6.push($[1138],$2,$[1296],$1.classname,$[612]);}return this.__unwrapFunctionFromCode($0,$5,$2,$3,$6);},executeOptimizedSetter:function($0,$1,$2,$3,$4){var $5=$1.$$properties[$2];var $6=$1.prototype;var $7=[];var $8=$3===$[25]||$3===$[44]||($3===$[80]&&$5.init===undefined);var $9=$3===$[106]||$3===$[120];var $a=$5.apply||$5.event||$5.inheritable;if($3===$[44]||$3===$[120]){var $b=this.$$store.theme[$2];}else if($3===$[80]){var $b=this.$$store.init[$2];}else{var $b=this.$$store.user[$2];}{if(!$5.nullable||$5.check||$5.inheritable){$7.push($[984]);}if(false&&$3===$[25]){$7.push($[1243]+$2+$[273]+$3+$[308]);}};if($8){if($5.transform){$7.push($[1249],$5.transform,$[826]);}}if($a){if($8){$7.push($[97],$b,$[1231]);}else if($9){$7.push($[97],$b,$[1569]);}}if($5.inheritable){$7.push($[564]);}if($8&&false){if(!$5.nullable){$7.push($[1185]+$2+$[273]+$3+$[308]);}if($5.check!==undefined){if($5.nullable){$7.push($[1119]);}if($5.inheritable){$7.push($[898]);}$7.push($[1619]);if(this.__checks[$5.check]!==undefined){$7.push($[494],this.__checks[$5.check],$[299]);}else if(qx.Class.isDefined($5.check)){$7.push($[755],$5.check,$[299]);}else if(qx.Interface.isDefined($5.check)){$7.push($[1208],$5.check,$[1592]);}else if(typeof $5.check===$[37]){$7.push($[660],$1.classname,$[461],$2);$7.push($[1723]);}else if(typeof $5.check===$[8]){$7.push($[494],$5.check,$[299]);}else if($5.check instanceof Array){$5.checkMap=qx.lang.Object.fromArray($5.check);$7.push($1.classname,$[461],$2);$7.push($[1722]);}else{throw new Error("Could not add check to property "+$2+" of class "+$1.classname);}$7.push($[996]+$2+$[273]+$3+$[308]);}}if(!$a){if($3===$[25]){$7.push($[49],this.$$store.user[$2],$[45]);}else if($3===$[106]){$7.push($[97],this.$$store.user[$2],$[134]);$7.push($[118],this.$$store.user[$2],$[10]);}else if($3===$[44]){$7.push($[49],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[97],this.$$store.theme[$2],$[134]);$7.push($[118],this.$$store.theme[$2],$[10]);}else if($3===$[80]&&$8){$7.push($[49],this.$$store.init[$2],$[45]);}}else{if($5.inheritable){$7.push($[1441],this.$$store.inherit[$2],$[10]);}else{$7.push($[1688]);}$7.push($[97],this.$$store.user[$2],$[208]);if($3===$[25]){if(!$5.inheritable){$7.push($[230],this.$$store.user[$2],$[10]);}$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[106]){if(!$5.inheritable){$7.push($[230],this.$$store.user[$2],$[10]);}$7.push($[118],this.$$store.user[$2],$[10]);$7.push($[97],this.$$store.theme[$2],$[134]);$7.push($[34],this.$$store.theme[$2],$[10]);$7.push($[183],this.$$store.init[$2],$[208]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[102]);}else{if($5.inheritable){$7.push($[34],this.$$store.user[$2],$[10]);}else{$7.push($[1558],this.$$store.user[$2],$[10]);}if($3===$[44]){$7.push($[49],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[118],this.$$store.theme[$2],$[10]);}else if($3===$[80]&&$8){$7.push($[49],this.$$store.init[$2],$[45]);}}$7.push($[102]);if($5.themeable){$7.push($[183],this.$$store.theme[$2],$[208]);if(!$5.inheritable){$7.push($[230],this.$$store.theme[$2],$[10]);}if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[118],this.$$store.theme[$2],$[10]);$7.push($[97],this.$$store.init[$2],$[208]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[102]);}else if($3===$[80]){if($8){$7.push($[49],this.$$store.init[$2],$[45]);}$7.push($[34],this.$$store.theme[$2],$[10]);}else if($3===$[146]){$7.push($[34],this.$$store.theme[$2],$[10]);}$7.push($[102]);}$7.push($[183],this.$$store.useinit[$2],$[949]);if(!$5.inheritable){$7.push($[230],this.$$store.init[$2],$[10]);}if($3===$[80]){if($8){$7.push($[34],this.$$store.init[$2],$[45]);}else{$7.push($[34],this.$$store.init[$2],$[10]);}}else if($3===$[25]||$3===$[44]||$3===$[146]){$7.push($[118],this.$$store.useinit[$2],$[10]);if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[146]){$7.push($[34],this.$$store.init[$2],$[10]);}}$7.push($[102]);if($3===$[25]||$3===$[44]||$3===$[80]){$7.push($[1084]);if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[80]){if($8){$7.push($[34],this.$$store.init[$2],$[45]);}else{$7.push($[34],this.$$store.init[$2],$[10]);}$7.push($[49],this.$$store.useinit[$2],$[227]);}$7.push($[102]);}}if($5.inheritable){$7.push($[1113]);if($3===$[146]){$7.push($[638]);}else{$7.push($[1506],this.$$store.inherit[$2],$[10]);}$7.push($[817]);$7.push($[49],this.$$store.init[$2],$[805]);$7.push($[49],this.$$store.init[$2],$[1028]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[1689]);$7.push($[118],this.$$store.useinit[$2],$[797]);$7.push($[102]);$7.push($[381]);$7.push($[775]);$7.push($[1103],this.$$store.inherit[$2],$[10]);$7.push($[102]);$7.push($[1649]);$7.push($[118],this.$$store.inherit[$2],$[10]);$7.push($[1658],this.$$store.inherit[$2],$[688]);$7.push($[886]);$7.push($[466]);$7.push($[530]);}else if($a){if($3!==$[25]&&$3!==$[44]){$7.push($[466]);}$7.push($[381]);$7.push($[530]);}if($a){if($5.apply){$7.push($[49],$5.apply,$[1536]);}if($5.event){$7.push($[1768],$5.event,$[1410]);}if($5.inheritable&&$6.getChildren){$7.push($[860]);$7.push($[901],this.$$method.refresh[$2],$[557],this.$$method.refresh[$2],$[768]);$7.push($[102]);}}if($8){$7.push($[643]);}return this.__unwrapFunctionFromCode($0,$6,$2,$3,$7,$4);}},settings:{"qx.propertyDebugLevel":0}}); |
17 |
qx.Class.define($[1648],{statics:{__checks:{"Boolean":$[1729],"String":$[1135],"NonEmptyString":$[1139],"Number":$[294],"Integer":$[764],"Float":$[294],"Double":$[294],"Error":$[1643],"RegExp":$[1293],"Object":$[1433],"Array":$[1434],"Map":$[1554],"Function":$[1397],"Date":$[829],"Node":$[1115],"Element":$[1552],"Document":$[1565],"Window":$[563],"Event":$[1549],"Class":$[869],"Mixin":$[690],"Interface":$[716],"Theme":$[1216],"Color":$[874],"Border":$[1160],"Font":$[768],"Label":$[1055]},__dispose:{"Object":true,"Array":true,"Map":true,"Function":true,"Date":true,"Node":true,"Element":true,"Document":true,"Window":true,"Event":true,"Class":true,"Mixin":true,"Interface":true,"Theme":true,"Border":true,"Font":true},$$inherit:$[121],$$idcounter:0,$$store:{user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},style:{},unstyle:{}},$$allowedKeys:{name:$[7],dispose:$[54],inheritable:$[54],nullable:$[54],themeable:$[54],refine:$[54],init:null,apply:$[7],event:$[7],check:null,transform:$[7],deferredInit:$[54]},$$allowedGroupKeys:{name:$[7],group:$[28],mode:$[7],themeable:$[54]},$$inheritable:{},refresh:function($0){var $1=$0.getParent();if($1){var $2=$0.constructor;var $3=this.$$store.inherit;var $4=this.$$method.refresh;var $5;{};while($2){$5=$2.$$properties;if($5){for(var $6 in this.$$inheritable){if($5[$6]&&$0[$4[$6]]){{};$0[$4[$6]]($1[$3[$6]]);}}}$2=$2.superclass;}}},attach:function($0){var $1=$0.$$properties;if($1){for(var $2 in $1){this.attachMethods($0,$2,$1[$2]);}}$0.$$propertiesAttached=true;},attachMethods:function($0,$1,$2){if($2._legacy||$2._fast||$2._cached){return;}var $3,$4;if($1.charAt(0)===$[157]){if($1.charAt(1)===$[157]){$3=$[877];$4=qx.lang.String.toFirstUp($1.substring(2));}else{$3=$[157];$4=qx.lang.String.toFirstUp($1.substring(1));}}else{$3=$[0];$4=qx.lang.String.toFirstUp($1);}$2.group?this.__attachGroupMethods($0,$2,$3,$4):this.__attachPropertyMethods($0,$2,$3,$4);},__attachGroupMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;var $6=$1.themeable===true;{};var $7=[];var $8=[];if($6){var $9=[];var $a=[];}var $b=$[685];$7.push($b);if($6){$9.push($b);}if($1.mode==$[104]){var $c=$[846];$7.push($c);if($6){$9.push($c);}}for(var $d=0,$e=$1.group,$f=$e.length;$d<$f;$d++){{};$7.push($[220],this.$$method.set[$e[$d]],$[444],$d,$[391]);$8.push($[220],this.$$method.reset[$e[$d]],$[533]);if($6){{};$9.push($[220],this.$$method.style[$e[$d]],$[444],$d,$[391]);$a.push($[220],this.$$method.unstyle[$e[$d]],$[533]);}}this.$$method.set[$5]=$2+$[27]+$3;$4[this.$$method.set[$5]]=new Function($7.join($[0]));this.$$method.reset[$5]=$2+$[108]+$3;$4[this.$$method.reset[$5]]=new Function($8.join($[0]));if($6){this.$$method.style[$5]=$2+$[47]+$3;$4[this.$$method.style[$5]]=new Function($9.join($[0]));this.$$method.unstyle[$5]=$2+$[125]+$3;$4[this.$$method.unstyle[$5]]=new Function($a.join($[0]));}},__attachPropertyMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;{};if($1.dispose===undefined&&typeof $1.check===$[7]){$1.dispose=this.__dispose[$1.check]||qx.Class.isDefined($1.check)||qx.Interface.isDefined($1.check);}var $6=this.$$method;var $7=this.$$store;$7.user[$5]=$[507]+$5;$7.theme[$5]=$[1113]+$5;$7.init[$5]=$[338]+$5;$7.inherit[$5]=$[596]+$5;$7.useinit[$5]=$[938]+$5;$6.get[$5]=$2+$[119]+$3;$4[$6.get[$5]]=function(){return qx.core.Property.executeOptimizedGetter(this,$0,$5,$[119]);};$6.set[$5]=$2+$[27]+$3;$4[$6.set[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[27],arguments);};$6.reset[$5]=$2+$[108]+$3;$4[$6.reset[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[108]);};if($1.inheritable||$1.apply||$1.event||$1.deferredInit){$6.init[$5]=$2+$[81]+$3;$4[$6.init[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[81],arguments);};}if($1.inheritable){$6.refresh[$5]=$2+$[150]+$3;$4[$6.refresh[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[150],arguments);};}if($1.themeable){$6.style[$5]=$2+$[47]+$3;$4[$6.style[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[47],arguments);};$6.unstyle[$5]=$2+$[125]+$3;$4[$6.unstyle[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[125]);};}if($1.check===$[2]){$4[$2+$[425]+$3]=new Function($[509]+$6.set[$5]+$[921]+$6.get[$5]+$[1300]);$4[$2+$[1562]+$3]=new Function($[509]+$6.get[$5]+$[1522]);}},__errors:{0:$[1389],1:$[1203],2:$[940],3:$[654],4:$[1376],5:$[946]},error:function($0,$1,$2,$3,$4){var $5=$0.constructor.classname;var $6=$[1655]+$2+$[1414]+$5+$[1260]+this.$$method[$3][$2]+$[1385]+$4+$[951];$0.printStackTrace();$0.error($6+(this.__errors[$1]||"Unknown reason: "+$1));throw new Error($6+(this.__errors[$1]||"Unknown reason: "+$1));},__unwrapFunctionFromCode:function($0,$1,$2,$3,$4,$5){var $6=this.$$method[$3][$2];{$1[$6]=new Function($[256],$4.join($[0]));};if(qx.core.Variant.isSet($[110],$[26])){$1[$6]=qx.core.Aspect.wrap($0.classname+$[24]+$6,$1[$6],$[727]);}if($5===undefined){return $0[$6]();}else{return $0[$6]($5[0]);}},executeOptimizedGetter:function($0,$1,$2,$3){var $4=$1.$$properties[$2];var $5=$1.prototype;var $6=[];if($4.inheritable){$6.push($[97],this.$$store.inherit[$2],$[139]);$6.push($[182],this.$$store.inherit[$2],$[10]);$6.push($[393]);}$6.push($[97],this.$$store.user[$2],$[139]);$6.push($[182],this.$$store.user[$2],$[10]);if($4.themeable){$6.push($[183],this.$$store.theme[$2],$[139]);$6.push($[182],this.$$store.theme[$2],$[10]);}if($4.deferredInit&&$4.init===undefined){$6.push($[183],this.$$store.init[$2],$[139]);$6.push($[182],this.$$store.init[$2],$[10]);}$6.push($[393]);if($4.init!==undefined){$6.push($[182],this.$$store.init[$2],$[10]);}else if($4.inheritable||$4.nullable){$6.push($[1356]);}else{$6.push($[1156],$2,$[1318],$1.classname,$[626]);}return this.__unwrapFunctionFromCode($0,$5,$2,$3,$6);},executeOptimizedSetter:function($0,$1,$2,$3,$4){var $5=$1.$$properties[$2];var $6=$1.prototype;var $7=[];var $8=$3===$[27]||$3===$[47]||($3===$[81]&&$5.init===undefined);var $9=$3===$[108]||$3===$[125];var $a=$5.apply||$5.event||$5.inheritable;if($3===$[47]||$3===$[125]){var $b=this.$$store.theme[$2];}else if($3===$[81]){var $b=this.$$store.init[$2];}else{var $b=this.$$store.user[$2];}{if(!$5.nullable||$5.check||$5.inheritable){$7.push($[1002]);}if(false&&$3===$[27]){$7.push($[1266]+$2+$[275]+$3+$[312]);}};if($8){if($5.transform){$7.push($[1272],$5.transform,$[842]);}}if($a){if($8){$7.push($[97],$b,$[1254]);}else if($9){$7.push($[97],$b,$[1591]);}}if($5.inheritable){$7.push($[573]);}if($8&&false){if(!$5.nullable){$7.push($[1207]+$2+$[275]+$3+$[312]);}if($5.check!==undefined){if($5.nullable){$7.push($[1137]);}if($5.inheritable){$7.push($[917]);}$7.push($[1642]);if(this.__checks[$5.check]!==undefined){$7.push($[502],this.__checks[$5.check],$[303]);}else if(qx.Class.isDefined($5.check)){$7.push($[767],$5.check,$[303]);}else if(qx.Interface.isDefined($5.check)){$7.push($[1231],$5.check,$[1614]);}else if(typeof $5.check===$[38]){$7.push($[672],$1.classname,$[468],$2);$7.push($[1743]);}else if(typeof $5.check===$[7]){$7.push($[502],$5.check,$[303]);}else if($5.check instanceof Array){$5.checkMap=qx.lang.Object.fromArray($5.check);$7.push($1.classname,$[468],$2);$7.push($[1742]);}else{throw new Error("Could not add check to property "+$2+" of class "+$1.classname);}$7.push($[1014]+$2+$[275]+$3+$[312]);}}if(!$a){if($3===$[27]){$7.push($[51],this.$$store.user[$2],$[48]);}else if($3===$[108]){$7.push($[97],this.$$store.user[$2],$[139]);$7.push($[123],this.$$store.user[$2],$[10]);}else if($3===$[47]){$7.push($[51],this.$$store.theme[$2],$[48]);}else if($3===$[125]){$7.push($[97],this.$$store.theme[$2],$[139]);$7.push($[123],this.$$store.theme[$2],$[10]);}else if($3===$[81]&&$8){$7.push($[51],this.$$store.init[$2],$[48]);}}else{if($5.inheritable){$7.push($[1460],this.$$store.inherit[$2],$[10]);}else{$7.push($[1709]);}$7.push($[97],this.$$store.user[$2],$[209]);if($3===$[27]){if(!$5.inheritable){$7.push($[234],this.$$store.user[$2],$[10]);}$7.push($[32],this.$$store.user[$2],$[48]);}else if($3===$[108]){if(!$5.inheritable){$7.push($[234],this.$$store.user[$2],$[10]);}$7.push($[123],this.$$store.user[$2],$[10]);$7.push($[97],this.$$store.theme[$2],$[139]);$7.push($[32],this.$$store.theme[$2],$[10]);$7.push($[183],this.$$store.init[$2],$[209]);$7.push($[32],this.$$store.init[$2],$[10]);$7.push($[51],this.$$store.useinit[$2],$[230]);$7.push($[103]);}else{if($5.inheritable){$7.push($[32],this.$$store.user[$2],$[10]);}else{$7.push($[1580],this.$$store.user[$2],$[10]);}if($3===$[47]){$7.push($[51],this.$$store.theme[$2],$[48]);}else if($3===$[125]){$7.push($[123],this.$$store.theme[$2],$[10]);}else if($3===$[81]&&$8){$7.push($[51],this.$$store.init[$2],$[48]);}}$7.push($[103]);if($5.themeable){$7.push($[183],this.$$store.theme[$2],$[209]);if(!$5.inheritable){$7.push($[234],this.$$store.theme[$2],$[10]);}if($3===$[27]){$7.push($[32],this.$$store.user[$2],$[48]);}else if($3===$[47]){$7.push($[32],this.$$store.theme[$2],$[48]);}else if($3===$[125]){$7.push($[123],this.$$store.theme[$2],$[10]);$7.push($[97],this.$$store.init[$2],$[209]);$7.push($[32],this.$$store.init[$2],$[10]);$7.push($[51],this.$$store.useinit[$2],$[230]);$7.push($[103]);}else if($3===$[81]){if($8){$7.push($[51],this.$$store.init[$2],$[48]);}$7.push($[32],this.$$store.theme[$2],$[10]);}else if($3===$[150]){$7.push($[32],this.$$store.theme[$2],$[10]);}$7.push($[103]);}$7.push($[183],this.$$store.useinit[$2],$[968]);if(!$5.inheritable){$7.push($[234],this.$$store.init[$2],$[10]);}if($3===$[81]){if($8){$7.push($[32],this.$$store.init[$2],$[48]);}else{$7.push($[32],this.$$store.init[$2],$[10]);}}else if($3===$[27]||$3===$[47]||$3===$[150]){$7.push($[123],this.$$store.useinit[$2],$[10]);if($3===$[27]){$7.push($[32],this.$$store.user[$2],$[48]);}else if($3===$[47]){$7.push($[32],this.$$store.theme[$2],$[48]);}else if($3===$[150]){$7.push($[32],this.$$store.init[$2],$[10]);}}$7.push($[103]);if($3===$[27]||$3===$[47]||$3===$[81]){$7.push($[1102]);if($3===$[27]){$7.push($[32],this.$$store.user[$2],$[48]);}else if($3===$[47]){$7.push($[32],this.$$store.theme[$2],$[48]);}else if($3===$[81]){if($8){$7.push($[32],this.$$store.init[$2],$[48]);}else{$7.push($[32],this.$$store.init[$2],$[10]);}$7.push($[51],this.$$store.useinit[$2],$[230]);}$7.push($[103]);}}if($5.inheritable){$7.push($[1131]);if($3===$[150]){$7.push($[651]);}else{$7.push($[1527],this.$$store.inherit[$2],$[10]);}$7.push($[833]);$7.push($[51],this.$$store.init[$2],$[821]);$7.push($[51],this.$$store.init[$2],$[1046]);$7.push($[32],this.$$store.init[$2],$[10]);$7.push($[51],this.$$store.useinit[$2],$[230]);$7.push($[1710]);$7.push($[123],this.$$store.useinit[$2],$[812]);$7.push($[103]);$7.push($[386]);$7.push($[787]);$7.push($[1121],this.$$store.inherit[$2],$[10]);$7.push($[103]);$7.push($[1671]);$7.push($[123],this.$$store.inherit[$2],$[10]);$7.push($[1679],this.$$store.inherit[$2],$[699]);$7.push($[904]);$7.push($[473]);$7.push($[537]);}else if($a){if($3!==$[27]&&$3!==$[47]){$7.push($[473]);}$7.push($[386]);$7.push($[537]);}if($a){if($5.apply){$7.push($[51],$5.apply,$[1558]);}if($5.event){$7.push($[1788],$5.event,$[1428]);}if($5.inheritable&&$6.getChildren){$7.push($[878]);$7.push($[920],this.$$method.refresh[$2],$[566],this.$$method.refresh[$2],$[780]);$7.push($[103]);}}if($8){$7.push($[656]);}return this.__unwrapFunctionFromCode($0,$6,$2,$3,$7,$4);}},settings:{"qx.propertyDebugLevel":0}}); |
| 18 |
qx.Class.define($[1718],{statics:{toCamelCase:function($0){return $0.replace(/\-([a-z])/g,function($1,$2){return $2.toUpperCase();});},trimLeft:function($0){return $0.replace(/^\s+/,$[0]);},trimRight:function($0){return $0.replace(/\s+$/,$[0]);},trim:function($0){return $0.replace(/^\s+|\s+$/g,$[0]);},startsWith:function($0,$1){return !$0.indexOf($1);},startsWithAlternate:function($0,$1){return $0.substring(0,$1.length)===$1;},endsWith:function($0,$1){return $0.lastIndexOf($1)===$0.length-$1.length;},endsWithAlternate:function($0,$1){return $0.substring($0.length-$1.length,$0.length)===$1;},pad:function($0,$1,$2,$3){if(typeof $2===$[65]){$2=$[41];}var $4=$[0];for(var $5=$0.length;$5<$1;$5++){$4+=$2;}if($3==true){return $0+$4;}else{return $4+$0;}},toFirstUp:function($0){return $0.charAt(0).toUpperCase()+$0.substr(1);},toFirstLower:function($0){return $0.charAt(0).toLowerCase()+$0.substr(1);},addListItem:function($0,$1,$2){if($0==$1||$0==$[0]){return $1;}if($2==null){$2=$[101];}var $3=$0.split($2);if($3.indexOf($1)==-1){$3.push($1);return $3.join($2);}else{return $0;}},removeListItem:function($0,$1,$2){if($0==$1||$0==$[0]){return $[0];}else{if($2==null){$2=$[101];}var $3=$0.split($2);var $4=$3.indexOf($1);if($4===-1){return $0;}do{$3.splice($4,1);}while(($4=$3.indexOf($1))!=-1);return $3.join($2);}},contains:function($0,$1){return $0.indexOf($1)!=-1;},format:function($0,$1){var $2=$0;for(var $3=0;$3<$1.length;$3++){$2=$2.replace(new RegExp($[173]+($3+1),$[289]),$1[$3]);}return $2;},escapeRegexpChars:function($0){return $0.replace(/([\\\.\(\)\[\]\{\}\^\$\?\+\*])/g,$[877]);},toArray:function($0){return $0.split(/\B|\b/g);}}}); |
18 |
qx.Class.define($[1738],{statics:{toCamelCase:function($0){return $0.replace(/\-([a-z])/g,function($1,$2){return $2.toUpperCase();});},trimLeft:function($0){return $0.replace(/^\s+/,$[0]);},trimRight:function($0){return $0.replace(/\s+$/,$[0]);},trim:function($0){return $0.replace(/^\s+|\s+$/g,$[0]);},startsWith:function($0,$1){return !$0.indexOf($1);},startsWithAlternate:function($0,$1){return $0.substring(0,$1.length)===$1;},endsWith:function($0,$1){return $0.lastIndexOf($1)===$0.length-$1.length;},endsWithAlternate:function($0,$1){return $0.substring($0.length-$1.length,$0.length)===$1;},pad:function($0,$1,$2,$3){if(typeof $2===$[68]){$2=$[45];}var $4=$[0];for(var $5=$0.length;$5<$1;$5++){$4+=$2;}if($3==true){return $0+$4;}else{return $4+$0;}},toFirstUp:function($0){return $0.charAt(0).toUpperCase()+$0.substr(1);},toFirstLower:function($0){return $0.charAt(0).toLowerCase()+$0.substr(1);},addListItem:function($0,$1,$2){if($0==$1||$0==$[0]){return $1;}if($2==null){$2=$[102];}var $3=$0.split($2);if($3.indexOf($1)==-1){$3.push($1);return $3.join($2);}else{return $0;}},removeListItem:function($0,$1,$2){if($0==$1||$0==$[0]){return $[0];}else{if($2==null){$2=$[102];}var $3=$0.split($2);var $4=$3.indexOf($1);if($4===-1){return $0;}do{$3.splice($4,1);}while(($4=$3.indexOf($1))!=-1);return $3.join($2);}},contains:function($0,$1){return $0.indexOf($1)!=-1;},format:function($0,$1){var $2=$0;for(var $3=0;$3<$1.length;$3++){$2=$2.replace(new RegExp($[175]+($3+1),$[292]),$1[$3]);}return $2;},escapeRegexpChars:function($0){return $0.replace(/([\\\.\(\)\[\]\{\}\^\$\?\+\*])/g,$[895]);},toArray:function($0){return $0.split(/\B|\b/g);}}}); |
| 19 |
qx.Class.define($[493],{extend:Object,include:[qx.locale.MTranslation,qx.log.MLogging,qx.core.MUserData],construct:function(){this._hashCode=qx.core.Object.__availableHashCode++;if(this._autoDispose){this.__dbKey=qx.core.Object.__db.length;qx.core.Object.__db.push(this);}},statics:{__availableHashCode:0,__db:[],__disposeAll:false,$$type:$[119],toHashCode:function($0){if($0._hashCode!=null){return $0._hashCode;}return $0._hashCode=this.__availableHashCode++;},getDb:function(){return this.__db;},dispose:function($0){if(this.__disposed){return;}this.__disposed=true;this.__unload=$0||false;var $1;var $2,$3=this.__db;for(var $4=$3.length-1;$4>=0;$4--){$2=$3[$4];if($2&&$2.__disposed===false){try{$2.dispose();}catch(ex){{};}}}var $5,$4,$6,$7,$8,$9;},inGlobalDispose:function(){return this.__disposed||false;},isPageUnload:function(){return this.__unload||false;}},members:{_autoDispose:true,toHashCode:function(){return this._hashCode;},toString:function(){if(this.classname){return $[972]+this.classname+$[115];}return $[1604];},base:function($0,$1){if(arguments.length===1){return $0.callee.base.call(this);}else{return $0.callee.base.apply(this,Array.prototype.slice.call(arguments,1));}},self:function($0){return $0.callee.self;},getDbKey:function(){return this.__dbKey;},set:function($0,$1){var $2=qx.core.Property.$$method.set;if(typeof $0===$[8]){{};return this[$2[$0]]($1);}else{for(var $3 in $0){{};this[$2[$3]]($0[$3]);}return this;}},get:function($0){var $1=qx.core.Property.$$method.get;{};return this[$1[$0]]();},reset:function($0){var $1=qx.core.Property.$$method.reset;{};this[$1[$0]]();},__disposed:false,getDisposed:function(){return this.__disposed;},isDisposed:function(){return this.__disposed;},dispose:function(){if(this.__disposed){return;}this.__disposed=true;{};var $0=this.constructor;var $1;while($0.superclass){if($0.$$destructor){$0.$$destructor.call(this);}if($0.$$includes){$1=$0.$$flatIncludes;for(var $2=0,$3=$1.length;$2<$3;$2++){if($1[$2].$$destructor){$1[$2].$$destructor.call(this);}}}$0=$0.superclass;}var $4,$5;},_disposeFields:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}this[$1]=null;}},_disposeObjects:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}if(!this[$1].dispose){throw new Error(this.classname+" has no own object "+$1);}this[$1].dispose();this[$1]=null;}},_disposeObjectDeep:function($0,$1){var $0;if(this[$0]==null){return;}if(!this.hasOwnProperty($0)){{};return;}{};this.__disposeObjectsDeepRecurser(this[$0],$1||0);this[$0]=null;},__disposeObjectsDeepRecurser:function($0,$1){if($0 instanceof qx.core.Object){{};$0.dispose();}else if($0 instanceof Array){for(var $2=0,$3=$0.length;$2<$3;$2++){var $4=$0[$2];if($4==null){continue;}if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$2]=null;}else if(typeof $4==$[37]){{};$0[$2]=null;}}}else if($0 instanceof Object){for(var $5 in $0){if($0[$5]==null||!$0.hasOwnProperty($5)){continue;}var $4=$0[$5];if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$5]=null;}else if(typeof $4==$[37]){{};$0[$5]=null;}}}}},settings:{"qx.disposerDebugLevel":0},destruct:function(){var $0=this.constructor;var $1;var $2=qx.core.Property.$$store;var $3=$2.user;var $4=$2.theme;var $5=$2.inherit;var $6=$2.useinit;var $7=$2.init;while($0){$1=$0.$$properties;if($1){for(var $8 in $1){if($1[$8].dispose){this[$3[$8]]=this[$4[$8]]=this[$5[$8]]=this[$6[$8]]=this[$7[$8]]=undefined;}}}$0=$0.superclass;}if(this.__dbKey!=null){if(qx.core.Object.__disposeAll){qx.core.Object.__db[this.__dbKey]=null;}else{delete qx.core.Object.__db[this.__dbKey];}}}}); |
19 |
qx.Class.define($[501],{extend:Object,include:[qx.locale.MTranslation,qx.log.MLogging,qx.core.MUserData],construct:function(){this._hashCode=qx.core.Object.__availableHashCode++;if(this._autoDispose){this.__dbKey=qx.core.Object.__freeAvailableDbKeys.pop();if(!this.__dbKey){this.__dbKey=qx.core.Object.__db.length;qx.core.Object.__db.push(this);}else{qx.core.Object.__db[this.__dbKey]=this;}}},statics:{__availableHashCode:0,__freeAvailableDbKeys:[],__db:[],__disposeAll:false,$$type:$[124],toHashCode:function($0){if($0._hashCode!=null){return $0._hashCode;}return $0._hashCode=this.__availableHashCode++;},getDb:function(){return this.__db;},dispose:function($0){if(this.__disposed){return;}this.__disposed=true;this.__unload=$0||false;var $1;var $2,$3=this.__db;for(var $4=$3.length-1;$4>=0;$4--){$2=$3[$4];if($2&&$2.__disposed===false){try{$2.dispose();}catch(ex){{};}}}var $5,$4,$6,$7,$8,$9;},inGlobalDispose:function(){return this.__disposed||false;},isPageUnload:function(){return this.__unload||false;}},members:{_autoDispose:true,toHashCode:function(){return this._hashCode;},toString:function(){if(this.classname){return $[991]+this.classname+$[120];}return $[1627];},base:function($0,$1){if(arguments.length===1){return $0.callee.base.call(this);}else{return $0.callee.base.apply(this,Array.prototype.slice.call(arguments,1));}},self:function($0){return $0.callee.self;},getDbKey:function(){return this.__dbKey;},set:function($0,$1){var $2=qx.core.Property.$$method.set;if(typeof $0===$[7]){{};return this[$2[$0]]($1);}else{for(var $3 in $0){{};this[$2[$3]]($0[$3]);}return this;}},get:function($0){var $1=qx.core.Property.$$method.get;{};return this[$1[$0]]();},reset:function($0){var $1=qx.core.Property.$$method.reset;{};this[$1[$0]]();},__disposed:false,getDisposed:function(){return this.__disposed;},isDisposed:function(){return this.__disposed;},dispose:function(){if(this.__disposed){return;}this.__disposed=true;{};var $0=this.constructor;var $1;while($0.superclass){if($0.$$destructor){$0.$$destructor.call(this);}if($0.$$includes){$1=$0.$$flatIncludes;for(var $2=0,$3=$1.length;$2<$3;$2++){if($1[$2].$$destructor){$1[$2].$$destructor.call(this);}}}$0=$0.superclass;}var $4,$5;},_disposeFields:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}this[$1]=null;}},_disposeObjects:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}if(!this[$1].dispose){throw new Error(this.classname+"."+$1+" is not a qooxdoo object. Use _disposeFields instead of _disposeObjects.");}this[$1].dispose();this[$1]=null;}},_disposeObjectDeep:function($0,$1){var $0;if(this[$0]==null){return;}if(!this.hasOwnProperty($0)){{};return;}{};this.__disposeObjectsDeepRecurser(this[$0],$1||0);this[$0]=null;},__disposeObjectsDeepRecurser:function($0,$1){if($0 instanceof qx.core.Object){{};$0.dispose();}else if($0 instanceof Array){for(var $2=0,$3=$0.length;$2<$3;$2++){var $4=$0[$2];if($4==null){continue;}if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$2]=null;}else if(typeof $4==$[38]){{};$0[$2]=null;}}}else if($0 instanceof Object){for(var $5 in $0){if($0[$5]==null||!$0.hasOwnProperty($5)){continue;}var $4=$0[$5];if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$5]=null;}else if(typeof $4==$[38]){{};$0[$5]=null;}}}}},settings:{"qx.disposerDebugLevel":0},destruct:function(){var $0=this.constructor;var $1;var $2=qx.core.Property.$$store;var $3=$2.user;var $4=$2.theme;var $5=$2.inherit;var $6=$2.useinit;var $7=$2.init;while($0){$1=$0.$$properties;if($1){for(var $8 in $1){if($1[$8].dispose){this[$3[$8]]=this[$4[$8]]=this[$5[$8]]=this[$6[$8]]=this[$7[$8]]=undefined;}}}$0=$0.superclass;}if(this.__dbKey!=null){if(qx.core.Object.__disposeAll){qx.core.Object.__db[this.__dbKey]=null;}else{delete qx.core.Object.__db[this.__dbKey];}qx.core.Object.__freeAvailableDbKeys.push(this.__dbKey);}}}); |
| 20 |
qx.Class.define($[1443],{statics:{log:function($0){this._logFormatted(arguments,$[0]);},debug:function($0){this._logFormatted(arguments,$[863]);},info:function($0){this._logFormatted(arguments,$[961]);},warn:function($0){this._logFormatted(arguments,$[728]);},error:function($0){this._logFormatted(arguments,$[95]);},assert:function($0,$1,$2){if(!$0){var $3=[];for(var $4=1;$4<arguments.length;++$4)$3.push(arguments[$4]);this._logFormatted($3.length?$3:[$[378]],$[95]);throw $1?$1:$[378];}},dir:function($0){var $1=[];var $2=[];for(var $3 in $0){try{$2.push([$3,$0[$3]]);}catch(exc){}}$2.sort(function($4,$5){return $4[0]<$5[0]?-1:1;});$1.push($[987]);for(var $6=0;$6<$2.length;++$6){var $3=$2[$6][0],$7=$2[$6][1];$1.push($[1419],$[1500],this._escapeHTML($3),$[938],$[1692]);this._appendObject($7,$1);$1.push($[982]);}$1.push($[1538]);this._logRow($1,$[981]);},dirxml:function($0){var $1=[];this._appendNode($0,$1);this._logRow($1,$[1588]);},time:function($0){this._timeMap[$0]=(new Date()).getTime();},timeEnd:function($0){if($0 in this._timeMap){var $1=(new Date()).getTime()-this._timeMap[$0];this._logFormatted([$0+$[47],$1+$[658]]);delete this._timeMap[$0];}},clear:function(){this._consoleLog.innerHTML=$[0];},trace:function(){if(qx.dev&&qx.dev.StackTrace){var $0=qx.dev.StackTrace.getStackTrace();this.debug("Current stack trace: ");for(var $1=1,$2=$0.length;$1<$2;$1++){this.debug(" - "+$0[$1]);}}else{this.warn("Stacktraces are not support by your build!");}},_consoleLog:null,_commandLine:null,_messageQueue:[],_timeMap:{},_clPrefix:$[832],_consoleShortcuts:{log:$[1147],info:$[808],debug:$[593],warn:$[1150],error:$[733],assert:$[1107],dir:$[1268],dirxml:$[1388],time:$[1663],timeEnd:$[1650],clear:$[1470]},_focusCommandLine:function(){if(this._commandLine){this._commandLine.focus();}},_initializeWindow:function(){if(this._consoleWindow){return;}if(qx.core.Setting){var $0=qx.core.Setting.get($[288])+$[1614];this._consoleWindow=window.open($0,$[328],$[986]);}},_onLogReady:function($0){var $1=$0.document;this._consoleWindow=$0;this._consoleDocument=$1;this._consoleLog=$1.getElementById($[340]);this._commandLine=$1.getElementById($[1266]);this._onUnloadWrapped=qx.lang.Function.bind(this._onUnload,this);this._onResizeWrapped=qx.lang.Function.bind(this._onResize,this);this._onCommandLineKeyDownWrapped=qx.lang.Function.bind(this._onCommandLineKeyDown,this);this._addEvent(window,$[131],this._onUnloadWrapped);this._addEvent($0,$[131],this._onUnloadWrapped);this._addEvent($0,$[202],this._onResizeWrapped);this._addEvent(this._commandLine,$[16],this._onCommandLineKeyDownWrapped);this._syncLayout();this._flush();},_syncLayout:function(){this._consoleLog.style.height=(qx.bom.Viewport.getHeight(this._consoleWindow)-42)+$[38];},_evalCommandLine:function(){var $0=this._commandLine.value;this._commandLine.value=$[0];this._logRow([this._clPrefix,$0],$[1151]);var $1=/^([a-z]+)\(/;var $2=$1.exec($0);if($2!=null){if(this._consoleShortcuts[$2[1]]){$0=this._consoleShortcuts[$2[1]]+$0.substring($2[1].length);}}var $3;try{$3=eval($0);}catch(ex){this.error(ex);}if($3!==undefined){this.log($3);}},_logRow:function($0,$1){if(this._consoleLog){this._writeMessage($0,$1);}else{this._messageQueue.push([$0,$1]);this._initializeWindow();}},_flush:function(){var $0=this._messageQueue;this._messageQueue=[];for(var $1=0;$1<$0.length;++$1){this._writeMessage($0[$1][0],$0[$1][1]);}},_writeMessage:function($0,$1){var $2=this._consoleLog.scrollTop+this._consoleLog.offsetHeight>=this._consoleLog.scrollHeight;this._writeRow($0,$1);if($2){this._consoleLog.scrollTop=this._consoleLog.scrollHeight-this._consoleLog.offsetHeight;}},_appendRow:function($0){this._consoleLog.appendChild($0);},_writeRow:function($0,$1){var $2=this._consoleLog.ownerDocument.createElement($[67]);$2.className=$[1682]+($1?$[1509]+$1:$[0]);$2.innerHTML=$0.join($[0]);this._appendRow($2);},_logFormatted:function($0,$1){if(window.__firebug__&&window.console){return window.console[$1].apply(window.console,$0);}var $2=[];var $3=$0[0];var $4=0;if(typeof ($3)!=$[8]){$3=$[0];$4=-1;}var $5=this._parseFormat($3);for(var $6=0;$6<$5.length;++$6){var $7=$5[$6];if($7&&typeof ($7)==$[28]){var $8=$0[++$4];$7.appender($8,$2);}else this._appendText($7,$2);}for(var $6=$4+1;$6<$0.length;++$6){this._appendText($[83],$2);var $8=$0[$6];if(typeof ($8)==$[8])this._appendText($8,$2);else this._appendObject($8,$2);}this._logRow($2,$1);},_parseFormat:function($0){var $1=[];var $2=/((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/;var $3={s:this._appendText,d:this._appendInteger,i:this._appendInteger,f:this._appendFloat};for(var $4=$2.exec($0);$4;$4=$2.exec($0)){var $5=$4[8]?$4[8]:$4[5];var $6=$5 in $3?$3[$5]:this._appendObject;var $7=$4[3]?parseInt($4[3]):($4[4]==$[24]?-1:0);$1.push($0.substr(0,$4[0][0]==$[173]?$4.index:$4.index+1));$1.push({appender:$6,precision:$7});$0=$0.substr($4.index+$4[0].length);}$1.push($0);return $1;},_escapeHTML:function($0){function $1($2){switch($2){case $[1633]:return $[335];case $[1065]:return $[932];case $[93]:return $[479];case $[334]:return $[1295];case $[109]:return $[1283];}return $[194];}return String($0).replace(/[<>&"']/g,$1);},_objectToString:function($0){try{return $0+$[0];}catch(exc){return null;}},_appendText:function($0,$1){$1.push(this._escapeHTML(this._objectToString($0)));},_appendNull:function($0,$1){$1.push($[1172],this._escapeHTML(this._objectToString($0)),$[96]);},_appendString:function($0,$1){$1.push($[1394],this._escapeHTML(this._objectToString($0)),$[1486]);},_appendInteger:function($0,$1){$1.push($[389],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFloat:function($0,$1){$1.push($[389],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFunction:function($0,$1){var $2=/function ?(.*?)\(/;var $3=$2.exec(this._objectToString($0));var $4=$3?$3[1]:$[37];$1.push($[834],this._escapeHTML($4),$[1542]);},_appendObject:function($0,$1){try{if($0==undefined)this._appendNull($[65],$1);else if($0==null)this._appendNull($[1574],$1);else if(typeof $0==$[8])this._appendString($0,$1);else if(typeof $0==$[50])this._appendInteger($0,$1);else if($0.toString)this._appendText($0.toString(),$1);else if(typeof $0==$[37])this._appendFunction($0,$1);else if($0.nodeType==1)this._appendSelector($0,$1);else if(typeof $0==$[28])this._appendObjectFormatted($0,$1);else this._appendText($0,$1);}catch(exc){}},_appendObjectFormatted:function($0,$1){var $2=this._objectToString($0);var $3=/\[object (.*?)\]/;var $4=$3.exec($2);$1.push($[1465],$4?$4[1]:$2,$[96]);},_appendSelector:function($0,$1){$1.push($[1253]);$1.push($[1089],this._escapeHTML($0.nodeName.toLowerCase()),$[96]);if($0.id)$1.push($[995],this._escapeHTML($0.id),$[96]);if($0.className)$1.push($[1573],this._escapeHTML($0.className),$[96]);$1.push($[96]);},_appendNode:function($0,$1){if($0.nodeType==1){$1.push($[1300],$[1567],$0.nodeName.toLowerCase(),$[96]);for(var $2=0;$2<$0.attributes.length;++$2){var $3=$0.attributes[$2];if(!$3.specified)continue;$1.push($[1003],$3.nodeName.toLowerCase(),$[1203],this._escapeHTML($3.nodeValue),$[1462]);}if($0.firstChild){$1.push($[1651]);for(var $4=$0.firstChild;$4;$4=$4.nextSibling)this._appendNode($4,$1);$1.push($[1309],$0.nodeName.toLowerCase(),$[1673]);}else $1.push($[1332]);}else if($0.nodeType==3){$1.push($[1798],this._escapeHTML($0.nodeValue),$[676]);}},_addEvent:function($0,$1,$2){if(document.all)$0.attachEvent($[23]+$1,$2);else $0.addEventListener($1,$2,false);},_removeEvent:function($0,$1,$2){if(document.all)$0.detachEvent($[23]+$1,$2);else $0.removeEventListener($1,$2,false);},_cancelEvent:function($0){if(document.all)$0.cancelBubble=true;else $0.stopPropagation();},_onCommandLineKeyDown:function($0){if($0.keyCode==13)this._evalCommandLine();else if($0.keyCode==27)this._commandLine.value=$[0];},_onResize:function($0){this._syncLayout();},_onUnload:function($0){var $1=this._consoleWindow;var $2=this._commandLine;this._consoleWindow=null;this._consoleDocument=null;this._consoleLog=null;this._commandLine=null;this._removeEvent(window,$[131],this._onUnloadWrapped);if($1){try{$1.close();}catch(ex){}this._removeEvent($1,$[131],this._onUnloadWrapped);this._removeEvent($1,$[202],this._onResizeWrapped);}if($2){this._removeEvent($2,$[16],this._onCommandLineKeyDownWrapped);}}}}); |
20 |
qx.Class.define($[1462],{statics:{log:function($0){this._logFormatted(arguments,$[0]);},debug:function($0){this._logFormatted(arguments,$[881]);},info:function($0){this._logFormatted(arguments,$[980]);},warn:function($0){this._logFormatted(arguments,$[739]);},error:function($0){this._logFormatted(arguments,$[95]);},assert:function($0,$1,$2){if(!$0){var $3=[];for(var $4=1;$4<arguments.length;++$4)$3.push(arguments[$4]);this._logFormatted($3.length?$3:[$[383]],$[95]);throw $1?$1:$[383];}},dir:function($0){var $1=[];var $2=[];for(var $3 in $0){try{$2.push([$3,$0[$3]]);}catch(exc){}}$2.sort(function($4,$5){return $4[0]<$5[0]?-1:1;});$1.push($[1005]);for(var $6=0;$6<$2.length;++$6){var $3=$2[$6][0],$7=$2[$6][1];$1.push($[1437],$[1521],this._escapeHTML($3),$[958],$[1713]);this._appendObject($7,$1);$1.push($[1000]);}$1.push($[1560]);this._logRow($1,$[1364]);},dirxml:function($0){var $1=[];this._appendNode($0,$1);this._logRow($1,$[1610]);},time:function($0){this._timeMap[$0]=(new Date()).getTime();},timeEnd:function($0){if($0 in this._timeMap){var $1=(new Date()).getTime()-this._timeMap[$0];this._logFormatted([$0+$[33],$1+$[670]]);delete this._timeMap[$0];}},clear:function(){this._consoleLog.innerHTML=$[0];},trace:function(){if(qx.dev&&qx.dev.StackTrace){var $0=qx.dev.StackTrace.getStackTrace();this.debug("Current stack trace: ");for(var $1=1,$2=$0.length;$1<$2;$1++){this.debug(" - "+$0[$1]);}}else{this.warn("Stacktraces are not support by your build!");}},_consoleLog:null,_commandLine:null,_messageQueue:[],_timeMap:{},_clPrefix:$[848],_consoleShortcuts:{log:$[1166],info:$[824],debug:$[605],warn:$[1169],error:$[744],assert:$[1125],dir:$[1291],dirxml:$[1406],time:$[1684],timeEnd:$[1672],clear:$[1490]},_focusCommandLine:function(){if(this._commandLine){this._commandLine.focus();}},_initializeWindow:function(){if(this._consoleWindow){return;}if(qx.core.Setting){var $0=qx.core.Setting.get($[291])+$[1637];this._consoleWindow=window.open($0,$[334],$[1004]);}},_onLogReady:function($0){var $1=$0.document;this._consoleWindow=$0;this._consoleDocument=$1;this._consoleLog=$1.getElementById($[348]);this._commandLine=$1.getElementById($[1289]);this._onUnloadWrapped=qx.lang.Function.bind(this._onUnload,this);this._onResizeWrapped=qx.lang.Function.bind(this._onResize,this);this._onCommandLineKeyDownWrapped=qx.lang.Function.bind(this._onCommandLineKeyDown,this);this._addEvent(window,$[135],this._onUnloadWrapped);this._addEvent($0,$[135],this._onUnloadWrapped);this._addEvent($0,$[203],this._onResizeWrapped);this._addEvent(this._commandLine,$[12],this._onCommandLineKeyDownWrapped);this._syncLayout();this._flush();},_syncLayout:function(){this._consoleLog.style.height=(qx.bom.Viewport.getHeight(this._consoleWindow)-42)+$[40];},_evalCommandLine:function(){var $0=this._commandLine.value;this._commandLine.value=$[0];this._logRow([this._clPrefix,$0],$[1170]);var $1=/^([a-z]+)\(/;var $2=$1.exec($0);if($2!=null){if(this._consoleShortcuts[$2[1]]){$0=this._consoleShortcuts[$2[1]]+$0.substring($2[1].length);}}var $3;try{$3=eval($0);}catch(ex){this.error(ex);}if($3!==undefined){this.log($3);}},_logRow:function($0,$1){if(this._consoleLog){this._writeMessage($0,$1);}else if(qx.core.Object.isPageUnload()){if(this._unloadCancelled){return;}if(!$1||$1==$[0]){$1=$[614];}else{$1=$1.toUpperCase();}if(!window.confirm($1+$[190]+$0.join($[0])+$[688])){this._unloadCancelled=true;}}else{this._messageQueue.push([$0,$1]);this._initializeWindow();}},_flush:function(){var $0=this._messageQueue;this._messageQueue=[];for(var $1=0;$1<$0.length;++$1){this._writeMessage($0[$1][0],$0[$1][1]);}},_writeMessage:function($0,$1){var $2=this._consoleLog.scrollTop+this._consoleLog.offsetHeight>=this._consoleLog.scrollHeight;this._writeRow($0,$1);if($2){this._consoleLog.scrollTop=this._consoleLog.scrollHeight-this._consoleLog.offsetHeight;}},_appendRow:function($0){this._consoleLog.appendChild($0);},_writeRow:function($0,$1){var $2=this._consoleLog.ownerDocument.createElement($[70]);$2.className=$[1702]+($1?$[1530]+$1:$[0]);$2.innerHTML=$0.join($[0]);this._appendRow($2);},_logFormatted:function($0,$1){if(window.__firebug__&&window.console){return window.console[$1].apply(window.console,$0);}var $2=[];var $3=$0[0];var $4=0;if(typeof ($3)!=$[7]){$3=$[0];$4=-1;}var $5=this._parseFormat($3);for(var $6=0;$6<$5.length;++$6){var $7=$5[$6];if($7&&typeof ($7)==$[28]){var $8=$0[++$4];$7.appender($8,$2);}else this._appendText($7,$2);}for(var $6=$4+1;$6<$0.length;++$6){this._appendText($[84],$2);var $8=$0[$6];if(typeof ($8)==$[7])this._appendText($8,$2);else this._appendObject($8,$2);}this._logRow($2,$1);},_parseFormat:function($0){var $1=[];var $2=/((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/;var $3={s:this._appendText,d:this._appendInteger,i:this._appendInteger,f:this._appendFloat};for(var $4=$2.exec($0);$4;$4=$2.exec($0)){var $5=$4[8]?$4[8]:$4[5];var $6=$5 in $3?$3[$5]:this._appendObject;var $7=$4[3]?parseInt($4[3]):($4[4]==$[24]?-1:0);$1.push($0.substr(0,$4[0][0]==$[175]?$4.index:$4.index+1));$1.push({appender:$6,precision:$7});$0=$0.substr($4.index+$4[0].length);}$1.push($0);return $1;},_escapeHTML:function($0){function $1($2){switch($2){case $[1656]:return $[343];case $[1083]:return $[952];case $[93]:return $[487];case $[342]:return $[1317];case $[112]:return $[1305];}return $[195];}return String($0).replace(/[<>&"']/g,$1);},_objectToString:function($0){try{return $0+$[0];}catch(exc){return null;}},_appendText:function($0,$1){$1.push(this._escapeHTML(this._objectToString($0)));},_appendNull:function($0,$1){$1.push($[1192],this._escapeHTML(this._objectToString($0)),$[96]);},_appendString:function($0,$1){$1.push($[1412],this._escapeHTML(this._objectToString($0)),$[1507]);},_appendInteger:function($0,$1){$1.push($[394],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFloat:function($0,$1){$1.push($[394],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFunction:function($0,$1){var $2=/function ?(.*?)\(/;var $3=$2.exec(this._objectToString($0));var $4=$3?$3[1]:$[38];$1.push($[850],this._escapeHTML($4),$[1564]);},_appendObject:function($0,$1){try{if($0==undefined)this._appendNull($[68],$1);else if($0==null)this._appendNull($[1596],$1);else if(typeof $0==$[7])this._appendString($0,$1);else if(typeof $0==$[52])this._appendInteger($0,$1);else if($0.toString)this._appendText($0.toString(),$1);else if(typeof $0==$[38])this._appendFunction($0,$1);else if($0.nodeType==1)this._appendSelector($0,$1);else if(typeof $0==$[28])this._appendObjectFormatted($0,$1);else this._appendText($0,$1);}catch(exc){}},_appendObjectFormatted:function($0,$1){var $2=this._objectToString($0);var $3=/\[object (.*?)\]/;var $4=$3.exec($2);$1.push($[1485],$4?$4[1]:$2,$[96]);},_appendSelector:function($0,$1){$1.push($[1276]);$1.push($[1107],this._escapeHTML($0.nodeName.toLowerCase()),$[96]);if($0.id)$1.push($[1013],this._escapeHTML($0.id),$[96]);if($0.className)$1.push($[1595],this._escapeHTML($0.className),$[96]);$1.push($[96]);},_appendNode:function($0,$1){if($0.nodeType==1){$1.push($[1322],$[1589],$0.nodeName.toLowerCase(),$[96]);for(var $2=0;$2<$0.attributes.length;++$2){var $3=$0.attributes[$2];if(!$3.specified)continue;$1.push($[1021],$3.nodeName.toLowerCase(),$[1226],this._escapeHTML($3.nodeValue),$[1482]);}if($0.firstChild){$1.push($[1673]);for(var $4=$0.firstChild;$4;$4=$4.nextSibling)this._appendNode($4,$1);$1.push($[1330],$0.nodeName.toLowerCase(),$[1694]);}else $1.push($[1352]);}else if($0.nodeType==3){$1.push($[1818],this._escapeHTML($0.nodeValue),$[686]);}},_addEvent:function($0,$1,$2){if(document.all)$0.attachEvent($[26]+$1,$2);else $0.addEventListener($1,$2,false);},_removeEvent:function($0,$1,$2){if(document.all)$0.detachEvent($[26]+$1,$2);else $0.removeEventListener($1,$2,false);},_cancelEvent:function($0){if(document.all)$0.cancelBubble=true;else $0.stopPropagation();},_onCommandLineKeyDown:function($0){if($0.keyCode==13)this._evalCommandLine();else if($0.keyCode==27)this._commandLine.value=$[0];},_onResize:function($0){this._syncLayout();},_onUnload:function($0){var $1=this._consoleWindow;var $2=this._commandLine;this._consoleWindow=null;this._consoleDocument=null;this._consoleLog=null;this._commandLine=null;this._removeEvent(window,$[135],this._onUnloadWrapped);if($1){try{$1.close();}catch(ex){}this._removeEvent($1,$[135],this._onUnloadWrapped);this._removeEvent($1,$[203],this._onResizeWrapped);}if($2){this._removeEvent($2,$[12],this._onCommandLineKeyDownWrapped);}}}}); |
| 21 |
qx.Class.define($[1605],{statics:{globalEval:function($0){if(window.execScript){window.execScript($0);}else{eval.call(window,$0);}},returnTrue:function(){return true;},returnFalse:function(){return false;},returnNull:function(){return null;},returnThis:function(){return this;},returnInstance:function(){if(!this._instance){this._instance=new this;}return this._instance;},returnZero:function(){return 0;},returnNegativeIndex:function(){return -1;},bind:function($0,$1,$2){{};if(arguments.length>2){var $3=Array.prototype.slice.call(arguments,2);var $4=function(){$0.context=$1;var $5=$0.apply($1,$3.concat(qx.lang.Array.fromArguments(arguments)));$0.context=null;return $5;};}else{var $4=function(){$0.context=$1;var $5=$0.apply($1,arguments);$0.context=null;return $5;};}$4.self=$0.self?$0.self.constructor:$1;return $4;},bindEvent:function($0,$1){{};var $2=function($3){$0.context=$1;var $4=$0.call($1,$3||window.event);$0.context=null;return $4;};$2.self=$0.self?$0.self.constructor:$1;return $2;},getCaller:function($0){return $0.caller?$0.caller.callee:$0.callee.caller;}}}); |
21 |
qx.Class.define($[1628],{statics:{globalEval:function($0){if(window.execScript){window.execScript($0);}else{eval.call(window,$0);}},returnTrue:function(){return true;},returnFalse:function(){return false;},returnNull:function(){return null;},returnThis:function(){return this;},returnInstance:function(){if(!this._instance){this._instance=new this;}return this._instance;},returnZero:function(){return 0;},returnNegativeIndex:function(){return -1;},bind:function($0,$1,$2){{};if(arguments.length>2){var $3=Array.prototype.slice.call(arguments,2);var $4=function(){$0.context=$1;var $5=$0.apply($1,$3.concat(qx.lang.Array.fromArguments(arguments)));$0.context=null;return $5;};}else{var $4=function(){$0.context=$1;var $5=$0.apply($1,arguments);$0.context=null;return $5;};}$4.self=$0.self?$0.self.constructor:$1;return $4;},bindEvent:function($0,$1){{};var $2=function($3){$0.context=$1;var $4=$0.call($1,$3||window.event);$0.context=null;return $4;};$2.self=$0.self?$0.self.constructor:$1;return $2;},getCaller:function($0){return $0.caller?$0.caller.callee:$0.callee.caller;}}}); |
| 22 |
qx.Class.define($[1758],{statics:{getWidth:qx.core.Variant.select($[1],{"opera":function($0){return ($0||window).document.body.clientWidth;},"webkit":function($0){return ($0||window).innerWidth;},"default":function($0){var $1=($0||window).document;return $1.compatMode===$[91]?$1.documentElement.clientWidth:$1.body.clientWidth;}}),getHeight:qx.core.Variant.select($[1],{"opera":function($0){return ($0||window).document.body.clientHeight;},"webkit":function($0){return ($0||window).innerHeight;},"default":function($0){var $1=($0||window).document;return $1.compatMode===$[91]?$1.documentElement.clientHeight:$1.body.clientHeight;}}),getScrollLeft:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=($0||window).document;return $1.documentElement.scrollLeft||$1.body.scrollLeft;},"default":function($0){return ($0||window).pageXOffset;}}),getScrollTop:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=($0||window).document;return $1.documentElement.scrollTop||$1.body.scrollTop;},"default":function($0){return ($0||window).pageYOffset;}})}}); |
22 |
qx.Class.define($[1778],{statics:{getWidth:qx.core.Variant.select($[1],{"opera":function($0){return ($0||window).document.body.clientWidth;},"webkit":function($0){return ($0||window).innerWidth;},"default":function($0){var $1=($0||window).document;return $1.compatMode===$[91]?$1.documentElement.clientWidth:$1.body.clientWidth;}}),getHeight:qx.core.Variant.select($[1],{"opera":function($0){return ($0||window).document.body.clientHeight;},"webkit":function($0){return ($0||window).innerHeight;},"default":function($0){var $1=($0||window).document;return $1.compatMode===$[91]?$1.documentElement.clientHeight:$1.body.clientHeight;}}),getScrollLeft:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=($0||window).document;return $1.documentElement.scrollLeft||$1.body.scrollLeft;},"default":function($0){return ($0||window).pageXOffset;}}),getScrollTop:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=($0||window).document;return $1.documentElement.scrollTop||$1.body.scrollTop;},"default":function($0){return ($0||window).pageYOffset;}})}}); |
| 23 |
qx.Class.define($[1474],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2={$$type:$[121],name:$0,title:$1.title,toString:this.genericToString};if($1.extend){$2.supertheme=$1.extend;}$2.basename=qx.Class.createNamespace($0,$2);this.__convert($2,$1);this.__registry[$0]=$2;if($1.include){for(var $3=0,$4=$1.include,$5=$4.length;$3<$5;$3++){this.include($2,$4[$3]);}}},getAll:function(){return this.__registry;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},genericToString:function(){return $[1213]+this.name+$[115];},__extractType:function($0){for(var $1=0,$2=this.__inheritableKeys,$3=$2.length;$1<$3;$1++){if($0[$2[$1]]){return $2[$1];}}},__convert:function($0,$1){var $2=this.__extractType($1);if($1.extend&&!$2){$2=$1.extend.type;}$0.type=$2||$[48];if(!$2){return;}var $3=function(){};if($1.extend){$3.prototype=new $1.extend.$$clazz;}var $4=$3.prototype;var $5=$1[$2];for(var $6 in $5){$4[$6]=$5[$6];if($4[$6].base){{};$4[$6].base=$1.extend;}}$0.$$clazz=$3;$0[$2]=new $3;},__registry:{},__inheritableKeys:[$[392],$[520],$[465],$[485],$[524],$[319],$[349]],__allowedKeys:null,__metaKeys:null,__validateConfig:function(){},patch:function($0,$1){var $2=this.__extractType($1);if($2!==this.__extractType($0)){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){$4[$5]=$3[$5];}},include:function($0,$1){var $2=$1.type;if($2!==$0.type){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){if($4[$5]!==undefined){throw new Error("It is not allowed to overwrite the key '"+$5+"' of theme '"+$0.name+"' by mixin theme '"+$1.name+"'.");}$4[$5]=$3[$5];}}}}); |
23 |
qx.Class.define($[1495],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2={$$type:$[126],name:$0,title:$1.title,toString:this.genericToString};if($1.extend){$2.supertheme=$1.extend;}$2.basename=qx.Class.createNamespace($0,$2);this.__convert($2,$1);this.__registry[$0]=$2;if($1.include){for(var $3=0,$4=$1.include,$5=$4.length;$3<$5;$3++){this.include($2,$4[$3]);}}},getAll:function(){return this.__registry;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},genericToString:function(){return $[1236]+this.name+$[120];},__extractType:function($0){for(var $1=0,$2=this.__inheritableKeys,$3=$2.length;$1<$3;$1++){if($0[$2[$1]]){return $2[$1];}}},__convert:function($0,$1){var $2=this.__extractType($1);if($1.extend&&!$2){$2=$1.extend.type;}$0.type=$2||$[50];if(!$2){return;}var $3=function(){};if($1.extend){$3.prototype=new $1.extend.$$clazz;}var $4=$3.prototype;var $5=$1[$2];for(var $6 in $5){$4[$6]=$5[$6];if($4[$6].base){{};$4[$6].base=$1.extend;}}$0.$$clazz=$3;$0[$2]=new $3;},__registry:{},__inheritableKeys:[$[398],$[527],$[472],$[493],$[531],$[325],$[356]],__allowedKeys:null,__metaKeys:null,__validateConfig:function(){},patch:function($0,$1){var $2=this.__extractType($1);if($2!==this.__extractType($0)){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){$4[$5]=$3[$5];}},include:function($0,$1){var $2=$1.type;if($2!==$0.type){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){if($4[$5]!==undefined){throw new Error("It is not allowed to overwrite the key '"+$5+"' of theme '"+$0.name+"' by mixin theme '"+$1.name+"'.");}$4[$5]=$3[$5];}}}}); |
| 24 |
qx.Class.define($[1282],{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{addEventListener:function($0,$1,$2){if(this.getDisposed()){return;}{};if(this.__listeners===undefined){this.__listeners={};}if(this.__listeners[$0]===undefined){this.__listeners[$0]={};}var $3=$[481]+qx.core.Object.toHashCode($1)+($2?$[207]+qx.core.Object.toHashCode($2):$[0]);this.__listeners[$0][$3]={handler:$1,object:$2};},removeEventListener:function($0,$1,$2){if(this.getDisposed()){return;}var $3=this.__listeners;if(!$3||$3[$0]===undefined){return;}if(typeof $1!==$[37]){throw new Error("qx.core.Target: removeEventListener("+$0+"): '"+$1+"' is not a function!");}var $4=$[481]+qx.core.Object.toHashCode($1)+($2?$[207]+qx.core.Object.toHashCode($2):$[0]);delete this.__listeners[$0][$4];},hasEventListeners:function($0){return this.__listeners&&this.__listeners[$0]!==undefined&&!qx.lang.Object.isEmpty(this.__listeners[$0]);},createDispatchEvent:function($0){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.Event($0),true);}},createDispatchDataEvent:function($0,$1){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.DataEvent($0,$1),true);}},createDispatchChangeEvent:function($0,$1,$2){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.ChangeEvent($0,$1,$2),true);}},dispatchEvent:function($0,$1){if(this.getDisposed()){return;}if($0.getTarget()==null){$0.setTarget(this);}if($0.getCurrentTarget()==null){$0.setCurrentTarget(this);}this._dispatchEvent($0,$1);var $2=$0.getDefaultPrevented();$1&&$0.dispose();return !$2;},_dispatchEvent:function($0){var $1=this.__listeners;if($1){$0.setCurrentTarget(this);var $2=$1[$0.getType()];if($2){var $3,$4;for(var $5 in $2){$3=$2[$5].handler;$4=$2[$5].object||this;$3.call($4,$0);}}}if($0.getBubbles()&&!$0.getPropagationStopped()&&typeof (this.getParent)==$[37]){var $6=this.getParent();if($6&&!$6.getDisposed()&&$6.getEnabled()){$6._dispatchEvent($0);}}}},destruct:function(){this._disposeObjectDeep($[1285],2);}}); |
24 |
qx.Class.define($[1304],{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{addEventListener:function($0,$1,$2){if(this.getDisposed()){return;}{};if(this.__listeners===undefined){this.__listeners={};}if(this.__listeners[$0]===undefined){this.__listeners[$0]={};}var $3=$[489]+qx.core.Object.toHashCode($1)+($2?$[208]+qx.core.Object.toHashCode($2):$[0]);this.__listeners[$0][$3]={handler:$1,object:$2};},removeEventListener:function($0,$1,$2){if(this.getDisposed()){return;}var $3=this.__listeners;if(!$3||$3[$0]===undefined){return;}if(typeof $1!==$[38]){throw new Error("qx.core.Target: removeEventListener("+$0+"): '"+$1+"' is not a function!");}var $4=$[489]+qx.core.Object.toHashCode($1)+($2?$[208]+qx.core.Object.toHashCode($2):$[0]);delete this.__listeners[$0][$4];},hasEventListeners:function($0){return this.__listeners&&this.__listeners[$0]!==undefined&&!qx.lang.Object.isEmpty(this.__listeners[$0]);},createDispatchEvent:function($0){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.Event($0),true);}},createDispatchDataEvent:function($0,$1){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.DataEvent($0,$1),true);}},createDispatchChangeEvent:function($0,$1,$2){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.ChangeEvent($0,$1,$2),true);}},dispatchEvent:function($0,$1){if(this.getDisposed()){return;}if($0.getTarget()==null){$0.setTarget(this);}if($0.getCurrentTarget()==null){$0.setCurrentTarget(this);}this._dispatchEvent($0,$1);var $2=$0.getDefaultPrevented();$1&&$0.dispose();return !$2;},_dispatchEvent:function($0){var $1=this.__listeners;if($1){$0.setCurrentTarget(this);var $2=$1[$0.getType()];if($2){var $3,$4;for(var $5 in $2){$3=$2[$5].handler;$4=$2[$5].object||this;$3.call($4,$0);}}}if($0.getBubbles()&&!$0.getPropagationStopped()&&typeof (this.getParent)==$[38]){var $6=this.getParent();if($6&&!$6.getDisposed()&&$6.getEnabled()){$6._dispatchEvent($0);}}}},destruct:function(){this._disposeObjectDeep($[1308],2);}}); |
| 25 |
qx.Class.define($[4],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.setType($0);},properties:{type:{_fast:true,setOnlyOnce:true},originalTarget:{_fast:true,setOnlyOnce:true},target:{_fast:true,setOnlyOnce:true},relatedTarget:{_fast:true,setOnlyOnce:true},currentTarget:{_fast:true},bubbles:{_fast:true,defaultValue:false,noCompute:true},propagationStopped:{_fast:true,defaultValue:true,noCompute:true},defaultPrevented:{_fast:true,defaultValue:false,noCompute:true}},members:{_autoDispose:false,preventDefault:function(){this.setDefaultPrevented(true);},stopPropagation:function(){this.setPropagationStopped(true);}},destruct:function(){this._disposeFields($[542],$[1489],$[700],$[1387]);}}); |
25 |
qx.Class.define($[4],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.setType($0);},properties:{type:{_fast:true,setOnlyOnce:true},originalTarget:{_fast:true,setOnlyOnce:true},target:{_fast:true,setOnlyOnce:true},relatedTarget:{_fast:true,setOnlyOnce:true},currentTarget:{_fast:true},bubbles:{_fast:true,defaultValue:false,noCompute:true},propagationStopped:{_fast:true,defaultValue:true,noCompute:true},defaultPrevented:{_fast:true,defaultValue:false,noCompute:true}},members:{_autoDispose:false,preventDefault:function(){this.setDefaultPrevented(true);},stopPropagation:function(){this.setPropagationStopped(true);}},destruct:function(){this._disposeFields($[551],$[1510],$[1626],$[1405]);}}); |
| 26 |
qx.Class.define($[98],{extend:qx.event.type.Event,construct:function($0,$1){arguments.callee.base.call(this,$0);this.setData($1);},properties:{propagationStopped:{_fast:true,defaultValue:false},data:{_fast:true}},destruct:function(){this._disposeFields($[1083]);}}); |
26 |
qx.Class.define($[98],{extend:qx.event.type.Event,construct:function($0,$1){arguments.callee.base.call(this,$0);this.setData($1);},properties:{propagationStopped:{_fast:true,defaultValue:false},data:{_fast:true}},destruct:function(){this._disposeFields($[1101]);}}); |
| 27 |
qx.Class.define($[457],{extend:qx.event.type.Event,construct:function($0,$1,$2){arguments.callee.base.call(this,$0);this.setValue($1);this.setOldValue($2);},properties:{value:{_fast:true},oldValue:{_fast:true}},members:{getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[576]);return this.getValue();}},destruct:function(){this._disposeFields($[1479],$[1276]);}}); |
27 |
qx.Class.define($[465],{extend:qx.event.type.Event,construct:function($0,$1,$2){arguments.callee.base.call(this,$0);this.setValue($1);this.setOldValue($2);},properties:{value:{_fast:true},oldValue:{_fast:true}},members:{getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[586]);return this.getValue();}},destruct:function(){this._disposeFields($[1500],$[1298]);}}); |
| 28 |
qx.Class.define($[776],{extend:qx.core.Object,type:$[51],construct:function(){arguments.callee.base.call(this);},statics:{ACCEPT:1,DENY:2,NEUTRAL:3},members:{decide:function($0){throw new Error("decide is abstract");}}}); |
28 |
qx.Class.define($[789],{extend:qx.core.Object,type:$[53],construct:function(){arguments.callee.base.call(this);},statics:{ACCEPT:1,DENY:2,NEUTRAL:3},members:{decide:function($0){throw new Error("decide is abstract");}}}); |
| 29 |
qx.Class.define($[734],{extend:qx.log.Filter,construct:function(){arguments.callee.base.call(this);},properties:{enabled:{check:$[2],init:true},minLevel:{check:$[19],nullable:true}},members:{decide:function($0){var $1=qx.log.Filter;if(!this.getEnabled()){return $1.DENY;}else if(this.getMinLevel()==null){return $1.NEUTRAL;}else{return ($0.level>=this.getMinLevel())?$1.ACCEPT:$1.DENY;}}}}); |
29 |
qx.Class.define($[745],{extend:qx.log.Filter,construct:function(){arguments.callee.base.call(this);},properties:{enabled:{check:$[2],init:true},minLevel:{check:$[21],nullable:true}},members:{decide:function($0){var $1=qx.log.Filter;if(!this.getEnabled()){return $1.DENY;}else if(this.getMinLevel()==null){return $1.NEUTRAL;}else{return ($0.level>=this.getMinLevel())?$1.ACCEPT:$1.DENY;}}}}); |
| 30 |
qx.Class.define($[1292],{extend:qx.core.Object,type:$[51],construct:function(){arguments.callee.base.call(this);},members:{addFilter:function($0){if(this._filterArr==null){this._filterArr=[];}this._filterArr.push($0);},clearFilters:function(){this._filterArr=null;},getHeadFilter:function(){return (this._filterArr==null||this._filterArr.length==0)?null:this._filterArr[0];},_getDefaultFilter:function(){var $0=this.getHeadFilter();if(!($0 instanceof qx.log.DefaultFilter)){this.clearFilters();$0=new qx.log.DefaultFilter();this.addFilter($0);}return $0;},setEnabled:function($0){this._getDefaultFilter().setEnabled($0);},setMinLevel:function($0){this._getDefaultFilter().setMinLevel($0);},decideLogEvent:function($0){var $1=qx.log.Filter.NEUTRAL;if(this._filterArr!=null){for(var $2=0;$2<this._filterArr.length;$2++){var $3=this._filterArr[$2].decide($0);if($3!=$1){return $3;}}}return $1;},handleLogEvent:function($0){throw new Error("handleLogEvent is abstract");}},destruct:function(){this._disposeFields($[1098]);}}); |
30 |
qx.Class.define($[1314],{extend:qx.core.Object,type:$[53],construct:function(){arguments.callee.base.call(this);},members:{addFilter:function($0){if(this._filterArr==null){this._filterArr=[];}this._filterArr.push($0);},clearFilters:function(){this._filterArr=null;},getHeadFilter:function(){return (this._filterArr==null||this._filterArr.length==0)?null:this._filterArr[0];},_getDefaultFilter:function(){var $0=this.getHeadFilter();if(!($0 instanceof qx.log.DefaultFilter)){this.clearFilters();$0=new qx.log.DefaultFilter();this.addFilter($0);}return $0;},setEnabled:function($0){this._getDefaultFilter().setEnabled($0);},setMinLevel:function($0){this._getDefaultFilter().setMinLevel($0);},decideLogEvent:function($0){var $1=qx.log.Filter.NEUTRAL;if(this._filterArr!=null){for(var $2=0;$2<this._filterArr.length;$2++){var $3=this._filterArr[$2].decide($0);if($3!=$1){return $3;}}}return $1;},handleLogEvent:function($0){throw new Error("handleLogEvent is abstract");}},destruct:function(){this._disposeFields($[1116]);}}); |
| 31 |
qx.Class.define($[1772],{extend:qx.log.LogEventProcessor,type:$[51],construct:function(){arguments.callee.base.call(this);},properties:{useLongFormat:{check:$[2],init:true}},members:{handleLogEvent:function($0){if(this.decideLogEvent($0)!=qx.log.Filter.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){throw new Error("appendLogEvent is abstract");},formatLogEvent:function($0){var $1=qx.log.Logger;var $2=$[0];var $3=new String(new Date().getTime()-qx.core.Bootstrap.LOADSTART);while($3.length<6){$3=$[41]+$3;}$2+=$3;if(this.getUseLongFormat()){switch($0.level){case $1.LEVEL_DEBUG:$2+=$[644];break;case $1.LEVEL_INFO:$2+=$[1496];break;case $1.LEVEL_WARN:$2+=$[640];break;case $1.LEVEL_ERROR:$2+=$[1600];break;case $1.LEVEL_FATAL:$2+=$[1666];break;}}else{$2+=$[234];}var $4=$[0];for(var $5=0;$5<$0.indent;$5++){$4+=$[275];}$2+=$4;if(this.getUseLongFormat()){$2+=$0.logger.getName();if($0.instanceId!=null){$2+=$[512]+$0.instanceId+$[115];}$2+=$[234];}if(typeof $0.message==$[8]){$2+=$0.message;}else{var $6=$0.message;if($6==null){$2+=$[1233];}else{$2+=$[1120]+$6+$[1590];var $7=new Array();try{for(var $8 in $6){$7.push($8);}}catch(exc){$2+=$4+$[1013]+exc+$[423];}$7.sort();for(var $5=0;$5<$7.length;$5++){try{$2+=$4+$[275]+$7[$5]+$[197]+$6[$7[$5]]+$[180];}catch(exc){$2+=$4+$[275]+$7[$5]+$[1235]+exc+$[423];}}$2+=$4+$[1679];}}if($0.throwable!=null){var $9=$0.throwable;if($9.name==null){$2+=$[234]+$9;}else{$2+=$[234]+$9.name;}if($9.message!=null){$2+=$[581]+$9.message;}if($9.number!=null){$2+=$[955]+$9.number+$[145];}var $a=qx.dev.StackTrace.getStackTraceFromError($9);}if($0.trace){var $a=$0.trace;}if($a&&$a.length>0){$2+=$[180];for(var $5=0;$5<$a.length;$5++){$2+=$[856]+$a[$5]+$[180];}}return $2;}}}); |
31 |
qx.Class.define($[1792],{extend:qx.log.LogEventProcessor,type:$[53],construct:function(){arguments.callee.base.call(this);},properties:{useLongFormat:{check:$[2],init:true}},members:{handleLogEvent:function($0){if(this.decideLogEvent($0)!=qx.log.Filter.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){throw new Error("appendLogEvent is abstract");},formatLogEvent:function($0){var $1=qx.log.Logger;var $2=$[0];var $3=new String(new Date().getTime()-qx.core.Bootstrap.LOADSTART);while($3.length<6){$3=$[45]+$3;}$2+=$3;if(this.getUseLongFormat()){switch($0.level){case $1.LEVEL_DEBUG:$2+=$[657];break;case $1.LEVEL_INFO:$2+=$[1517];break;case $1.LEVEL_WARN:$2+=$[653];break;case $1.LEVEL_ERROR:$2+=$[1622];break;case $1.LEVEL_FATAL:$2+=$[1687];break;}}else{$2+=$[190];}var $4=$[0];for(var $5=0;$5<$0.indent;$5++){$4+=$[277];}$2+=$4;if(this.getUseLongFormat()){$2+=$0.logger.getName();if($0.instanceId!=null){$2+=$[519]+$0.instanceId+$[120];}$2+=$[190];}if(typeof $0.message==$[7]){$2+=$0.message;}else{var $6=$0.message;if($6==null){$2+=$[1256];}else{$2+=$[1138]+$6+$[1612];var $7=new Array();try{for(var $8 in $6){$7.push($8);}}catch(exc){$2+=$4+$[1031]+exc+$[432];}$7.sort();for(var $5=0;$5<$7.length;$5++){try{$2+=$4+$[277]+$7[$5]+$[198]+$6[$7[$5]]+$[180];}catch(exc){$2+=$4+$[277]+$7[$5]+$[1258]+exc+$[432];}}$2+=$4+$[1700];}}if($0.throwable!=null){var $9=$0.throwable;if($9.name==null){$2+=$[190]+$9;}else{$2+=$[190]+$9.name;}if($9.message!=null){$2+=$[592]+$9.message;}if($9.number!=null){$2+=$[974]+$9.number+$[149];}var $a=qx.dev.StackTrace.getStackTraceFromError($9);}if($0.trace){var $a=$0.trace;}if($a&&$a.length>0){$2+=$[180];for(var $5=0;$5<$a.length;$5++){$2+=$[873]+$a[$5]+$[180];}}return $2;}}}); |
| 32 |
qx.Class.define($[619],{extend:qx.log.appender.Abstract,construct:function($0){arguments.callee.base.call(this);this._id=qx.log.appender.Window.register(this);this._name=$0;if(this._name==null){var $1=window.location.href;var $2=0;for(var $3=0;$3<$1.length;$3++){$2=($2+$1.charCodeAt($3))%10000000;}this._name=$[668]+$2;}this._errorsPreventingAutoCloseCount=0;this._divDataSets=[];this._filterTextWords=[];this._filterText=$[0];},statics:{_nextId:1,_registeredAppenders:{},register:function($0){var $1=qx.log.appender.Window;var $2=$1._nextId++;$1._registeredAppenders[$2]=$0;return $2;},getAppender:function($0){return qx.log.appender.Window._registeredAppenders[$0];}},properties:{maxMessages:{check:$[5],init:500},popUnder:{check:$[2],init:false},autoCloseWithErrors:{check:$[2],init:true,apply:$[1219]},windowWidth:{check:$[5],init:600},windowHeight:{check:$[5],init:350},windowLeft:{check:$[5],nullable:true},windowTop:{check:$[5],nullable:true}},members:{openWindow:function(){if(this._inLogWindowCallback){return;}this._inLogWindowCallback=true;if(this._logWindow&&!this._logWindow.closed){return ;}var $0=this.getWindowWidth();var $1=this.getWindowHeight();var $2=this.getWindowLeft();if($2===null){$2=window.screen.width-$0;}var $3=this.getWindowTop();if($3===null){$3=window.screen.height-$1;}var $4=$[1059]+$[1392]+$0+$[870]+$1+$[1426]+$2+$[1412]+$3;this._logWindow=window.open($[0],this._name,$4);qx.client.Timer.once(this._openWindowCallback,this,200);},_openWindowCallback:function(){delete this._inLogWindowCallback;if(!this._logWindow||this._logWindow.closed){if(this._popupBlockerWarning){return;}alert("Could not open log window. Please disable your popup blocker!");this._popupBlockerWarning=true;return;}this._popupBlockerWarning=false;if(this.getPopUnder()){this._logWindow.blur();window.focus();}var $0=this._logWindow.document;var $1=qx.core.Variant.isSet($[1],$[13])?$[1091]:$[521];$0.open();$0.write($[1234]+this._name+$[1319]+$[785]+this._id+$[673]+$[1797]+$[563]+$[1445]+$[540]+$[1306]+$[1597]+$[1196]+$[841]+$1+$[789]+$[610]+$[555]+this._filterText+$[709]+$[376]+$[730]+$[1767]+$[376]+$[1703]);$0.close();this._logElem=$0.getElementById($[340]);this._markerBtn=$0.getElementById($[1642]);this._filterInput=$0.getElementById($[144]);this._logLinesDiv=$0.getElementById($[773]);var $2=this;this._markerBtn.onclick=function(){$2._showMessageInLog($[697]);};this._filterInput.onkeyup=function(){$2.setFilterText($2._filterInput.value);};if(this._logEventQueue!=null){for(var $3=0;$3<this._logEventQueue.length;$3++){this.appendLogEvent(this._logEventQueue[$3]);}this._logEventQueue.length=0;}},closeWindow:function(){if(this._logWindow!=null){this._logWindow.close();this._logWindow=null;this._logElem=null;}},_autoCloseWindow:function(){if(this.getAutoCloseWithErrors()||this._errorsPreventingAutoCloseCount==0){this.closeWindow();}else{this._showMessageInLog($[979]+this._errorsPreventingAutoCloseCount+$[829]);}},_showMessageInLog:function($0){var $1={message:$0,isDummyEventForMessage:true};this.appendLogEvent($1);},appendLogEvent:function($0){if(!this._logWindow||this._logWindow.closed){if(!this._logEventQueue){this._logEventQueue=[];}this._logEventQueue.push($0);this.openWindow();}else if(this._logElem==null){this._logEventQueue.push($0);}else{var $1=this._logWindow.document.createElement($[67]);if($0.level>=qx.log.Logger.LEVEL_ERROR){$1.style.backgroundColor=$[1545];if(!this.getAutoCloseWithErrors()){this._errorsPreventingAutoCloseCount+=1;}}else if($0.level==qx.log.Logger.LEVEL_DEBUG){$1.style.color=$[683];}var $2;if($0.isDummyEventForMessage){$2=$0.message;}else{$2=qx.html.String.fromText(this.formatLogEvent($0));}$1.innerHTML=$2;this._logElem.appendChild($1);var $3={txt:$2.toUpperCase(),elem:$1};this._divDataSets.push($3);this._setDivVisibility($3);while(this._logElem.childNodes.length>this.getMaxMessages()){this._logElem.removeChild(this._logElem.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._logElem.firstChild.innerHTML=$[316]+this._removedMessageCount+$[458];}this._logLinesDiv.scrollTop=this._logLinesDiv.scrollHeight;}},setFilterText:function($0){if($0==null){$0=$[0];}this._filterText=$0;$0=$0.toUpperCase();this._filterTextWords=$0.split($[83]);for(var $1=0;$1<this._divDataSets.length;$1++){this._setDivVisibility(this._divDataSets[$1]);}},_setDivVisibility:function($0){var $1=true;for(var $2=0;$1&&($2<this._filterTextWords.length);$2++){$1=$0.txt.indexOf(this._filterTextWords[$2])>=0;}$0.elem.style[$[158]]=($1?$[0]:$[7]);},_applyAutoCloseWithErrors:function($0,$1){if(!$0&&$1){this._errorsPreventingAutoCloseCount=0;this._showMessageInLog($[686]);}else if($0&&!$1){this._showMessageInLog($[737]+this._errorsPreventingAutoCloseCount+$[1179]);}}},destruct:function(){try{if(this._markerBtn){this._markerBtn.onclick=null;}if(this._filterInput){this._filterInput.onkeyup=null;}}catch(ex){}this._autoCloseWindow();this._disposeFields($[939],$[1593],$[1681],$[1271],$[1425],$[1183]);}}); |
32 |
qx.Class.define($[633],{extend:qx.log.appender.Abstract,construct:function($0){arguments.callee.base.call(this);this._id=qx.log.appender.Window.register(this);this._name=$0;if(this._name==null){var $1=window.location.href;var $2=0;for(var $3=0;$3<$1.length;$3++){$2=($2+$1.charCodeAt($3))%10000000;}this._name=$[679]+$2;}this._errorsPreventingAutoCloseCount=0;this._divDataSets=[];this._filterTextWords=[];this._filterText=$[0];},statics:{_nextId:1,_registeredAppenders:{},register:function($0){var $1=qx.log.appender.Window;var $2=$1._nextId++;$1._registeredAppenders[$2]=$0;return $2;},getAppender:function($0){return qx.log.appender.Window._registeredAppenders[$0];}},properties:{maxMessages:{check:$[5],init:500},popUnder:{check:$[2],init:false},autoCloseWithErrors:{check:$[2],init:true,apply:$[1242]},windowWidth:{check:$[5],init:600},windowHeight:{check:$[5],init:350},windowLeft:{check:$[5],nullable:true},windowTop:{check:$[5],nullable:true}},members:{openWindow:function(){if(this._inLogWindowCallback){return;}this._inLogWindowCallback=true;if(this._logWindow&&!this._logWindow.closed){return ;}var $0=this.getWindowWidth();var $1=this.getWindowHeight();var $2=this.getWindowLeft();if($2===null){$2=window.screen.width-$0;}var $3=this.getWindowTop();if($3===null){$3=window.screen.height-$1;}var $4=$[1077]+$[1410]+$0+$[888]+$1+$[1444]+$2+$[1430]+$3;this._logWindow=window.open($[0],this._name,$4);qx.client.Timer.once(this._openWindowCallback,this,200);},_openWindowCallback:function(){delete this._inLogWindowCallback;if(!this._logWindow||this._logWindow.closed){if(this._popupBlockerWarning){return;}alert("Could not open log window. Please disable your popup blocker!");this._popupBlockerWarning=true;return;}this._popupBlockerWarning=false;if(this.getPopUnder()){this._logWindow.blur();window.focus();}var $0=this._logWindow.document;var $1=qx.core.Variant.isSet($[1],$[13])?$[1109]:$[528];$0.open();$0.write($[1257]+this._name+$[1340]+$[798]+this._id+$[707]+$[1817]+$[572]+$[1464]+$[549]+$[1327]+$[1619]+$[1219]+$[857]+$1+$[804]+$[624]+$[564]+this._filterText+$[720]+$[381]+$[741]+$[1787]+$[381]+$[1724]);$0.close();this._logElem=$0.getElementById($[348]);this._markerBtn=$0.getElementById($[1665]);this._filterInput=$0.getElementById($[148]);this._logLinesDiv=$0.getElementById($[785]);var $2=this;this._markerBtn.onclick=function(){$2._showMessageInLog($[709]);};this._filterInput.onkeyup=function(){$2.setFilterText($2._filterInput.value);};if(this._logEventQueue!=null){for(var $3=0;$3<this._logEventQueue.length;$3++){this.appendLogEvent(this._logEventQueue[$3]);}this._logEventQueue.length=0;}},closeWindow:function(){if(this._logWindow!=null){this._logWindow.close();this._logWindow=null;this._logElem=null;}},_autoCloseWindow:function(){if(this.getAutoCloseWithErrors()||this._errorsPreventingAutoCloseCount==0){this.closeWindow();}else{this._showMessageInLog($[998]+this._errorsPreventingAutoCloseCount+$[845]);}},_showMessageInLog:function($0){var $1={message:$0,isDummyEventForMessage:true};this.appendLogEvent($1);},appendLogEvent:function($0){if(!this._logWindow||this._logWindow.closed){if(!this._logEventQueue){this._logEventQueue=[];}this._logEventQueue.push($0);this.openWindow();}else if(this._logElem==null){this._logEventQueue.push($0);}else{var $1=this._logWindow.document.createElement($[70]);if($0.level>=qx.log.Logger.LEVEL_ERROR){$1.style.backgroundColor=$[1567];if(!this.getAutoCloseWithErrors()){this._errorsPreventingAutoCloseCount+=1;}}else if($0.level==qx.log.Logger.LEVEL_DEBUG){$1.style.color=$[694];}var $2;if($0.isDummyEventForMessage){$2=$0.message;}else{$2=qx.html.String.fromText(this.formatLogEvent($0));}$1.innerHTML=$2;this._logElem.appendChild($1);var $3={txt:$2.toUpperCase(),elem:$1};this._divDataSets.push($3);this._setDivVisibility($3);while(this._logElem.childNodes.length>this.getMaxMessages()){this._logElem.removeChild(this._logElem.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._logElem.firstChild.innerHTML=$[322]+this._removedMessageCount+$[466];}this._logLinesDiv.scrollTop=this._logLinesDiv.scrollHeight;}},setFilterText:function($0){if($0==null){$0=$[0];}this._filterText=$0;$0=$0.toUpperCase();this._filterTextWords=$0.split($[84]);for(var $1=0;$1<this._divDataSets.length;$1++){this._setDivVisibility(this._divDataSets[$1]);}},_setDivVisibility:function($0){var $1=true;for(var $2=0;$1&&($2<this._filterTextWords.length);$2++){$1=$0.txt.indexOf(this._filterTextWords[$2])>=0;}$0.elem.style[$[159]]=($1?$[0]:$[8]);},_applyAutoCloseWithErrors:function($0,$1){if(!$0&&$1){this._errorsPreventingAutoCloseCount=0;this._showMessageInLog($[697]);}else if($0&&!$1){this._showMessageInLog($[748]+this._errorsPreventingAutoCloseCount+$[1199]);}}},destruct:function(){try{if(this._markerBtn){this._markerBtn.onclick=null;}if(this._filterInput){this._filterInput.onkeyup=null;}}catch(ex){}this._autoCloseWindow();this._disposeFields($[959],$[1615],$[1701],$[1294],$[1443],$[1204]);}}); |
| 33 |
qx.Class.define($[1603],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setEnabled(false);if($0!=null){this.setInterval($0);}this.__oninterval=qx.lang.Function.bind(this._oninterval,this);},events:{"interval":$[4]},statics:{once:function($0,$1,$2){var $3=new qx.client.Timer($2);$3.addEventListener($[86],function($4){$3.dispose();$0.call($1,$4);$1=null;},$1);$3.start();}},properties:{enabled:{init:true,check:$[2],apply:$[302]},interval:{check:$[5],init:1000,apply:$[1048]}},members:{__intervalHandler:null,_applyInterval:function($0,$1){if(this.getEnabled()){this.restart();}},_applyEnabled:function($0,$1){if($1){window.clearInterval(this.__intervalHandler);this.__intervalHandler=null;}else if($0){this.__intervalHandler=window.setInterval(this.__oninterval,this.getInterval());}},start:function(){this.setEnabled(true);},startWith:function($0){this.setInterval($0);this.start();},stop:function(){this.setEnabled(false);},restart:function(){this.stop();this.start();},restartWith:function($0){this.stop();this.startWith($0);},_oninterval:function(){if(this.getEnabled()){this.createDispatchEvent($[86]);}}},destruct:function(){if(this.__intervalHandler){window.clearInterval(this.__intervalHandler);}this._disposeFields($[1382],$[1782]);}}); |
33 |
qx.Class.define($[1625],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setEnabled(false);if($0!=null){this.setInterval($0);}this.__oninterval=qx.lang.Function.bind(this._oninterval,this);this.__event=new qx.event.type.Event($[76]);},events:{"interval":$[4]},statics:{once:function($0,$1,$2){var $3=new qx.client.Timer($2);$3.addEventListener($[76],function($4){$3.dispose();$0.call($1,$4);$1=null;},$1);$3.start();}},properties:{enabled:{init:true,check:$[2],apply:$[306]},interval:{check:$[5],init:1000,apply:$[1066]}},members:{__intervalHandler:null,_applyInterval:function($0,$1){if(this.getEnabled()){this.restart();}},_applyEnabled:function($0,$1){if($1){window.clearInterval(this.__intervalHandler);this.__intervalHandler=null;}else if($0){this.__intervalHandler=window.setInterval(this.__oninterval,this.getInterval());}},start:function(){this.setEnabled(true);},startWith:function($0){this.setInterval($0);this.start();},stop:function(){this.setEnabled(false);},restart:function(){this.stop();this.start();},restartWith:function($0){this.stop();this.startWith($0);},_oninterval:function(){if(this.getEnabled()&&this.hasEventListeners($[76])){this.dispatchEvent(this.__event,false);}}},destruct:function(){if(this.__intervalHandler){window.clearInterval(this.__intervalHandler);}this._disposeFields($[1400],$[1802]);}}); |
| 34 |
qx.Class.define($[1385],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);},members:{appendLogEvent:function($0){if(typeof console!=$[408]){var $1=qx.log.Logger;var $2=this.formatLogEvent($0);switch($0.level){case $1.LEVEL_DEBUG:if(console.debug){console.debug($2);}break;case $1.LEVEL_INFO:if(console.info){console.info($2);}break;case $1.LEVEL_WARN:if(console.warn){console.warn($2);}break;default:if(console.error){console.error($2);}break;}if($0.level>=$1.LEVEL_WARN&&(!$0.throwable||!$0.throwable.stack)&&console.trace){console.trace();}}}}}); |
34 |
qx.Class.define($[1403],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);},members:{appendLogEvent:function($0){if(typeof console!=$[415]){var $1=qx.log.Logger;var $2=this.formatLogEvent($0);switch($0.level){case $1.LEVEL_DEBUG:if(console.debug){console.debug($2);}break;case $1.LEVEL_INFO:if(console.info){console.info($2);}break;case $1.LEVEL_WARN:if(console.warn){console.warn($2);}break;default:if(console.error){console.error($2);}break;}if($0.level>=$1.LEVEL_WARN&&(!$0.throwable||!$0.throwable.stack)&&console.trace){console.trace();}}}}}); |
| 35 |
qx.Class.define($[462],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);if(typeof console!=$[408]&&console.debug&&!console.emu){this._appender=new qx.log.appender.FireBug;}else{this._appender=new qx.log.appender.Window;}},members:{appendLogEvent:function($0){if(this._appender){return this._appender.appendLogEvent($0);}}},destruct:function(){this._disposeObjects($[1721]);}}); |
35 |
qx.Class.define($[469],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);if(typeof console!=$[415]&&console.debug&&!console.emu){this._appender=new qx.log.appender.FireBug;}else{this._appender=new qx.log.appender.Window;}},members:{appendLogEvent:function($0){if(this._appender){return this._appender.appendLogEvent($0);}}},destruct:function(){this._disposeObjects($[1741]);}}); |
| 36 |
qx.Class.define($[1011],{extend:qx.log.LogEventProcessor,construct:function($0,$1){arguments.callee.base.call(this);this._name=$0;this._parentLogger=$1;},statics:{deprecatedMethodWarning:function($0,$1){if(qx.core.Variant.isSet($[263],$[23])){var $2=qx.log.Logger.getClassLogger($0.self||this);var $3=qx.dev.StackTrace.getFunctionName($0);var $4=$0.self?$0.self.classname:$[359];$2.warn("The method '"+$3+"' of class '"+$4+"' is deprecated: "+$1||"Please consult the API documentation of this method for alternatives.");$2.printStackTrace();}},deprecatedClassWarning:function($0,$1){if(qx.core.Variant.isSet($[263],$[23])){var $2=qx.log.Logger.getClassLogger($0);var $3=$0.self?$0.self.classname:$[359];$2.warn("The method class '"+$3+"' is deprecated: "+$1||"Please consult the API documentation of this class for alternatives.");$2.printStackTrace();}},getClassLogger:function($0){var $1=$0._logger;if($1==null){var $2=$0.classname;var $3=$2.split($[24]);var $4=window;var $5=$[0];var $6=qx.log.Logger.ROOT_LOGGER;for(var $7=0;$7<$3.length-1;$7++){$4=$4[$3[$7]];$5+=(($7!=0)?$[24]:$[0])+$3[$7];if($4._logger==null){$4._logger=new qx.log.Logger($5,$6);}$6=$4._logger;}$1=new qx.log.Logger($2,$6);$0._logger=$1;}return $1;},_indent:0,LEVEL_ALL:0,LEVEL_DEBUG:200,LEVEL_INFO:500,LEVEL_WARN:600,LEVEL_ERROR:700,LEVEL_FATAL:800,LEVEL_OFF:1000,ROOT_LOGGER:null},members:{getName:function(){return this._name;},getParentLogger:function(){return this._parentLogger;},indent:function(){qx.log.Logger._indent++;},unindent:function(){qx.log.Logger._indent--;},addAppender:function($0){if(this._appenderArr==null){this._appenderArr=[];}this._appenderArr.push($0);},removeAppender:function($0){if(this._appenderArr!=null){this._appenderArr.remove($0);}},removeAllAppenders:function(){this._appenderArr=null;},handleLogEvent:function($0){var $1=qx.log.Filter;var $2=$1.NEUTRAL;var $3=this;while($2==$1.NEUTRAL&&$3!=null){$2=$3.decideLogEvent($0);$3=$3.getParentLogger();}if($2!=$1.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){if(this._appenderArr!=null&&this._appenderArr.length!=0){for(var $1=0;$1<this._appenderArr.length;$1++){this._appenderArr[$1].handleLogEvent($0);}}else if(this._parentLogger!=null){this._parentLogger.appendLogEvent($0);}},log:function($0,$1,$2,$3,$4){var $5={logger:this,level:$0,message:$1,throwable:$3,trace:$4,indent:qx.log.Logger._indent,instanceId:$2};this.handleLogEvent($5);},debug:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_DEBUG,$0,$1,$2);},info:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_INFO,$0,$1,$2);},warn:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_WARN,$0,$1,$2);},error:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_ERROR,$0,$1,$2);},fatal:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_FATAL,$0,$1,$2);},measureReset:function(){if(this._totalMeasureTime!=null){this.debug("Measure reset. Total measure time: "+this._totalMeasureTime+" ms");}this._lastMeasureTime=null;this._totalMeasureTime=null;},measure:function($0,$1,$2){if(this._lastMeasureTime==null){$0=$[615]+$0;}else{var $3=new Date().getTime()-this._lastMeasureTime;if(this._totalMeasureTime==null){this._totalMeasureTime=0;}this._totalMeasureTime+=$3;$0=$[831]+$3+$[1024]+$0;}this.debug($0,$1,$2);this._lastMeasureTime=new Date().getTime();},printStackTrace:function(){var $0=qx.dev.StackTrace.getStackTrace();qx.lang.Array.removeAt($0,0);this.log(qx.log.Logger.LEVEL_DEBUG,$[1356],$[0],null,$0);}},settings:{"qx.logAppender":$[462],"qx.minLogLevel":200},defer:function($0){$0.ROOT_LOGGER=new $0("root",null);$0.ROOT_LOGGER.setMinLevel(qx.core.Setting.get($[952]));$0.ROOT_LOGGER.addAppender(new (qx.Class.getByName(qx.core.Setting.get($[603]))));},destruct:function(){this._disposeFields($[1305],$[1054]);}}); |
36 |
qx.Class.define($[1029],{extend:qx.log.LogEventProcessor,construct:function($0,$1){arguments.callee.base.call(this);this._name=$0;this._parentLogger=$1;},statics:{deprecatedMethodWarning:function($0,$1){if(qx.core.Variant.isSet($[266],$[26])){var $2=qx.log.Logger.getClassLogger($0.self||this);var $3=qx.dev.StackTrace.getFunctionName($0);var $4=$0.self?$0.self.classname:$[265];$2.warn("The method '"+$3+"' of class '"+$4+"' is deprecated: "+$1||"Please consult the API documentation of this method for alternatives.");$2.printStackTrace();}},deprecatedClassWarning:function($0,$1){if(qx.core.Variant.isSet($[266],$[26])){var $2=qx.log.Logger.getClassLogger($0);var $3=$0.self?$0.self.classname:$[265];$2.warn("The method class '"+$3+"' is deprecated: "+$1||"Please consult the API documentation of this class for alternatives.");$2.printStackTrace();}},getClassLogger:function($0){var $1=$0._logger;if($1==null){var $2=$0.classname;var $3=$2.split($[24]);var $4=window;var $5=$[0];var $6=qx.log.Logger.ROOT_LOGGER;for(var $7=0;$7<$3.length-1;$7++){$4=$4[$3[$7]];$5+=(($7!=0)?$[24]:$[0])+$3[$7];if($4._logger==null){$4._logger=new qx.log.Logger($5,$6);}$6=$4._logger;}$1=new qx.log.Logger($2,$6);$0._logger=$1;}return $1;},_indent:0,LEVEL_ALL:0,LEVEL_DEBUG:200,LEVEL_INFO:500,LEVEL_WARN:600,LEVEL_ERROR:700,LEVEL_FATAL:800,LEVEL_OFF:1000,ROOT_LOGGER:null},members:{getName:function(){return this._name;},getParentLogger:function(){return this._parentLogger;},indent:function(){qx.log.Logger._indent++;},unindent:function(){qx.log.Logger._indent--;},addAppender:function($0){if(this._appenderArr==null){this._appenderArr=[];}this._appenderArr.push($0);},removeAppender:function($0){if(this._appenderArr!=null){qx.lang.Array.remove(this._appenderArr,$0);}},removeAllAppenders:function(){this._appenderArr=null;},handleLogEvent:function($0){var $1=qx.log.Filter;var $2=$1.NEUTRAL;var $3=this;while($2==$1.NEUTRAL&&$3!=null){$2=$3.decideLogEvent($0);$3=$3.getParentLogger();}if($2!=$1.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){if(this._appenderArr!=null&&this._appenderArr.length!=0){for(var $1=0;$1<this._appenderArr.length;$1++){this._appenderArr[$1].handleLogEvent($0);}}else if(this._parentLogger!=null){this._parentLogger.appendLogEvent($0);}},log:function($0,$1,$2,$3,$4){var $5={logger:this,level:$0,message:$1,throwable:$3,trace:$4,indent:qx.log.Logger._indent,instanceId:$2};this.handleLogEvent($5);},debug:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_DEBUG,$0,$1,$2);},info:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_INFO,$0,$1,$2);},warn:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_WARN,$0,$1,$2);},error:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_ERROR,$0,$1,$2);},fatal:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_FATAL,$0,$1,$2);},measureReset:function(){if(this._totalMeasureTime!=null){this.debug("Measure reset. Total measure time: "+this._totalMeasureTime+" ms");}this._lastMeasureTime=null;this._totalMeasureTime=null;},measure:function($0,$1,$2){if(this._lastMeasureTime==null){$0=$[629]+$0;}else{var $3=new Date().getTime()-this._lastMeasureTime;if(this._totalMeasureTime==null){this._totalMeasureTime=0;}this._totalMeasureTime+=$3;$0=$[847]+$3+$[1042]+$0;}this.debug($0,$1,$2);this._lastMeasureTime=new Date().getTime();},printStackTrace:function(){var $0=qx.dev.StackTrace.getStackTrace();qx.lang.Array.removeAt($0,0);this.log(qx.log.Logger.LEVEL_DEBUG,$[1375],$[0],null,$0);}},settings:{"qx.logAppender":$[469],"qx.minLogLevel":200},defer:function($0){$0.ROOT_LOGGER=new $0("root",null);$0.ROOT_LOGGER.setMinLevel(qx.core.Setting.get($[971]));$0.ROOT_LOGGER.addAppender(new (qx.Class.getByName(qx.core.Setting.get($[616]))));},destruct:function(){this._disposeFields($[1326],$[1072]);}}); |
| 37 |
qx.Class.define($[1607],{statics:{getStackTrace:qx.core.Variant.select($[1],{"gecko":function(){try{throw new Error();}catch(e){var $0=this.getStackTraceFromError(e);qx.lang.Array.removeAt($0,0);var $1=this.getStackTraceFromCaller(arguments);var $2=$1.length>$0.length?$1:$0;for(var $3=0;$3<Math.min($1.length,$0.length);$3++){var $4=$1[$3];if($4.indexOf($[1201])>=0){continue;}var $5=$4.split($[47]);if($5.length!=2){continue;}var $6=$5[0];var $7=$5[1];var $8=$0[$3];var $9=$8.split($[47]);var $a=$9[0];var $b=$9[1];if(qx.Class.getByName($a)){var $c=$a;}else{$c=$6;}var $d=$c+$[47];if($7){$d+=$7+$[47];}$d+=$b;$2[$3]=$d;}return $2;}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);},"opera":function(){var $0;try{$0.bar();}catch(e){var $1=this.getStackTraceFromError(e);qx.lang.Array.removeAt($1,0);return $1;}return [];}}),getStackTraceFromCaller:qx.core.Variant.select($[1],{"opera":function($0){return [];},"default":function($0){var $1=[];var $2=qx.lang.Function.getCaller($0);var $3={};while($2){var $4=this.getFunctionName($2);$1.push($4);try{$2=$2.caller;}catch(e){break;}if(!$2){break;}var $5=qx.core.Object.toHashCode($2);if($3[$5]){$1.push($[1381]);break;}$3[$5]=$2;}return $1;}}),getStackTraceFromError:qx.core.Variant.select($[1],{"gecko":function($0){if(!$0.stack){return [];}var $1=/@(.+):(\d+)$/gm;var $2;var $3=[];while(($2=$1.exec($0.stack))!=null){var $4=$2[1];var $5=$2[2];var $6=this.__fileNameToClassName($4);$3.push($6+$[47]+$5);}return $3;},"webkit":function($0){if($0.sourceURL&&$0.line){return [this.__fileNameToClassName($0.sourceURL)+$[47]+$0.line];}},"opera":function($0){if($0.message.indexOf("Backtrace:")<0){return [];}var $1=[];var $2=qx.lang.String.trim($0.message.split("Backtrace:")[1]);var $3=$2.split($[180]);for(var $4=0;$4<$3.length;$4++){var $5=$3[$4].match(/\s*Line ([0-9]+) of.* (\S.*)/);if($5&&$5.length>=2){var $6=$5[1];var $7=this.__fileNameToClassName($5[2]);$1.push($7+$[47]+$6);}}return $1;},"default":function(){return [];}}),getFunctionName:function($0){if($0.$$original){return $0.classname+$[702];}if($0.wrapper){return $0.wrapper.classname+$[480];}if($0.classname){return $0.classname+$[480];}if($0.mixin){for(var $1 in $0.mixin.$$members){if($0.mixin.$$members[$1]==$0){return $0.mixin.name+$[47]+$1;}}for(var $1 in $0.mixin){if($0.mixin[$1]==$0){return $0.mixin.name+$[47]+$1;}}}if($0.self){var $2=$0.self.constructor;if($2){for(var $1 in $2.prototype){if($2.prototype[$1]==$0){return $2.classname+$[47]+$1;}}for(var $1 in $2){if($2[$1]==$0){return $2.classname+$[47]+$1;}}}}var $3=$0.toString().match(/(function\s*\w*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $3[1];}var $3=$0.toString().match(/(function\s*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $[953]+$3[1];}return $[1621];},__fileNameToClassName:function($0){var $1=$[1284];var $2=$0.indexOf($1);var $3=($2==-1)?$0:$0.substring($2+$1.length).replace(/\//g,$[24]).replace(/\.js$/,$[0]);return $3;}}}); |
37 |
qx.Class.define($[1630],{statics:{getStackTrace:qx.core.Variant.select($[1],{"gecko":function(){try{throw new Error();}catch(ex){var $0=this.getStackTraceFromError(ex);qx.lang.Array.removeAt($0,0);var $1=this.getStackTraceFromCaller(arguments);var $2=$1.length>$0.length?$1:$0;for(var $3=0;$3<Math.min($1.length,$0.length);$3++){var $4=$1[$3];if($4.indexOf($[1224])>=0){continue;}var $5=$4.split($[33]);if($5.length!=2){continue;}var $6=$5[0];var $7=$5[1];var $8=$0[$3];var $9=$8.split($[33]);var $a=$9[0];var $b=$9[1];if(qx.Class.getByName($a)){var $c=$a;}else{$c=$6;}var $d=$c+$[33];if($7){$d+=$7+$[33];}$d+=$b;$2[$3]=$d;}return $2;}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);},"opera":function(){var $0;try{$0.bar();}catch(ex){var $1=this.getStackTraceFromError(ex);qx.lang.Array.removeAt($1,0);return $1;}return [];}}),getStackTraceFromCaller:qx.core.Variant.select($[1],{"opera":function($0){return [];},"default":function($0){var $1=[];var $2=qx.lang.Function.getCaller($0);var $3={};while($2){var $4=this.getFunctionName($2);$1.push($4);try{$2=$2.caller;}catch(ex){break;}if(!$2){break;}var $5=qx.core.Object.toHashCode($2);if($3[$5]){$1.push($[1399]);break;}$3[$5]=$2;}return $1;}}),getStackTraceFromError:qx.core.Variant.select($[1],{"gecko":function($0){if(!$0.stack){return [];}var $1=/@(.+):(\d+)$/gm;var $2;var $3=[];while(($2=$1.exec($0.stack))!=null){var $4=$2[1];var $5=$2[2];var $6=this.__fileNameToClassName($4);$3.push($6+$[33]+$5);}return $3;},"webkit":function($0){if($0.sourceURL&&$0.line){return [this.__fileNameToClassName($0.sourceURL)+$[33]+$0.line];}},"opera":function($0){if($0.message.indexOf("Backtrace:")<0){return [];}var $1=[];var $2=qx.lang.String.trim($0.message.split("Backtrace:")[1]);var $3=$2.split($[180]);for(var $4=0;$4<$3.length;$4++){var $5=$3[$4].match(/\s*Line ([0-9]+) of.* (\S.*)/);if($5&&$5.length>=2){var $6=$5[1];var $7=this.__fileNameToClassName($5[2]);$1.push($7+$[33]+$6);}}return $1;},"default":function(){return [];}}),getFunctionName:function($0){if($0.$$original){return $0.classname+$[713];}if($0.wrapper){return $0.wrapper.classname+$[488];}if($0.classname){return $0.classname+$[488];}if($0.mixin){for(var $1 in $0.mixin.$$members){if($0.mixin.$$members[$1]==$0){return $0.mixin.name+$[33]+$1;}}for(var $1 in $0.mixin){if($0.mixin[$1]==$0){return $0.mixin.name+$[33]+$1;}}}if($0.self){var $2=$0.self.constructor;if($2){for(var $1 in $2.prototype){if($2.prototype[$1]==$0){return $2.classname+$[33]+$1;}}for(var $1 in $2){if($2[$1]==$0){return $2.classname+$[33]+$1;}}}}var $3=$0.toString().match(/(function\s*\w*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $3[1];}var $3=$0.toString().match(/(function\s*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $[972]+$3[1];}return $[1644];},__fileNameToClassName:function($0){var $1=$[1306];var $2=$0.indexOf($1);var $3=($2==-1)?$0:$0.substring($2+$1.length).replace(/\//g,$[24]).replace(/\.js$/,$[0]);return $3;}}}); |
| 38 |
qx.Class.define($[1591],{statics:{escape:function($0){return qx.dom.String.escapeEntities($0,qx.html.Entity.FROM_CHARCODE);},unescape:function($0){return qx.dom.String.unescapeEntities($0,qx.html.Entity.TO_CHARCODE);},fromText:function($0){return qx.html.String.escape($0).replace(/( |\n)/g,function($1){var $2={" ":$[600],"\n":$[484]};return $2[$1]||$1;});},toText:function($0){return qx.html.String.unescape($0.replace(/\s+|<([^>])+>/gi,function($1){if(/\s+/.test($1)){return $[83];}else if(/^<BR|^<br/gi.test($1)){return $[180];}else{return $[0];}}));}}}); |
38 |
qx.Class.define($[1613],{statics:{escape:function($0){return qx.dom.String.escapeEntities($0,qx.html.Entity.FROM_CHARCODE);},unescape:function($0){return qx.dom.String.unescapeEntities($0,qx.html.Entity.TO_CHARCODE);},fromText:function($0){return qx.html.String.escape($0).replace(/( |\n)/g,function($1){var $2={" ":$[612],"\n":$[492]};return $2[$1]||$1;});},toText:function($0){return qx.html.String.unescape($0.replace(/\s+|<([^>])+>/gi,function($1){if(/\s+/.test($1)){return $[84];}else if(/^<BR|^<br/gi.test($1)){return $[180];}else{return $[0];}}));}}}); |
| 39 |
qx.Class.define($[1166],{statics:{escapeEntities:qx.core.Variant.select($[1],{"mshtml":function($0,$1){var $2,$3=[];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[79];}else{if($7>0x7F){$2=$[435]+$7+$[79];}else{$2=$6;}}$3[$3.length]=$2;}return $3.join($[0]);},"default":function($0,$1){var $2,$3=$[0];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[79];}else{if($7>0x7F){$2=$[435]+$7+$[79];}else{$2=$6;}}$3+=$2;}return $3;}}),unescapeEntities:function($0,$1){return $0.replace(/&[#\w]+;/gi,function($2){var $3=$2;var $2=$2.substring(1,$2.length-1);var $4=$1[$2];if($4){$3=String.fromCharCode($4);}else{if($2.charAt(0)==$[849]){if($2.charAt(1).toUpperCase()==$[1034]){$4=$2.substring(2);if($4.match(/^[0-9A-Fa-f]+$/gi)){$3=String.fromCharCode(parseInt($[1021]+$4));}}else{$4=$2.substring(1);if($4.match(/^\d+$/gi)){$3=String.fromCharCode(parseInt($4));}}}}return $3;});},stripTags:function($0){return $0.replace(/<\/?[^>]+>/gi,$[0]);}}}); |
39 |
qx.Class.define($[1185],{statics:{escapeEntities:qx.core.Variant.select($[1],{"mshtml":function($0,$1){var $2,$3=[];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[42];}else{if($7>0x7F){$2=$[443]+$7+$[42];}else{$2=$6;}}$3[$3.length]=$2;}return $3.join($[0]);},"default":function($0,$1){var $2,$3=$[0];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[42];}else{if($7>0x7F){$2=$[443]+$7+$[42];}else{$2=$6;}}$3+=$2;}return $3;}}),unescapeEntities:function($0,$1){return $0.replace(/&[#\w]+;/gi,function($2){var $3=$2;var $2=$2.substring(1,$2.length-1);var $4=$1[$2];if($4){$3=String.fromCharCode($4);}else{if($2.charAt(0)==$[865]){if($2.charAt(1).toUpperCase()==$[1052]){$4=$2.substring(2);if($4.match(/^[0-9A-Fa-f]+$/gi)){$3=String.fromCharCode(parseInt($[1039]+$4));}}else{$4=$2.substring(1);if($4.match(/^\d+$/gi)){$3=String.fromCharCode(parseInt($4));}}}}return $3;});},stripTags:function($0){return $0.replace(/<\/?[^>]+>/gi,$[0]);}}}); |
| 40 |
qx.Class.define($[1199],{statics:{TO_CHARCODE:{"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364}},defer:function($0,$1,$2){$0.FROM_CHARCODE=qx.lang.Object.invert($0.TO_CHARCODE);}}); |
40 |
qx.Class.define($[1222],{statics:{TO_CHARCODE:{"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364}},defer:function($0,$1,$2){$0.FROM_CHARCODE=qx.lang.Object.invert($0.TO_CHARCODE);}}); |
| 41 |
qx.Class.define($[1223],{statics:{addEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.attachEvent($[23]+$1,$2);},"default":function($0,$1,$2){$0.addEventListener($1,$2,false);}}),removeEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.detachEvent($[23]+$1,$2);},"default":function($0,$1,$2){$0.removeEventListener($1,$2,false);}})}}); |
41 |
qx.Class.define($[1246],{statics:{addEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.attachEvent($[26]+$1,$2);},"default":function($0,$1,$2){$0.addEventListener($1,$2,false);}}),removeEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.detachEvent($[26]+$1,$2);},"default":function($0,$1,$2){$0.removeEventListener($1,$2,false);}})}}); |
| 42 |
qx.Class.define($[1086],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._onloadWrapped=qx.lang.Function.bind(this._onload,this);this._onbeforeunloadWrapped=qx.lang.Function.bind(this._onbeforeunload,this);this._onunloadWrapped=qx.lang.Function.bind(this._onunload,this);qx.html.EventRegistration.addEventListener(window,$[82],this._onloadWrapped);qx.html.EventRegistration.addEventListener(window,$[251],this._onbeforeunloadWrapped);qx.html.EventRegistration.addEventListener(window,$[131],this._onunloadWrapped);},events:{"load":$[4],"beforeunload":$[4],"unload":$[4]},properties:{application:{nullable:true,check:function($0){if(typeof $0==$[37]){throw new Error("The application property takes an application instance as parameter "+"and no longer a class/constructor. You may have to fix your 'index.html'.");}return $0&&qx.Class.hasInterface($0.constructor,qx.application.IApplication);}}},members:{_autoDispose:false,_onload:function($0){if(this._onloadDone){return;}this._onloadDone=true;this.createDispatchEvent($[82]);this.debug("qooxdoo "+qx.core.Version.toString());{};this.debug("loaded "+qx.Class.getTotalNumber()+" classes");this.debug("loaded "+qx.Interface.getTotalNumber()+" interfaces");this.debug("loaded "+qx.Mixin.getTotalNumber()+" mixins");if(qx.Theme){this.debug("loaded "+qx.Theme.getTotalNumber()+" themes");}if(qx.locale&&qx.locale.Manager){this.debug("loaded "+qx.locale.Manager.getInstance().getAvailableLocales().length+" locales");}var $1=qx.core.Client.getInstance();this.debug("client: "+$1.getEngine()+"-"+$1.getMajor()+"."+$1.getMinor()+"/"+$1.getPlatform()+"/"+$1.getLocale());this.debug("browser: "+$1.getBrowser()+"/"+($1.supportsSvg()?"svg":$1.supportsVml()?"vml":"none"));{};if(!this.getApplication()){var $2=qx.Class.getByName(qx.core.Setting.get($[599]));if($2){this.setApplication(new $2(this));}}if(!this.getApplication()){return;}this.debug("application: "+this.getApplication().classname+"["+this.getApplication().toHashCode()+"]");var $3=new Date;this.getApplication().main();this.info("main runtime: "+(new Date-$3)+"ms");},_onbeforeunload:function($0){this.createDispatchEvent($[251]);if(this.getApplication()){var $1=this.getApplication().close();if($1!=null){$0.returnValue=$1;}}},_onunload:function($0){this.createDispatchEvent($[131]);if(this.getApplication()){this.getApplication().terminate();}qx.core.Object.dispose(true);}},settings:{"qx.application":$[325]},destruct:function(){qx.html.EventRegistration.removeEventListener(window,$[82],this._onloadWrapped);qx.html.EventRegistration.removeEventListener(window,$[251],this._onbeforeunloadWrapped);qx.html.EventRegistration.removeEventListener(window,$[131],this._onunloadWrapped);},defer:function($0,$1,$2){$0.getInstance();}}); |
42 |
qx.Class.define($[1104],{type:$[20],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._onloadWrapped=qx.lang.Function.bind(this._onload,this);this._onbeforeunloadWrapped=qx.lang.Function.bind(this._onbeforeunload,this);this._onunloadWrapped=qx.lang.Function.bind(this._onunload,this);qx.html.EventRegistration.addEventListener(window,$[83],this._onloadWrapped);qx.html.EventRegistration.addEventListener(window,$[253],this._onbeforeunloadWrapped);qx.html.EventRegistration.addEventListener(window,$[135],this._onunloadWrapped);},events:{"load":$[4],"beforeunload":$[4],"unload":$[4]},properties:{application:{nullable:true,check:function($0){if(typeof $0==$[38]){throw new Error("The application property takes an application instance as parameter "+"and no longer a class/constructor. You may have to fix your 'index.html'.");}return $0&&qx.Class.hasInterface($0.constructor,qx.application.IApplication);}}},members:{_autoDispose:false,_onload:function($0){if(this._onloadDone){return;}this._onloadDone=true;this.createDispatchEvent($[83]);this.debug("qooxdoo "+qx.core.Version.toString());{};this.debug("loaded "+qx.Class.getTotalNumber()+" classes");this.debug("loaded "+qx.Interface.getTotalNumber()+" interfaces");this.debug("loaded "+qx.Mixin.getTotalNumber()+" mixins");if(qx.Theme){this.debug("loaded "+qx.Theme.getTotalNumber()+" themes");}if(qx.locale&&qx.locale.Manager){this.debug("loaded "+qx.locale.Manager.getInstance().getAvailableLocales().length+" locales");}var $1=qx.core.Client.getInstance();this.debug("client: "+$1.getEngine()+"-"+$1.getMajor()+"."+$1.getMinor()+"/"+$1.getPlatform()+"/"+$1.getLocale());this.debug("browser: "+$1.getBrowser()+"/"+($1.supportsSvg()?"svg":$1.supportsVml()?"vml":"none"));{};if(!this.getApplication()){var $2=qx.Class.getByName(qx.core.Setting.get($[611]));if($2){this.setApplication(new $2(this));}}if(!this.getApplication()){return;}this.debug("application: "+this.getApplication().classname+"["+this.getApplication().toHashCode()+"]");var $3=new Date;this.getApplication().main();this.info("main runtime: "+(new Date-$3)+"ms");},_onbeforeunload:function($0){this.createDispatchEvent($[253]);if(this.getApplication()){var $1=this.getApplication().close();if($1!=null){$0.returnValue=$1;return $1;}}},_onunload:function($0){this.createDispatchEvent($[135]);if(this.getApplication()){this.getApplication().terminate();}qx.core.Object.dispose(true);}},settings:{"qx.application":$[331]},destruct:function(){qx.html.EventRegistration.removeEventListener(window,$[83],this._onloadWrapped);qx.html.EventRegistration.removeEventListener(window,$[253],this._onbeforeunloadWrapped);qx.html.EventRegistration.removeEventListener(window,$[135],this._onunloadWrapped);},defer:function($0,$1,$2){$0.getInstance();}}); |
| 43 |
qx.Interface.define($[950],{members:{main:function(){return true;},close:function(){return true;},terminate:function(){return true;}}}); |
43 |
qx.Interface.define($[969],{members:{main:function(){return true;},close:function(){return true;},terminate:function(){return true;}}}); |
| 44 |
qx.Class.define($[998],{statics:{major:0,minor:0,revision:0,state:$[0],svn:0,folder:$[0],toString:function(){return this.major+$[24]+this.minor+(this.revision==0?$[0]:$[24]+this.revision)+(this.state==$[0]?$[0]:$[137]+this.state)+(this.svn==0?$[0]:$[1645]+this.svn+$[145])+(this.folder==$[0]?$[0]:$[1801]+this.folder+$[115]);},__init:function(){var $0=qx.core.Setting.get($[618]).split($[83]);var $1=$0.shift();var $2=$0.join($[83]);if(/([0-9]+)\.([0-9]+)(\.([0-9]))?(-([a-z0-9]+))?/.test($1)){this.major=(RegExp.$1!=$[0]?parseInt(RegExp.$1):0);this.minor=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.revision=(RegExp.$4!=$[0]?parseInt(RegExp.$4):0);this.state=typeof RegExp.$6==$[8]?RegExp.$6:$[0];}if(/(\(r([0-9]+)\))?(\s\[([a-zA-Z0-9_-]+)\])?/.test($2)){this.svn=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.folder=typeof RegExp.$4==$[8]?RegExp.$4:$[0];}}},settings:{"qx.version":$[960]},defer:function($0){$0.__init();}}); |
44 |
qx.Class.define($[1016],{statics:{major:0,minor:0,revision:0,state:$[0],svn:0,folder:$[0],toString:function(){return this.major+$[24]+this.minor+(this.revision==0?$[0]:$[24]+this.revision)+(this.state==$[0]?$[0]:$[141]+this.state)+(this.svn==0?$[0]:$[1668]+this.svn+$[149])+(this.folder==$[0]?$[0]:$[1821]+this.folder+$[120]);},__init:function(){var $0=qx.core.Setting.get($[632]).split($[84]);var $1=$0.shift();var $2=$0.join($[84]);if(/([0-9]+)\.([0-9]+)(\.([0-9]))?(-([a-z0-9]+))?/.test($1)){this.major=(RegExp.$1!=$[0]?parseInt(RegExp.$1):0);this.minor=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.revision=(RegExp.$4!=$[0]?parseInt(RegExp.$4):0);this.state=typeof RegExp.$6==$[7]?RegExp.$6:$[0];}if(/(\(r([0-9]+)\))?(\s\[([a-zA-Z0-9_-]+)\])?/.test($2)){this.svn=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.folder=typeof RegExp.$4==$[7]?RegExp.$4:$[0];}}},settings:{"qx.version":$[979]},defer:function($0){$0.__init();}}); |
| 45 |
qx.Class.define($[1751],{extend:qx.core.Target,implement:qx.application.IApplication,members:{main:function(){},close:function(){},terminate:function(){}}}); |
45 |
qx.Class.define($[1771],{extend:qx.core.Target,implement:qx.application.IApplication,members:{main:function(){},close:function(){},terminate:function(){}}}); |
| 46 |
qx.Class.define($[1047],{statics:{loadPart:function($0,$1,$2){window.qxloader.loadPart($0,$1,$2);},loadScript:function($0,$1,$2){window.qxloader.loadScript($0,$1,$2);}}}); |
46 |
qx.Class.define($[1065],{statics:{loadPart:function($0,$1,$2){window.qxloader.loadPart($0,$1,$2);},loadScript:function($0,$1,$2){window.qxloader.loadScript($0,$1,$2);}}}); |
| 47 |
qx.Class.define($[1775],{statics:{define:function($0,$1){qx.Class.createNamespace($0,$1);qx.locale.Manager.getInstance().addTranslationFromClass($0,$1);}}}); |
47 |
qx.Class.define($[1795],{statics:{define:function($0,$1){qx.Class.createNamespace($0,$1);qx.locale.Manager.getInstance().addTranslationFromClass($0,$1);}}}); |
| 48 |
qx.Class.define($[1693],{type:$[51],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._registry={};this._dynamic={};},members:{connect:function($0,$1,$2){{};var $3=$[478]+$1.toHashCode()+$[207]+qx.core.Object.toHashCode($0);var $4=this._registry;if($2!==null&&this._preprocess){$2=this._preprocess($2);}if(this.isDynamic($2)){$4[$3]={callback:$0,object:$1,value:$2};}else if($4[$3]){delete $4[$3];}$0.call($1,this.resolveDynamic($2)||$2);},resolveDynamic:function($0){return this._dynamic[$0];},isDynamic:function($0){return this._dynamic[$0]!==undefined;},_updateObjects:function(){var $0=this._registry;var $1;for(var $2 in $0){$1=$0[$2];$1.callback.call($1.object,this.resolveDynamic($1.value));}}},destruct:function(){this._disposeFields($[1551],$[1508]);}}); |
48 |
qx.Class.define($[1714],{type:$[53],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._registry={};this._dynamic={};this._connectedObjects={};},members:{disconnect:function($0){if(this.isDisposed()){return;}var $1=$0.toHashCode();var $2=this._connectedObjects;var $3=this._registry;{};var $4=$2[$1];while($4.length){delete $3[$4.pop()];}delete $2[$1];},connect:function($0,$1,$2){{};var $3=$1.toHashCode();var $4=$[486]+$3+$[208]+qx.core.Object.toHashCode($0);var $5=this._registry;if($2!==null&&this._preprocess){$2=this._preprocess($2);}if(this.isDynamic($2)){$5[$4]={callback:$0,object:$1,value:$2};if(!this._connectedObjects[$3]){this._connectedObjects[$3]=[];}this._connectedObjects[$3].push($4);$1.hasConnectionTo(this);}else if($5[$4]){delete $5[$4];}$0.call($1,this.resolveDynamic($2)||$2);},resolveDynamic:function($0){return this._dynamic[$0];},isDynamic:function($0){return this._dynamic[$0]!==undefined;},_updateObjects:function(){var $0=this._registry;var $1;for(var $2 in $0){$1=$0[$2];$1.callback.call($1.object,this.resolveDynamic($1.value));}}},destruct:function(){this._disposeFields($[1572],$[1529],$[1492]);}}); |
| 49 |
qx.Class.define($[649],{type:$[18],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._translationCatalog={};this.setLocale(qx.core.Client.getInstance().getLocale()||this._defaultLocale);},statics:{tr:function($0,$1){var $2=qx.lang.Array.fromArguments(arguments);$2.splice(0,1);return new qx.locale.LocalizedString($0,$2);},trn:function($0,$1,$2,$3){var $4=qx.lang.Array.fromArguments(arguments);$4.splice(0,3);if($2>1){return new qx.locale.LocalizedString($1,$4);}else{return new qx.locale.LocalizedString($0,$4);}},trc:function($0,$1,$2){var $3=qx.lang.Array.fromArguments(arguments);$3.splice(0,2);return new qx.locale.LocalizedString($1,$3);},marktr:function($0){return $0;}},properties:{locale:{check:$[6],nullable:true,apply:$[566],event:$[220]}},members:{_defaultLocale:$[677],getLanguage:function(){return this._language;},getTerritory:function(){return this.getLocale().split($[155])[1]||$[0];},getAvailableLocales:function(){var $0=[];for(var $1 in this._translationCatalog){if($1!=this._defaultLocale){$0.push($1);}}return $0;},_extractLanguage:function($0){var $1;var $2=$0.indexOf($[155]);if($2==-1){$1=$0;}else{$1=$0.substring(0,$2);}return $1;},_applyLocale:function($0,$1){this._locale=$0;this._language=this._extractLanguage($0);this._updateObjects();},addTranslation:function($0,$1){if(this._translationCatalog[$0]){for(var $2 in $1){this._translationCatalog[$0][$2]=$1[$2];}}else{this._translationCatalog[$0]=$1;}},addTranslationFromClass:function($0,$1){this.addTranslation($0.substring($0.lastIndexOf($[24])+1),$1);},translate:function($0,$1,$2){var $3;if($2){var $4=this._extractLanguage($2);}else{$2=this._locale;$4=this._language;}if(!$3&&this._translationCatalog[$2]){$3=this._translationCatalog[$2][$0];}if(!$3&&this._translationCatalog[$4]){$3=this._translationCatalog[$4][$0];}if(!$3&&this._translationCatalog[this._defaultLocale]){$3=this._translationCatalog[this._defaultLocale][$0];}if(!$3){$3=$0;}if($1.length>0){$3=qx.lang.String.format($3,$1);}return $3;},isDynamic:function($0){return $0 instanceof qx.locale.LocalizedString;},resolveDynamic:function($0){return $0.toString();}},destruct:function(){this._disposeFields($[912]);}}); |
49 |
qx.Class.define($[662],{type:$[20],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._translationCatalog={};this.setLocale(qx.core.Client.getInstance().getLocale()||this._defaultLocale);},statics:{tr:function($0,$1){var $2=qx.lang.Array.fromArguments(arguments);$2.splice(0,1);return new qx.locale.LocalizedString($0,$2);},trn:function($0,$1,$2,$3){var $4=qx.lang.Array.fromArguments(arguments);$4.splice(0,3);if($2!=1){return new qx.locale.LocalizedString($1,$4);}else{return new qx.locale.LocalizedString($0,$4);}},trc:function($0,$1,$2){var $3=qx.lang.Array.fromArguments(arguments);$3.splice(0,2);return new qx.locale.LocalizedString($1,$3);},marktr:function($0){return $0;}},properties:{locale:{check:$[6],nullable:true,apply:$[575],event:$[223]}},members:{_defaultLocale:$[687],getLanguage:function(){return this._language;},getTerritory:function(){return this.getLocale().split($[157])[1]||$[0];},getAvailableLocales:function(){var $0=[];for(var $1 in this._translationCatalog){if($1!=this._defaultLocale){$0.push($1);}}return $0;},_extractLanguage:function($0){var $1;var $2=$0.indexOf($[157]);if($2==-1){$1=$0;}else{$1=$0.substring(0,$2);}return $1;},_applyLocale:function($0,$1){this._locale=$0;this._language=this._extractLanguage($0);this._updateObjects();},addTranslation:function($0,$1){if(this._translationCatalog[$0]){for(var $2 in $1){this._translationCatalog[$0][$2]=$1[$2];}}else{this._translationCatalog[$0]=$1;}},addTranslationFromClass:function($0,$1){this.addTranslation($0.substring($0.lastIndexOf($[24])+1),$1);},translate:function($0,$1,$2){var $3;if($2){var $4=this._extractLanguage($2);}else{$2=this._locale;$4=this._language;}if(!$3&&this._translationCatalog[$2]){$3=this._translationCatalog[$2][$0];}if(!$3&&this._translationCatalog[$4]){$3=this._translationCatalog[$4][$0];}if(!$3&&this._translationCatalog[this._defaultLocale]){$3=this._translationCatalog[this._defaultLocale][$0];}if(!$3){$3=$0;}if($1.length>0){$3=qx.lang.String.format($3,$1);}return $3;},isDynamic:function($0){return $0 instanceof qx.locale.LocalizedString;},resolveDynamic:function($0){return $0.toString();}},destruct:function(){this._disposeFields($[931]);}}); |
| 50 |
qx.Class.define($[906],{extend:qx.core.Object,construct:function($0,$1,$2){arguments.callee.base.call(this);this.setId($0);this._locale=$2;var $3=[];for(var $4=0;$4<$1.length;$4++){var $5=$1[$4];if($5 instanceof qx.locale.LocalizedString){$3.push($5);}else{$3.push($5+$[0]);}}this.setArgs($3);},properties:{id:{check:$[6],nullable:true},args:{nullable:true,dispose:true}},members:{_autoDispose:false,toString:function(){return qx.locale.Manager.getInstance().translate(this.getId(),this.getArgs(),this._locale);}}}); |
50 |
qx.Class.define($[925],{extend:qx.core.Object,construct:function($0,$1,$2){arguments.callee.base.call(this);this.setId($0);this._locale=$2;var $3=[];for(var $4=0;$4<$1.length;$4++){var $5=$1[$4];if($5 instanceof qx.locale.LocalizedString){$3.push($5);}else{$3.push($5+$[0]);}}this.setArgs($3);},properties:{id:{check:$[6],nullable:true},args:{nullable:true,dispose:true}},members:{_autoDispose:false,toString:function(){return qx.locale.Manager.getInstance().translate(this.getId(),this.getArgs(),this._locale);}}}); |
| 51 |
qx.Class.define($[1487],{statics:{isValid:function($0){switch(typeof $0){case $[65]:return false;case $[28]:return $0!==null;case $[8]:return $0!==$[0];case $[50]:return !isNaN($0);case $[37]:case $[58]:return true;}return false;},isInvalid:function($0){switch(typeof $0){case $[65]:return true;case $[28]:return $0===null;case $[8]:return $0===$[0];case $[50]:return isNaN($0);case $[37]:case $[58]:return false;}return true;},isValidNumber:function($0){return typeof $0===$[50]&&!isNaN($0);},isInvalidNumber:function($0){return typeof $0!==$[50]||isNaN($0);},isValidString:function($0){return typeof $0===$[8]&&$0!==$[0];},isInvalidString:function($0){return typeof $0!==$[8]||$0===$[0];},isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},isInvalidArray:function($0){return typeof $0!==$[28]||$0===null||!($0 instanceof Array);},isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},isInvalidObject:function($0){return typeof $0!==$[28]||$0===null||$0 instanceof Array;},isValidNode:function($0){return typeof $0===$[28]&&$0!==null;},isInvalidNode:function($0){return typeof $0!==$[28]||$0===null;},isValidElement:function($0){return typeof $0===$[28]&&$0!==null||$0.nodeType!==1;},isInvalidElement:function($0){return typeof $0!==$[28]||$0===null||$0.nodeType!==1;},isValidFunction:function($0){return typeof $0===$[37];},isInvalidFunction:function($0){return typeof $0!==$[37];},isValidBoolean:function($0){return typeof $0===$[58];},isInvalidBoolean:function($0){return typeof $0!==$[58];},isValidStringOrNumber:function($0){switch(typeof $0){case $[8]:return $0!==$[0];case $[50]:return !isNaN($0);}return false;},isInvalidStringOrNumber:function($0){switch(typeof $0){case $[8]:return $0===$[0];case $[50]:return isNaN($0);}return false;}}}); |
51 |
qx.Class.define($[1508],{statics:{isValid:function($0){switch(typeof $0){case $[68]:return false;case $[28]:return $0!==null;case $[7]:return $0!==$[0];case $[52]:return !isNaN($0);case $[38]:case $[54]:return true;}return false;},isInvalid:function($0){switch(typeof $0){case $[68]:return true;case $[28]:return $0===null;case $[7]:return $0===$[0];case $[52]:return isNaN($0);case $[38]:case $[54]:return false;}return true;},isValidNumber:function($0){return typeof $0===$[52]&&!isNaN($0);},isInvalidNumber:function($0){return typeof $0!==$[52]||isNaN($0);},isValidString:function($0){return typeof $0===$[7]&&$0!==$[0];},isInvalidString:function($0){return typeof $0!==$[7]||$0===$[0];},isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},isInvalidArray:function($0){return typeof $0!==$[28]||$0===null||!($0 instanceof Array);},isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},isInvalidObject:function($0){return typeof $0!==$[28]||$0===null||$0 instanceof Array;},isValidNode:function($0){return typeof $0===$[28]&&$0!==null;},isInvalidNode:function($0){return typeof $0!==$[28]||$0===null;},isValidElement:function($0){return typeof $0===$[28]&&$0!==null||$0.nodeType!==1;},isInvalidElement:function($0){return typeof $0!==$[28]||$0===null||$0.nodeType!==1;},isValidFunction:function($0){return typeof $0===$[38];},isInvalidFunction:function($0){return typeof $0!==$[38];},isValidBoolean:function($0){return typeof $0===$[54];},isInvalidBoolean:function($0){return typeof $0!==$[54];},isValidStringOrNumber:function($0){switch(typeof $0){case $[7]:return $0!==$[0];case $[52]:return !isNaN($0);}return false;},isInvalidStringOrNumber:function($0){switch(typeof $0){case $[7]:return $0===$[0];case $[52]:return isNaN($0);}return false;}}}); |
| 52 |
qx.Class.define($[325],{extend:qx.core.Target,implement:qx.application.IApplication,properties:{uiReady:{check:$[2],init:false}},members:{main:function(){qx.ui.core.Widget.initScrollbarWidth();qx.theme.manager.Meta.getInstance().initialize();qx.event.handler.EventHandler.getInstance();qx.ui.core.ClientDocument.getInstance();qx.client.Timer.once(this._preload,this,0);},close:function(){},terminate:function(){},_preload:function(){this.debug("preloading visible images...");this.__preloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getVisibleImages(),this._preloaderDone,this);this.__preloader.start();},_preloaderDone:function(){this.setUiReady(true);this.__preloader.dispose();this.__preloader=null;var $0=(new Date).valueOf();qx.ui.core.Widget.flushGlobalQueues();this.info("render runtime: "+(new Date-$0)+"ms");qx.event.handler.EventHandler.getInstance().attachEvents();qx.client.Timer.once(this._postload,this,100);},_postload:function(){this.debug("preloading hidden images...");this.__postloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getHiddenImages(),this._postloaderDone,this);this.__postloader.start();},_postloaderDone:function(){this.__postloader.dispose();this.__postloader=null;}}}); |
52 |
qx.Class.define($[331],{extend:qx.core.Target,implement:qx.application.IApplication,properties:{uiReady:{check:$[2],init:false}},members:{main:function(){qx.ui.core.Widget.initScrollbarWidth();qx.theme.manager.Meta.getInstance().initialize();qx.event.handler.EventHandler.getInstance();qx.ui.core.ClientDocument.getInstance();qx.client.Timer.once(this._preload,this,0);},close:function(){},terminate:function(){},_preload:function(){this.debug("preloading visible images...");this.__preloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getVisibleImages(),this._preloaderDone,this);this.__preloader.start();},_preloaderDone:function(){this.setUiReady(true);this.__preloader.dispose();this.__preloader=null;var $0=(new Date).valueOf();qx.ui.core.Widget.flushGlobalQueues();this.info("render runtime: "+(new Date-$0)+"ms");qx.event.handler.EventHandler.getInstance().attachEvents();qx.client.Timer.once(this._postload,this,100);},_postload:function(){this.debug("preloading hidden images...");this.__postloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getHiddenImages(),this._postloaderDone,this);this.__postloader.start();},_postloaderDone:function(){this.__postloader.dispose();this.__postloader=null;}}}); |
| 53 |
qx.Class.define($[66],{extend:qx.core.Target,type:$[51],construct:function(){arguments.callee.base.call(this);this._layoutChanges={};if(qx.core.Setting.get($[1733])){this._generateHtmlId();}},events:{"beforeAppear":$[4],"appear":$[4],"beforeDisappear":$[4],"disappear":$[4],"beforeInsertDom":$[4],"insertDom":$[4],"beforeRemoveDom":$[4],"removeDom":$[4],"create":$[4],"execute":$[4],"mouseover":$[87],"mousemove":$[87],"mouseout":$[87],"mousedown":$[87],"mouseup":$[87],"mousewheel":$[87],"click":$[87],"dblclick":$[87],"contextmenu":$[87],"keydown":$[186],"keypress":$[186],"keyinput":$[186],"keyup":$[186],"focusout":$[168],"focusin":$[168],"blur":$[168],"focus":$[168],"dragdrop":$[143],"dragout":$[143],"dragover":$[143],"dragmove":$[143],"dragstart":$[143],"dragend":$[143]},statics:{create:function($0,$1){$0._appearance=$1;return new $0;},SCROLLBAR_SIZE:null,_autoFlushTimeout:null,_initAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper,0);}},_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout);qx.ui.core.Widget._autoFlushTimeout=null;}},_autoFlushHelper:function(){qx.ui.core.Widget._autoFlushTimeout=null;if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues();}},flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush();}if(qx.ui.core.Widget._inFlushGlobalQueues){return;}var $0=qx.core.Init.getInstance().getApplication();if($0.getUiReady&&!$0.getUiReady()){return;}qx.ui.core.Widget._inFlushGlobalQueues=true;qx.ui.core.Widget.flushGlobalWidgetQueue();qx.ui.core.Widget.flushGlobalStateQueue();qx.ui.core.Widget.flushGlobalElementQueue();qx.ui.core.Widget.flushGlobalJobQueue();qx.ui.core.Widget.flushGlobalLayoutQueue();qx.ui.core.Widget.flushGlobalDisplayQueue();delete qx.ui.core.Widget._inFlushGlobalQueues;},_globalWidgetQueue:[],addToGlobalWidgetQueue:function($0){if(!$0._isInGlobalWidgetQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalWidgetQueue.push($0);$0._isInGlobalWidgetQueue=true;}},removeFromGlobalWidgetQueue:function($0){if($0._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue,$0);delete $0._isInGlobalWidgetQueue;}},flushGlobalWidgetQueue:function(){var $0=qx.ui.core.Widget._globalWidgetQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2.flushWidgetQueue();delete $2._isInGlobalWidgetQueue;}$0.splice(0,$1);}},_globalElementQueue:[],addToGlobalElementQueue:function($0){if(!$0._isInGlobalElementQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalElementQueue.push($0);$0._isInGlobalElementQueue=true;}},removeFromGlobalElementQueue:function($0){if($0._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue,$0);delete $0._isInGlobalElementQueue;}},flushGlobalElementQueue:function(){var $0=qx.ui.core.Widget._globalElementQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._createElementImpl();delete $2._isInGlobalElementQueue;}$0.splice(0,$1);}},_globalStateQueue:[],addToGlobalStateQueue:function($0){if(!$0._isInGlobalStateQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalStateQueue.push($0);$0._isInGlobalStateQueue=true;}},removeFromGlobalStateQueue:function($0){if($0._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue,$0);delete $0._isInGlobalStateQueue;}},flushGlobalStateQueue:function(){var $0=qx.ui.core.Widget._globalStateQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._renderAppearance();delete $2._isInGlobalStateQueue;}$0.splice(0,$1);}},_globalJobQueue:[],addToGlobalJobQueue:function($0){if(!$0._isInGlobalJobQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalJobQueue.push($0);$0._isInGlobalJobQueue=true;}},removeFromGlobalJobQueue:function($0){if($0._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue,$0);delete $0._isInGlobalJobQueue;}},flushGlobalJobQueue:function(){var $0=qx.ui.core.Widget._globalJobQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushJobQueue($2._jobQueue);delete $2._isInGlobalJobQueue;}$0.splice(0,$1);}},_globalLayoutQueue:[],addToGlobalLayoutQueue:function($0){if(!$0._isInGlobalLayoutQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalLayoutQueue.push($0);$0._isInGlobalLayoutQueue=true;}},removeFromGlobalLayoutQueue:function($0){if($0._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue,$0);delete $0._isInGlobalLayoutQueue;}},flushGlobalLayoutQueue:function(){var $0=qx.ui.core.Widget._globalLayoutQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushChildrenQueue();delete $2._isInGlobalLayoutQueue;}$0.splice(0,$1);}},_fastGlobalDisplayQueue:[],_lazyGlobalDisplayQueues:{},addToGlobalDisplayQueue:function($0){if(!$0._isInGlobalDisplayQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}var $1=$0.getParent();if($1.isSeeable()){var $2=$1.toHashCode();if(qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]){qx.ui.core.Widget._lazyGlobalDisplayQueues[$2].push($0);}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]=[$0];}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push($0);}$0._isInGlobalDisplayQueue=true;}},removeFromGlobalDisplayQueue:function($0){},flushGlobalDisplayQueue:function(){var $0,$1,$2,$3;var $4=qx.ui.core.Widget._fastGlobalDisplayQueue;var $5=qx.ui.core.Widget._lazyGlobalDisplayQueues;for(var $6=0,$7=$4.length;$6<$7;$6++){$2=$4[$6];$2.getParent()._getTargetNode().appendChild($2.getElement());}if(qx.Class.isDefined($[559])){for($0 in $5){$1=$5[$0];for(var $6=0;$6<$1.length;$6++){$2=$1[$6];if($2 instanceof qx.ui.basic.Inline){$2._beforeInsertDom();try{document.getElementById($2.getInlineNodeId()).appendChild($2.getElement());}catch(ex){$2.debug("Could not append to inline id: "+$2.getInlineNodeId(),ex);}$2._afterInsertDom();$2._afterAppear();qx.lang.Array.remove($1,$2);$6--;delete $2._isInGlobalDisplayQueue;}}}}for($0 in $5){$1=$5[$0];if(document.createDocumentFragment&&$1.length>=3){$3=document.createDocumentFragment();for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$3.appendChild($2.getElement());}$1[0].getParent()._getTargetNode().appendChild($3);for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._afterInsertDom();}}else{for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$2.getParent()._getTargetNode().appendChild($2.getElement());$2._afterInsertDom();}}}for($0 in $5){$1=$5[$0];for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];if($2.getVisibility()){$2._afterAppear();}delete $2._isInGlobalDisplayQueue;}delete $5[$0];}for(var $6=0,$7=$4.length;$6<$7;$6++){delete $4[$6]._isInGlobalDisplayQueue;}qx.lang.Array.removeAll($4);},getActiveSiblingHelperIgnore:function($0,$1){for(var $2=0;$2<$0.length;$2++){if($1 instanceof $0[$2]){return true;}}return false;},getActiveSiblingHelper:function($0,$1,$2,$3,$4){if(!$3){$3=[];}var $5=$1.getChildren();var $6=$4==null?$5.indexOf($0)+$2:$4===$[476]?0:$5.length-1;var $7=$5[$6];while($7&&(!$7.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore($3,$7))){$6+=$2;$7=$5[$6];if(!$7){return null;}}return $7;},__initApplyMethods:function($0){var $1=$[1719];var $2=$[836];var $3=$[1637];var $4=$[964];var $5=$[478];var $6=[$[11],$[9],$[20],$[17],$[30],$[31],$[73],$[74],$[77],$[75]];var $7=[$[60],$[64],$[1149],$[1661],$[1005],$[617],$[1636],$[1045],$[1788],$[1572]];var $8=$1+$[477];var $9=$2+$[477];var $a=$3+$[430];for(var $b=0;$b<4;$b++){$0[$8+$7[$b]]=new Function($5,$a+$7[$b]+$4);$0[$9+$7[$b]]=new Function($a+$7[$b]+$[268]);}var $c=$1+$[483];var $d=$2+$[483];var $e=$3+$[351];if(qx.core.Variant.isSet($[1],$[21])){for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$e+$7[$b]+$4);$0[$d+$7[$b]]=new Function($e+$7[$b]+$[268]);}}else{for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$[1466]+$7[$b]+$[1346]);$0[$d+$7[$b]]=new Function($[594]+$7[$b]+$[880]);}}for(var $b=0;$b<$6.length;$b++){$0[$1+$7[$b]]=new Function($5,$3+$6[$b]+$4);$0[$2+$7[$b]]=new Function($3+$6[$b]+$[268]);}},TYPE_NULL:0,TYPE_PIXEL:1,TYPE_PERCENT:2,TYPE_AUTO:3,TYPE_FLEX:4,layoutPropertyTypes:{},__initLayoutProperties:function($0){var $1=[$[30],$[31],$[73],$[74],$[77],$[75],$[11],$[9],$[20],$[17]];for(var $2=0,$3=$1.length,$4,$5,$6;$2<$3;$2++){$4=$1[$2];$5=$[1017]+qx.lang.String.toFirstUp($4);$6=$5+$[691];$0.layoutPropertyTypes[$4]={dataType:$6,dataParsed:$5+$[1187],dataValue:$5+$[365],typePixel:$6+$[630],typePercent:$6+$[1073],typeAuto:$6+$[1746],typeFlex:$6+$[1438],typeNull:$6+$[809]};}},initScrollbarWidth:function(){var $0=document.createElement($[67]);var $1=$0.style;$1.height=$1.width=$[252];$1.overflow=$[26];document.body.appendChild($0);var $2=qx.html.Dimension.getScrollBarSizeRight($0);qx.ui.core.Widget.SCROLLBAR_SIZE=$2?$2:16;document.body.removeChild($0);},_idCounter:0},properties:{enabled:{init:$[116],check:$[2],inheritable:true,apply:$[302],event:$[463]},parent:{check:$[306],nullable:true,event:$[621],apply:$[1280]},element:{check:$[519],nullable:true,apply:$[468],event:$[613]},visibility:{check:$[2],init:true,apply:$[1112],event:$[1579]},display:{check:$[2],init:true,apply:$[1154],event:$[1329]},anonymous:{check:$[2],init:false,event:$[647]},horizontalAlign:{check:[$[11],$[57],$[9]],themeable:true,nullable:true},verticalAlign:{check:[$[20],$[62],$[17]],themeable:true,nullable:true},allowStretchX:{check:$[2],init:true},allowStretchY:{check:$[2],init:true},zIndex:{check:$[19],apply:$[879],event:$[1118],themeable:true,nullable:true,init:null},backgroundColor:{nullable:true,init:null,check:$[90],apply:$[1075],event:$[909],themeable:true},textColor:{nullable:true,init:$[116],check:$[90],apply:$[1427],event:$[636],themeable:true,inheritable:true},border:{nullable:true,init:null,apply:$[707],event:$[1672],check:$[539],themeable:true},font:{nullable:true,init:$[116],apply:$[575],check:$[548],event:$[810],themeable:true,inheritable:true},opacity:{check:$[19],apply:$[867],themeable:true,nullable:true,init:null},cursor:{check:$[6],apply:$[1577],themeable:true,nullable:true,init:null},backgroundImage:{check:$[6],nullable:true,apply:$[632],themeable:true},backgroundRepeat:{check:$[6],nullable:true,apply:$[685],themeable:true},overflow:{check:[$[36],$[3],$[26],$[112],$[111]],nullable:true,apply:$[811],event:$[1375],themeable:true,init:null},clipLeft:{check:$[5],apply:$[243],themeable:true,nullable:true},clipTop:{check:$[5],apply:$[243],themeable:true,nullable:true},clipWidth:{check:$[5],apply:$[243],themeable:true,nullable:true},clipHeight:{check:$[5],apply:$[243],themeable:true,nullable:true},tabIndex:{check:$[5],nullable:true,init:null,apply:$[894],event:$[1717]},hideFocus:{check:$[2],init:false,apply:$[1261],themeable:true},enableElementFocus:{check:$[2],init:true},focused:{check:$[2],init:false,apply:$[772],event:$[1030]},selectable:{check:$[2],init:null,nullable:true,apply:$[623]},toolTip:{check:$[241],nullable:true},contextMenu:{check:$[160],nullable:true},capture:{check:$[2],init:false,apply:$[1720],event:$[1092]},dropDataTypes:{nullable:true,dispose:true},command:{check:$[489],nullable:true,apply:$[1404]},appearance:{check:$[6],init:$[216],apply:$[864],event:$[1537]},supportsDropMethod:{check:$[472],nullable:true,init:null},marginTop:{check:$[19],apply:$[1108],nullable:true,themeable:true},marginRight:{check:$[19],apply:$[1436],nullable:true,themeable:true},marginBottom:{check:$[19],apply:$[622],nullable:true,themeable:true},marginLeft:{check:$[19],apply:$[1288],nullable:true,themeable:true},paddingTop:{check:$[19],apply:$[792],nullable:true,themeable:true},paddingRight:{check:$[19],apply:$[1671],nullable:true,themeable:true},paddingBottom:{check:$[19],apply:$[1548],nullable:true,themeable:true},paddingLeft:{check:$[19],apply:$[887],nullable:true,themeable:true},left:{apply:$[969],event:$[1453],nullable:true,themeable:true,init:null},right:{apply:$[710],event:$[910],nullable:true,themeable:true,init:null},width:{apply:$[1330],event:$[1301],nullable:true,themeable:true,init:null},minWidth:{apply:$[1399],event:$[1687],nullable:true,themeable:true,init:null},maxWidth:{apply:$[1116],event:$[1787],nullable:true,themeable:true,init:null},top:{apply:$[1498],event:$[1455],nullable:true,themeable:true,init:null},bottom:{apply:$[698],event:$[985],nullable:true,themeable:true,init:null},height:{apply:$[1442],event:$[1512],nullable:true,themeable:true,init:null},minHeight:{apply:$[655],event:$[1335],nullable:true,themeable:true,init:null},maxHeight:{apply:$[718],event:$[1333],nullable:true,themeable:true,init:null},location:{group:[$[11],$[20]],themeable:true},dimension:{group:[$[30],$[31]],themeable:true},space:{group:[$[11],$[30],$[20],$[31]],themeable:true},edge:{group:[$[20],$[9],$[17],$[11]],themeable:true,mode:$[103]},padding:{group:[$[215],$[245],$[231],$[242]],mode:$[103],themeable:true},margin:{group:[$[153],$[225],$[211],$[159]],mode:$[103],themeable:true},heights:{group:[$[77],$[31],$[75]],themeable:true},widths:{group:[$[73],$[30],$[74]],themeable:true},align:{group:[$[1698],$[845]],themeable:true},clipLocation:{group:[$[517],$[453]]},clipDimension:{group:[$[528],$[372]]},clip:{group:[$[517],$[453],$[528],$[372]]},innerWidth:{_cached:true,defaultValue:null},innerHeight:{_cached:true,defaultValue:null},boxWidth:{_cached:true,defaultValue:null},boxHeight:{_cached:true,defaultValue:null},outerWidth:{_cached:true,defaultValue:null},outerHeight:{_cached:true,defaultValue:null},frameWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},frameHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredBoxWidth:{_cached:true,defaultValue:null},preferredBoxHeight:{_cached:true,defaultValue:null},hasPercentX:{_cached:true,defaultValue:false},hasPercentY:{_cached:true,defaultValue:false},hasAutoX:{_cached:true,defaultValue:false},hasAutoY:{_cached:true,defaultValue:false},hasFlexX:{_cached:true,defaultValue:false},hasFlexY:{_cached:true,defaultValue:false}},members:{_computedLeftValue:null,_computedLeftParsed:null,_computedLeftType:null,_computedLeftTypeNull:true,_computedLeftTypePixel:false,_computedLeftTypePercent:false,_computedLeftTypeAuto:false,_computedLeftTypeFlex:false,_computedRightValue:null,_computedRightParsed:null,_computedRightType:null,_computedRightTypeNull:true,_computedRightTypePixel:false,_computedRightTypePercent:false,_computedRightTypeAuto:false,_computedRightTypeFlex:false,_computedTopValue:null,_computedTopParsed:null,_computedTopType:null,_computedTopTypeNull:true,_computedTopTypePixel:false,_computedTopTypePercent:false,_computedTopTypeAuto:false,_computedTopTypeFlex:false,_computedBottomValue:null,_computedBottomParsed:null,_computedBottomType:null,_computedBottomTypeNull:true,_computedBottomTypePixel:false,_computedBottomTypePercent:false,_computedBottomTypeAuto:false,_computedBottomTypeFlex:false,_computedWidthValue:null,_computedWidthParsed:null,_computedWidthType:null,_computedWidthTypeNull:true,_computedWidthTypePixel:false,_computedWidthTypePercent:false,_computedWidthTypeAuto:false,_computedWidthTypeFlex:false,_computedMinWidthValue:null,_computedMinWidthParsed:null,_computedMinWidthType:null,_computedMinWidthTypeNull:true,_computedMinWidthTypePixel:false,_computedMinWidthTypePercent:false,_computedMinWidthTypeAuto:false,_computedMinWidthTypeFlex:false,_computedMaxWidthValue:null,_computedMaxWidthParsed:null,_computedMaxWidthType:null,_computedMaxWidthTypeNull:true,_computedMaxWidthTypePixel:false,_computedMaxWidthTypePercent:false,_computedMaxWidthTypeAuto:false,_computedMaxWidthTypeFlex:false,_computedHeightValue:null,_computedHeightParsed:null,_computedHeightType:null,_computedHeightTypeNull:true,_computedHeightTypePixel:false,_computedHeightTypePercent:false,_computedHeightTypeAuto:false,_computedHeightTypeFlex:false,_computedMinHeightValue:null,_computedMinHeightParsed:null,_computedMinHeightType:null,_computedMinHeightTypeNull:true,_computedMinHeightTypePixel:false,_computedMinHeightTypePercent:false,_computedMinHeightTypeAuto:false,_computedMinHeightTypeFlex:false,_computedMaxHeightValue:null,_computedMaxHeightParsed:null,_computedMaxHeightType:null,_computedMaxHeightTypeNull:true,_computedMaxHeightTypePixel:false,_computedMaxHeightTypePercent:false,_computedMaxHeightTypeAuto:false,_computedMaxHeightTypeFlex:false,_applyLeft:function($0,$1){this._unitDetectionPixelPercent($[11],$0);this.addToQueue($[11]);},_applyRight:function($0,$1){this._unitDetectionPixelPercent($[9],$0);this.addToQueue($[9]);},_applyTop:function($0,$1){this._unitDetectionPixelPercent($[20],$0);this.addToQueue($[20]);},_applyBottom:function($0,$1){this._unitDetectionPixelPercent($[17],$0);this.addToQueue($[17]);},_applyWidth:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[30],$0);this.addToQueue($[30]);},_applyMinWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[73],$0);this.addToQueue($[73]);},_applyMaxWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[74],$0);this.addToQueue($[74]);},_applyHeight:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[31],$0);this.addToQueue($[31]);},_applyMinHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[77],$0);this.addToQueue($[77]);},_applyMaxHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[75],$0);this.addToQueue($[75]);},isMaterialized:function(){var $0=this._element;return (this._initialLayoutDone&&this._isDisplayable&&qx.html.Style.getStyleProperty($0,$[158])!=$[7]&&qx.html.Style.getStyleProperty($0,$[1139])!=$[36]&&$0.offsetWidth>0&&$0.offsetHeight>0);},pack:function(){this.setWidth(this.getPreferredBoxWidth());this.setHeight(this.getPreferredBoxHeight());},auto:function(){this.setWidth($[3]);this.setHeight($[3]);},getChildren:qx.lang.Function.returnNull,getChildrenLength:qx.lang.Function.returnZero,hasChildren:qx.lang.Function.returnFalse,isEmpty:qx.lang.Function.returnTrue,indexOf:qx.lang.Function.returnNegativeIndex,contains:qx.lang.Function.returnFalse,getVisibleChildren:qx.lang.Function.returnNull,getVisibleChildrenLength:qx.lang.Function.returnZero,hasVisibleChildren:qx.lang.Function.returnFalse,isVisibleEmpty:qx.lang.Function.returnTrue,_hasParent:false,_isDisplayable:false,isDisplayable:function(){return this._isDisplayable;},_checkParent:function($0,$1){if(this.contains($0)){throw new Error("Could not insert myself into a child "+$0+"!");}return $0;},_applyParent:function($0,$1){if($1){var $2=$1.getChildren().indexOf(this);this._computedWidthValue=this._computedMinWidthValue=this._computedMaxWidthValue=this._computedLeftValue=this._computedRightValue=null;this._computedHeightValue=this._computedMinHeightValue=this._computedMaxHeightValue=this._computedTopValue=this._computedBottomValue=null;this._cachedBoxWidth=this._cachedInnerWidth=this._cachedOuterWidth=null;this._cachedBoxHeight=this._cachedInnerHeight=this._cachedOuterHeight=null;qx.lang.Array.removeAt($1.getChildren(),$2);$1._invalidateVisibleChildren();$1._removeChildFromChildrenQueue(this);$1.getLayoutImpl().updateChildrenOnRemoveChild(this,$2);$1.addToJobQueue($[390]);$1._invalidatePreferredInnerDimensions();this._oldParent=$1;}if($0){this._hasParent=true;if(typeof this._insertIndex==$[50]){qx.lang.Array.insertAt($0.getChildren(),this,this._insertIndex);delete this._insertIndex;}else{$0.getChildren().push(this);}}else{this._hasParent=false;}qx.core.Property.refresh(this);return this._handleDisplayable($[342]);},_applyDisplay:function($0,$1){return this._handleDisplayable($[158]);},_handleDisplayable:function($0){var $1=this._computeDisplayable();if(this._isDisplayable==$1&&!($1&&$0==$[342])){return true;}this._isDisplayable=$1;var $2=this.getParent();if($2){$2._invalidateVisibleChildren();$2._invalidatePreferredInnerDimensions();}if($0&&this._oldParent&&this._oldParent._initialLayoutDone){var $3=this.getElement();if($3){if(this.getVisibility()){this._beforeDisappear();}this._beforeRemoveDom();try{this._oldParent._getTargetNode().removeChild($3);}catch(e){}this._afterRemoveDom();if(this.getVisibility()){this._afterDisappear();}}delete this._oldParent;}if($1){if($2._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnAddChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[1322]);}this.addToLayoutChanges($[1662]);this.addToCustomQueues($0);if(this.getVisibility()){this._beforeAppear();}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this);}qx.ui.core.Widget.addToGlobalStateQueue(this);if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this);}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this);qx.ui.core.Widget.removeFromGlobalStateQueue(this);qx.ui.core.Widget.removeFromGlobalJobQueue(this);qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);this.removeFromCustomQueues($0);if($2&&$0){if(this.getVisibility()){this._beforeDisappear();}if($2._initialLayoutDone&&this._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnRemoveChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[390]);this._beforeRemoveDom();var $4=this.getElement().parentNode;if($4){$4.removeChild(this.getElement());if($4&&$4!==$2._getTargetNode()){this.warn("Unexpected parent node: "+$4);}}this._afterRemoveDom();}$2._removeChildFromChildrenQueue(this);if(this.getVisibility()){this._afterDisappear();}}}this._handleDisplayableCustom($1,$2,$0);return true;},addToCustomQueues:qx.lang.Function.returnTrue,removeFromCustomQueues:qx.lang.Function.returnTrue,_handleDisplayableCustom:qx.lang.Function.returnTrue,_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false;},_beforeAppear:function(){this.createDispatchEvent($[708]);},_afterAppear:function(){this._isSeeable=true;this.createDispatchEvent($[193]);},_beforeDisappear:function(){this.removeState($[43]);if(qx.Class.isDefined($[303])){this.removeState($[14]);this.removeState($[35]);}this.createDispatchEvent($[402]);},_afterDisappear:function(){this._isSeeable=false;this.createDispatchEvent($[272]);},_isSeeable:false,isSeeable:function(){return this._isSeeable;},isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable;},_beforeInsertDom:function(){this.createDispatchEvent($[1218]);},_afterInsertDom:function(){this.createDispatchEvent($[1518]);},_beforeRemoveDom:function(){this.createDispatchEvent($[1286]);},_afterRemoveDom:function(){this.createDispatchEvent($[1051]);},_applyVisibility:function($0,$1){if($0){if(this._isDisplayable){this._beforeAppear();}this.removeStyleProperty($[158]);if(this._isDisplayable){this._afterAppear();}}else{if(this._isDisplayable){this._beforeDisappear();}this.setStyleProperty($[158],$[7]);if(this._isDisplayable){this._afterDisappear();}}},show:function(){this.setVisibility(true);this.setDisplay(true);},hide:function(){this.setVisibility(false);},connect:function(){this.setDisplay(true);},disconnect:function(){this.setDisplay(false);},_isCreated:false,_getTargetNode:qx.core.Variant.select($[1],{"gecko":function(){return this._element;},"default":function(){return this._borderElement||this._element;}}),addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this);},isCreated:function(){return this._isCreated;},_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[67]));},_applyElement:function($0,$1){this._isCreated=$0!=null;if($1){$1.qx_Widget=null;}if($0){$0.qx_Widget=this;$0.style.position=$[54];this._element=$0;this._style=$0.style;this._applyStyleProperties($0);this._applyHtmlProperties($0);this._applyHtmlAttributes($0);this._applyElementData($0);this.createDispatchEvent($[1127]);this.addToStateQueue();}else{this._element=this._style=null;}},addToJobQueue:function($0){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!this._jobQueue){this._jobQueue={};}this._jobQueue[$0]=true;return true;},_flushJobQueue:function($0){try{var $1=this._jobQueue;var $2=this.getParent();if(!$2||qx.lang.Object.isEmpty($1)){return;}var $3=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null;if($3){$3.updateSelfOnJobQueueFlush($1);}}catch(ex){this.error("Flushing job queue (prechecks#1) failed",ex);}try{var $4=false;var $5=$1.marginLeft||$1.marginRight;var $6=$1.marginTop||$1.marginBottom;var $7=$1.frameWidth;var $8=$1.frameHeight;var $9=($1.frameWidth||$1.preferredInnerWidth)&&this._recomputePreferredBoxWidth();var $a=($1.frameHeight||$1.preferredInnerHeight)&&this._recomputePreferredBoxHeight();if($9){var $b=this.getPreferredBoxWidth();if(this._computedWidthTypeAuto){this._computedWidthValue=$b;$1.width=true;}if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=$b;$1.minWidth=true;}if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=$b;$1.maxWidth=true;}}if($a){var $b=this.getPreferredBoxHeight();if(this._computedHeightTypeAuto){this._computedHeightValue=$b;$1.height=true;}if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=$b;$1.minHeight=true;}if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=$b;$1.maxHeight=true;}}if(($1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right)&&this._recomputeBoxWidth()){$5=$7=true;}if(($1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom)&&this._recomputeBoxHeight()){$6=$8=true;}}catch(ex){this.error("Flushing job queue (recompute#2) failed",ex);}try{if(($5&&this._recomputeOuterWidth())||$9){$2._invalidatePreferredInnerWidth();$2.getLayoutImpl().updateSelfOnChildOuterWidthChange(this);$4=true;}if(($6&&this._recomputeOuterHeight())||$a){$2._invalidatePreferredInnerHeight();$2.getLayoutImpl().updateSelfOnChildOuterHeightChange(this);$4=true;}if($4){$2._flushJobQueue();}}catch(ex){this.error("Flushing job queue (parentsignals#3) failed",ex);}try{$2._addChildToChildrenQueue(this);for(var $c in $1){this._layoutChanges[$c]=true;}}catch(ex){this.error("Flushing job queue (addjobs#4) failed",ex);}try{if(this instanceof qx.ui.core.Parent&&($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom)){var $d=this.getChildren(),$e=$d.length;if($1.paddingLeft){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1354]);}}if($1.paddingRight){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[878]);}}if($1.paddingTop){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1697]);}}if($1.paddingBottom){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[724]);}}}if($7){this._recomputeInnerWidth();}if($8){this._recomputeInnerHeight();}if(this._initialLayoutDone){if($3){$3.updateChildrenOnJobQueueFlush($1);}}}catch(ex){this.error("Flushing job queue (childrensignals#5) failed",ex);}delete this._jobQueue;},_isWidthEssential:qx.lang.Function.returnTrue,_isHeightEssential:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return 0;},_computeBoxHeightFallback:function(){return 0;},_computeBoxWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxWidth(this),this.getMinWidthValue(),this.getMaxWidthValue()));},_computeBoxHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxHeight(this),this.getMinHeightValue(),this.getMaxHeightValue()));},_computeOuterWidth:function(){return Math.max(0,(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight()));},_computeOuterHeight:function(){return Math.max(0,(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom()));},_computeInnerWidth:function(){return Math.max(0,this.getBoxWidth()-this.getFrameWidth());},_computeInnerHeight:function(){return Math.max(0,this.getBoxHeight()-this.getFrameHeight());},getNeededWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededWidth(this));},getNeededHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededHeight(this));},_recomputeFlexX:function(){if(!this.getHasFlexX()){return false;}if(this._computedWidthTypeFlex){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}return true;},_recomputeFlexY:function(){if(!this.getHasFlexY()){return false;}if(this._computedHeightTypeFlex){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}return true;},_recomputePercentX:function(){if(!this.getHasPercentX()){return false;}if(this._computedWidthTypePercent){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null;this.addToLayoutChanges($[73]);}if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null;this.addToLayoutChanges($[74]);}if(this._computedLeftTypePercent){this._computedLeftValue=null;this.addToLayoutChanges($[11]);}if(this._computedRightTypePercent){this._computedRightValue=null;this.addToLayoutChanges($[9]);}return true;},_recomputePercentY:function(){if(!this.getHasPercentY()){return false;}if(this._computedHeightTypePercent){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null;this.addToLayoutChanges($[77]);}if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null;this.addToLayoutChanges($[75]);}if(this._computedTopTypePercent){this._computedTopValue=null;this.addToLayoutChanges($[20]);}if(this._computedBottomTypePercent){this._computedBottomValue=null;this.addToLayoutChanges($[17]);}return true;},_recomputeRangeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false;}this.addToLayoutChanges($[30]);return true;},"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull);}}),_recomputeRangeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false;}this.addToLayoutChanges($[31]);return true;},"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull);}}),_recomputeStretchingX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null;this.addToLayoutChanges($[30]);return true;}return false;},"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true;}return false;}}),_recomputeStretchingY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null;this.addToLayoutChanges($[31]);return true;}return false;},"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true;}return false;}}),_computeValuePixel:function($0){return Math.round($0);},_computeValuePixelLimit:function($0){return Math.max(0,this._computeValuePixel($0));},_computeValuePercentX:function($0){return Math.round(this.getParent().getInnerWidthForChild(this)*$0*0.01);},_computeValuePercentXLimit:function($0){return Math.max(0,this._computeValuePercentX($0));},_computeValuePercentY:function($0){return Math.round(this.getParent().getInnerHeightForChild(this)*$0*0.01);},_computeValuePercentYLimit:function($0){return Math.max(0,this._computeValuePercentY($0));},getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue;}switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexWidth();return this._computedWidthValue=this._computedWidthFlexValue;}return null;},getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue;}switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth();}return null;},getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue;}switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth();}return null;},getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue;}switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed);}return null;},getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue;}switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed);}return null;},getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue;}switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexHeight();return this._computedHeightValue=this._computedHeightFlexValue;}return null;},getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue;}switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight();}return null;},getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue;}switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight();}return null;},getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue;}switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed);}return null;},getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue;}switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed);}return null;},_computeFrameWidth:function(){var $0=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight;switch(this.getOverflow()){case $[26]:case $[111]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_computeFrameHeight:function(){var $0=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom;switch(this.getOverflow()){case $[26]:case $[112]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_invalidateFrameDimensions:function(){this._invalidateFrameWidth();this._invalidateFrameHeight();},_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();},_computePreferredBoxWidth:function(){try{return Math.max(0,this.getPreferredInnerWidth()+this.getFrameWidth());}catch(ex){this.error("_computePreferredBoxWidth failed",ex);}},_computePreferredBoxHeight:function(){try{return Math.max(0,this.getPreferredInnerHeight()+this.getFrameHeight());}catch(ex){this.error("_computePreferredBoxHeight failed",ex);}},_initialLayoutDone:false,addToLayoutChanges:function($0){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this);}return this._layoutChanges[$0]=true;},addToQueue:function($0){this._initialLayoutDone?this.addToJobQueue($0):this.addToLayoutChanges($0);},addToQueueRuntime:function($0){return !this._initialLayoutDone||this.addToJobQueue($0);},_computeHasPercentX:function(){return (this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent);},_computeHasPercentY:function(){return (this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent);},_computeHasAutoX:function(){return (this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto);},_computeHasAutoY:function(){return (this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto);},_computeHasFlexX:function(){return this._computedWidthTypeFlex;},_computeHasFlexY:function(){return this._computedHeightTypeFlex;},_evalUnitsPixelPercentAutoFlex:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:$0.indexOf($[140])!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercentAuto:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercent:function($0){switch($0){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_unitDetectionPixelPercentAutoFlex:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeFlex;var $a=$2.typeNull;var $b=this[$7];var $c=this[$8];var $d=this[$9];switch(this[$3]=this._evalUnitsPixelPercentAutoFlex($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=this[$a]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=this[$a]=false;this[$4]=this[$5]=null;break;case qx.ui.core.Widget.TYPE_FLEX:this[$9]=true;this[$6]=this[$7]=this[$8]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$a]=true;this[$6]=this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=null;break;}if($b!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[75]:case $[77]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}if($c!=this[$8]){switch($0){case $[73]:case $[74]:case $[30]:this._invalidateHasAutoX();break;case $[77]:case $[75]:case $[31]:this._invalidateHasAutoY();break;}}if($d!=this[$9]){switch($0){case $[30]:this._invalidateHasFlexX();break;case $[31]:this._invalidateHasFlexY();break;}}},_unitDetectionPixelPercentAuto:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeNull;var $a=this[$7];var $b=this[$8];switch(this[$3]=this._evalUnitsPixelPercentAuto($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=false;this[$4]=this[$5]=null;break;default:this[$9]=true;this[$6]=this[$7]=this[$8]=false;this[$4]=this[$5]=null;break;}if($a!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[77]:case $[75]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}if($b!=this[$8]){switch($0){case $[73]:case $[74]:case $[30]:this._invalidateHasAutoX();break;case $[77]:case $[75]:case $[31]:this._invalidateHasAutoY();break;}}},_unitDetectionPixelPercent:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeNull;var $9=this[$7];switch(this[$3]=this._evalUnitsPixelPercent($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$8]=true;this[$6]=this[$7]=false;this[$4]=this[$5]=null;break;}if($9!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[77]:case $[75]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}},getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null;},moveSelfBefore:function($0){this.getParent().addBefore(this,$0);},moveSelfAfter:function($0){this.getParent().addAfter(this,$0);},moveSelfToBegin:function(){this.getParent().addAtBegin(this);},moveSelfToEnd:function(){this.getParent().addAtEnd(this);},getPreviousSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)-1];},getNextSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)+1];},getPreviousVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)-1];},getNextVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)+1];},getPreviousActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),-1,$0,null);return $1?$1:this.getParent().getLastActiveChild();},getNextActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),1,$0,null);return $1?$1:this.getParent().getFirstActiveChild();},isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this;},isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this;},isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this;},isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this;},hasState:function($0){return this.__states&&this.__states[$0]?true:false;},addState:function($0){if(!this.__states){this.__states={};}if(!this.__states[$0]){this.__states[$0]=true;if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},removeState:function($0){if(this.__states&&this.__states[$0]){delete this.__states[$0];if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},_styleFromMap:function($0){var $1=qx.core.Property.$$method.style;var $2=qx.core.Property.$$method.unstyle;var $3;var $4;for(var $4 in $0){$3=$0[$4];$3===$[65]?this[$2[$4]]():this[$1[$4]]($3);}},_unstyleFromArray:function($0){var $1=qx.core.Property.$$method.unstyle;var $2,$3;for(var $2=0,$3=$0.length;$2<$3;$2++){this[$1[$0[$2]]]();}},_renderAppearance:function(){if(!this.__states){this.__states={};}this._applyStateStyleFocus(this.__states);var $0=this.getAppearance();if($0){try{var $1=qx.theme.manager.Appearance.getInstance().styleFrom($0,this.__states);if($1){this._styleFromMap($1);}}catch(ex){this.error("Could not apply state appearance",ex);}}},_resetAppearanceThemeWrapper:function($0,$1){var $2=this.getAppearance();if($2){var $3=qx.theme.manager.Appearance.getInstance();var $4=$3.styleFromTheme($1,$2,this.__states);var $5=$3.styleFromTheme($0,$2,this.__states);var $6=[];for(var $7 in $4){if($5[$7]===undefined){$6.push($7);}}this._unstyleFromArray($6);this._styleFromMap($5);}},_applyStateStyleFocus:qx.core.Variant.select($[1],{"mshtml":function($0){},"gecko":function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[200],$[205]);}}else{this.removeStyleProperty($[200]);}},"default":function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[214],$[205]);}}else{this.removeStyleProperty($[214]);}}}),addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this);},recursiveAddToStateQueue:function(){this.addToStateQueue();},_applyAppearance:function($0,$1){if(!this.__states){this.__states={};}var $2=qx.theme.manager.Appearance.getInstance();if($0){var $3=$2.styleFrom($0,this.__states)||{};}if($1){var $4=$2.styleFrom($1,this.__states)||{};var $5=[];for(var $6 in $4){if(!$3||!($6 in $3)){$5.push($6);}}}if($5){this._unstyleFromArray($5);}if($3){this._styleFromMap($3);}},_recursiveAppearanceThemeUpdate:function($0,$1){try{this._resetAppearanceThemeWrapper($0,$1);}catch(ex){this.error("Failed to update appearance theme",ex);}},_applyElementData:function($0){},setHtmlProperty:function($0,$1){if(!this._htmlProperties){this._htmlProperties={};}this._htmlProperties[$0]=$1;if(this._isCreated&&this.getElement()[$0]!=$1){this.getElement()[$0]=$1;}return true;},removeHtmlProperty:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},"default":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);delete this.getElement()[$0];}return true;}}),getHtmlProperty:function($0){if(!this._htmlProperties){return $[0];}return this._htmlProperties[$0]||$[0];},_applyHtmlProperties:function($0){var $1=this._htmlProperties;if($1){var $2;for($2 in $1){$0[$2]=$1[$2];}}},_generateHtmlId:function(){var $0=this.classname+$[24]+qx.ui.core.Widget._idCounter++;this.debug("setting autogenerated HTML id to "+$0);this.setHtmlProperty($[928],$0);},setHtmlAttribute:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1057]);if(!this._htmlAttributes){this._htmlAttributes={};}this._htmlAttributes[$0]=$1;if(this._isCreated){this.getElement().setAttribute($0,$1);}return true;},removeHtmlAttribute:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[588]);if(!this._htmlAttributes){return;}delete this._htmlAttributes[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},getHtmlAttribute:function($0){if(!this._htmlAttributes){return $[0];}return this._htmlAttributes[$0]||$[0];},_applyHtmlAttributes:function($0){var $1=this._htmlAttributes;if($1){var $2;for($2 in $1){$0.setAttribute($2,$1[$2]);}}},getStyleProperty:function($0){if(!this._styleProperties){return $[0];}return this._styleProperties[$0]||$[0];},__outerElementStyleProperties:{cursor:true,zIndex:true,filter:true,display:true,visibility:true},setStyleProperty:function($0,$1){if(!this._styleProperties){this._styleProperties={};}this._styleProperties[$0]=$1;if(this._isCreated){var $2=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($2){$2.style[$0]=($1==null)?$[0]:$1;}}},removeStyleProperty:function($0){if(!this._styleProperties){return;}delete this._styleProperties[$0];if(this._isCreated){var $1=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($1){$1.style[$0]=$[0];}}},_applyStyleProperties:function($0){var $1=this._styleProperties;if(!$1){return;}var $2;var $3=$0;var $4=this._getTargetNode();var $0;var $5;for($2 in $1){$0=this.__outerElementStyleProperties[$2]?$3:$4;$5=$1[$2];$0.style[$2]=($5==null)?$[0]:$5;}},_applyEnabled:function($0,$1){if($0===false){this.addState($[185]);this.removeState($[43]);if(qx.Class.isDefined($[303])){this.removeState($[35]);this.removeState($[14]);}}else{this.removeState($[185]);}},isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()>=0&&this.getTabIndex()!=null;},isFocusRoot:function(){return false;},getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot();}return null;},getActiveChild:function(){var $0=this.getFocusRoot();if($0){return $0.getActiveChild();}return null;},_ontabfocus:qx.lang.Function.returnTrue,_applyFocused:function($0,$1){if(!this.isCreated()){return;}var $2=this.getFocusRoot();if($2){if($0){$2.setFocusedChild(this);this._visualizeFocus();}else{if($2.getFocusedChild()==this){$2.setFocusedChild(null);}this._visualizeBlur();}}},_applyHideFocus:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[1668],$0);},"default":qx.lang.Function.returnTrue}),_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur();}catch(ex){}}this.removeState($[224]);},_visualizeFocus:function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this.getElement().focus();}catch(ex){}}this.addState($[224]);},focus:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(true);},blur:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(false);},_applyCapture:function($0,$1){var $2=qx.event.handler.EventHandler.getInstance();if($1){$2.setCaptureWidget(null);}else if($0){$2.setCaptureWidget(this);}},_applyZIndex:function($0,$1){if($0==null){this.removeStyleProperty($[309]);}else{this.setStyleProperty($[309],$0);}},_applyTabIndex:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[353],$0<0?-1:1);},"gecko":function($0,$1){this.setStyleProperty($[1434],($0<0?$[499]:$[156]));},"default":function($0,$1){this.setStyleProperty($[722],($0<0?$[499]:$[156]));this.setHtmlProperty($[353],$0<0?-1:1);}}),_applySelectable:qx.core.Variant.select($[1],{"mshtml":function($0,$1){},"gecko":function($0,$1){if($0){this.removeStyleProperty($[368]);}else{this.setStyleProperty($[368],$[7]);}},"webkit":function($0,$1){if($0){this.removeStyleProperty($[513]);}else{this.setStyleProperty($[513],$[7]);}},"khtml":function($0,$1){if($0){this.removeStyleProperty($[382]);}else{this.setStyleProperty($[382],$[7]);}},"default":function($0,$1){if($0){return this.removeStyleProperty($[525]);}else{this.setStyleProperty($[525],$[7]);}}}),_applyOpacity:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==null||$0>=1||$0<0){this.removeStyleProperty($[144]);}else{this.setStyleProperty($[144],($[873]+Math.round($0*100)+$[145]));}},"default":function($0,$1){if($0==null||$0>1){if(qx.core.Variant.isSet($[1],$[21])){this.removeStyleProperty($[496]);}else if(qx.core.Variant.isSet($[1],$[157])){this.removeStyleProperty($[358]);}this.removeStyleProperty($[355]);}else{$0=qx.lang.Number.limit($0,0,1);if(qx.core.Variant.isSet($[1],$[21])){this.setStyleProperty($[496],$0);}else if(qx.core.Variant.isSet($[1],$[157])){this.setStyleProperty($[358],$0);}this.setStyleProperty($[355],$0);}}}),__cursorMap:qx.core.Variant.select($[1],{"mshtml":{"cursor":$[204],"ew-resize":$[305],"ns-resize":$[282],"nesw-resize":$[429],"nwse-resize":$[330]},"opera":{"col-resize":$[305],"row-resize":$[282],"ew-resize":$[305],"ns-resize":$[282],"nesw-resize":$[429],"nwse-resize":$[330]},"default":{}}),_applyCursor:function($0,$1){if($0){this.setStyleProperty($[323],this.__cursorMap[$0]||$0);}else{this.removeStyleProperty($[323]);}},_applyCommand:function($0,$1){},_applyBackgroundImage:function($0,$1){var $2=qx.io.image.Manager.getInstance();var $3=qx.io.Alias.getInstance();if($1){$2.hide($1);}if($0){$2.show($0);}$3.connect(this._styleBackgroundImage,this,$0);},_styleBackgroundImage:function($0){$0?this.setStyleProperty($[437],$[1761]+$0+$[145]):this.removeStyleProperty($[437]);},_applyBackgroundRepeat:function($0,$1){$0?this.setStyleProperty($[371],$0):this.removeStyleProperty($[371]);},_applyClip:function($0,$1){return this._compileClipString();},_compileClipString:function(){var $0=this.getClipLeft();var $1=this.getClipTop();var $2=this.getClipWidth();var $3=this.getClipHeight();var $4,$5;if($0==null){$4=($2==null?$[3]:$2+$[38]);$0=$[3];}else{$4=($2==null?$[3]:$0+$2+$[38]);$0=$0+$[38];}if($1==null){$5=($3==null?$[3]:$3+$[38]);$1=$[3];}else{$5=($3==null?$[3]:$1+$3+$[38]);$1=$1+$[38];}return this.setStyleProperty($[977],($[1735]+$1+$[101]+$4+$[101]+$5+$[101]+$0+$[145]));},_applyOverflow:qx.core.Variant.select($[1],{"default":function($0,$1){var $2=$0;var $3=$[63];switch($0){case $[112]:$3=$[175];$2=$[26];break;case $[111]:$3=$[179];$2=$[26];break;}var $4=[$[63],$[175],$[179]];for(var $5=0;$5<$4.length;$5++){if($4[$5]!=$3){this.removeStyleProperty($4[$5]);}}switch($0){case $[112]:this.setStyleProperty($[179],$[36]);break;case $[111]:this.setStyleProperty($[175],$[36]);break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);},"gecko":function($0,$1){var $2=$0;var $3=$[63];switch($2){case $[36]:$2=$[1657];break;case $[112]:$2=$[281];break;case $[111]:$2=$[274];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);},"opera":function($0,$1){var $2=$0;var $3=$[63];switch($2){case $[112]:case $[111]:$2=$[26];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);}}),_renderOverflow:function($0,$1,$2,$3){this.setStyleProperty($0,$1||$[0]);this._invalidateFrameWidth();this._invalidateFrameHeight();},getOverflowX:function(){var $0=this.getOverflow();return $0==$[111]?$[36]:$0;},getOverflowY:function(){var $0=this.getOverflow();return $0==$[112]?$[36]:$0;},_applyBackgroundColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleBackgroundColor,this,$0);},_styleBackgroundColor:function($0){$0?this.setStyleProperty($[487],$0):this.removeStyleProperty($[487]);},_applyTextColor:function($0,$1){},_applyFont:function($0,$1){},_cachedBorderTop:0,_cachedBorderRight:0,_cachedBorderBottom:0,_cachedBorderLeft:0,_applyBorder:function($0,$1){qx.theme.manager.Border.getInstance().connect(this._queueBorder,this,$0);},__borderJobs:{top:$[784],right:$[1411],bottom:$[637],left:$[1491]},_queueBorder:function($0,$1){if(!$1){var $2=this.__borderJobs;for(var $3 in $2){this.addToQueue($2[$3]);}this.__reflowBorderX($0);this.__reflowBorderY($0);}else{if($1===$[11]||$1===$[9]){this.__reflowBorderX($0);}else{this.__reflowBorderY($0);}this.addToQueue(this.__borderJobs[$1]);}this.__borderObject=$0;},__reflowBorderX:function($0){var $1=this._cachedBorderLeft;var $2=this._cachedBorderRight;this._cachedBorderLeft=$0?$0.getWidthLeft():0;this._cachedBorderRight=$0?$0.getWidthRight():0;if(($1+$2)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth();}},__reflowBorderY:function($0){var $1=this._cachedBorderTop;var $2=this._cachedBorderBottom;this._cachedBorderTop=$0?$0.getWidthTop():0;this._cachedBorderBottom=$0?$0.getWidthBottom():0;if(($1+$2)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight();}},renderBorder:function($0){var $1=this.__borderObject;if($1){if($0.borderTop){$1.renderTop(this);}if($0.borderRight){$1.renderRight(this);}if($0.borderBottom){$1.renderBottom(this);}if($0.borderLeft){$1.renderLeft(this);}}else{var $2=qx.ui.core.Border;if($0.borderTop){$2.resetTop(this);}if($0.borderRight){$2.resetRight(this);}if($0.borderBottom){$2.resetBottom(this);}if($0.borderLeft){$2.resetLeft(this);}}},prepareEnhancedBorder:qx.core.Variant.select($[1],{"gecko":qx.lang.Function.returnTrue,"default":function(){var $0=this.getElement();var $1=this._borderElement=document.createElement($[67]);var $2=$0.style;var $3=this._innerStyle=$1.style;if(qx.core.Variant.isSet($[1],$[13])){}else{$3.width=$3.height=$[56];}$3.position=$[54];for(var $4 in this._styleProperties){switch($4){case $[309]:case $[144]:case $[158]:break;default:$3[$4]=$2[$4];$2[$4]=$[0];}}for(var $4 in this._htmlProperties){switch($4){case $[1337]:$1.unselectable=this._htmlProperties[$4];}}while($0.firstChild){$1.appendChild($0.firstChild);}$0.appendChild($1);}}),_applyPaddingTop:function($0,$1){this.addToQueue($[215]);this._invalidateFrameHeight();},_applyPaddingRight:function($0,$1){this.addToQueue($[245]);this._invalidateFrameWidth();},_applyPaddingBottom:function($0,$1){this.addToQueue($[231]);this._invalidateFrameHeight();},_applyPaddingLeft:function($0,$1){this.addToQueue($[242]);this._invalidateFrameWidth();},renderPadding:function($0){},_applyMarginLeft:function($0,$1){this.addToQueue($[159]);},_applyMarginRight:function($0,$1){this.addToQueue($[225]);},_applyMarginTop:function($0,$1){this.addToQueue($[153]);},_applyMarginBottom:function($0,$1){this.addToQueue($[211]);},execute:function(){var $0=this.getCommand();if($0){$0.execute(this);}this.createDispatchEvent($[128]);},_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!");}},setScrollLeft:function($0){this._visualPropertyCheck();this._getTargetNode().scrollLeft=$0;},setScrollTop:function($0){this._visualPropertyCheck();this._getTargetNode().scrollTop=$0;},getOffsetLeft:function(){this._visualPropertyCheck();return qx.html.Offset.getLeft(this.getElement());},getOffsetTop:function(){this._visualPropertyCheck();return qx.html.Offset.getTop(this.getElement());},getScrollLeft:function(){this._visualPropertyCheck();return this._getTargetNode().scrollLeft;},getScrollTop:function(){this._visualPropertyCheck();return this._getTargetNode().scrollTop;},getClientWidth:function(){this._visualPropertyCheck();return this._getTargetNode().clientWidth;},getClientHeight:function(){this._visualPropertyCheck();return this._getTargetNode().clientHeight;},getOffsetWidth:function(){this._visualPropertyCheck();return this.getElement().offsetWidth;},getOffsetHeight:function(){this._visualPropertyCheck();return this.getElement().offsetHeight;},getScrollWidth:function(){this._visualPropertyCheck();return this._getTargetNode().scrollWidth;},getScrollHeight:function(){this._visualPropertyCheck();return this._getTargetNode().scrollHeight;},scrollIntoView:function($0){this.scrollIntoViewX($0);this.scrollIntoViewY($0);},scrollIntoViewX:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewX can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollX(this.getElement(),$0);},scrollIntoViewY:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewY can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollY(this.getElement(),$0);},supportsDrop:function($0){var $1=this.getSupportsDropMethod();if($1!==null){return $1.call(this,$0);}return (this!=$0.sourceWidget);}},settings:{"qx.widgetQueueDebugging":false,"qx.widgetDebugId":false},defer:function($0,$1){$0.__initApplyMethods($1);if(qx.core.Variant.isSet($[1],$[13])){$1._renderRuntimeWidth=function($2){this._style.pixelWidth=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelWidth=($2==null)?0:$2-2;}};$1._renderRuntimeHeight=function($2){this._style.pixelHeight=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelHeight=($2==null)?0:$2-2;}};$1._resetRuntimeWidth=function(){this._style.width=$[0];if(this._innerStyle){this._innerStyle.width=$[0];}};$1._resetRuntimeHeight=function(){this._style.height=$[0];if(this._innerStyle){this._innerStyle.height=$[0];}};}$0.__initLayoutProperties($0);{};},destruct:function(){var $0=this.getElement();if($0){$0.qx_Widget=null;}this._disposeFields($[1691],$[1129],$[329],$[1452],$[971],$[1224],$[1245],$[866],$[1380],$[948],$[642],$[1700],$[620],$[1630]);}}); |
53 |
qx.Mixin.define($[1307],{members:{hasConnectionTo:function($0){if(!this._valueManager){this._valueManager={};}this._valueManager[$0.toHashCode()]=$0;}},destruct:function(){for(var $0 in this._valueManager){var $1=this._valueManager[$0];$1.disconnect(this);}this._disposeFields($[1158]);}}); |
| 54 |
qx.Class.define($[574],{statics:{getOuterWidth:function($0){return qx.html.Dimension.getBoxWidth($0)+qx.html.Style.getMarginLeft($0)+qx.html.Style.getMarginRight($0);},getOuterHeight:function($0){return qx.html.Dimension.getBoxHeight($0)+qx.html.Style.getMarginTop($0)+qx.html.Style.getMarginBottom($0);},getBoxWidthForZeroHeight:function($0){var $1=$0.offsetHeight;if($1==0){var $2=$0.style.height;$0.style.height=$[161];}var $3=$0.offsetWidth;if($1==0){$0.style.height=$2;}return $3;},getBoxHeightForZeroWidth:function($0){var $1=$0.offsetWidth;if($1==0){var $2=$0.style.width;$0.style.width=$[161];}var $3=$0.offsetHeight;if($1==0){$0.style.width=$2;}return $3;},getBoxWidth:function($0){return $0.offsetWidth;},getBoxHeight:function($0){return $0.offsetHeight;},getAreaWidth:qx.core.Variant.select($[1],{"gecko":function($0){if($0.clientWidth!=0&&$0.clientWidth!=(qx.html.Style.getBorderLeft($0)+qx.html.Style.getBorderRight($0))){return $0.clientWidth;}else{return qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0);}},"default":function($0){return $0.clientWidth!=0?$0.clientWidth:(qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0));}}),getAreaHeight:qx.core.Variant.select($[1],{"gecko":function($0){if($0.clientHeight!=0&&$0.clientHeight!=(qx.html.Style.getBorderTop($0)+qx.html.Style.getBorderBottom($0))){return $0.clientHeight;}else{return qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0);}},"default":function($0){return $0.clientHeight!=0?$0.clientHeight:(qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0));}}),getInnerWidth:function($0){return qx.html.Dimension.getAreaWidth($0)-qx.html.Style.getPaddingLeft($0)-qx.html.Style.getPaddingRight($0);},getInnerHeight:function($0){return qx.html.Dimension.getAreaHeight($0)-qx.html.Style.getPaddingTop($0)-qx.html.Style.getPaddingBottom($0);},getInsetLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.clientLeft;},"default":function($0){return qx.html.Style.getBorderLeft($0);}}),getInsetTop:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.clientTop;},"default":function($0){return qx.html.Style.getBorderTop($0);}}),getInsetRight:qx.core.Variant.select($[1],{"mshtml":function($0){if(qx.html.Style.getStyleProperty($0,$[179])==$[36]||$0.clientWidth==0){return qx.html.Style.getBorderRight($0);}return Math.max(0,$0.offsetWidth-$0.clientLeft-$0.clientWidth);},"default":function($0){if($0.clientWidth==0){var $1=qx.html.Style.getStyleProperty($0,$[63]);var $2=$1==$[26]||$1==$[274]?16:0;return Math.max(0,qx.html.Style.getBorderRight($0)+$2);}return Math.max(0,$0.offsetWidth-$0.clientWidth-qx.html.Style.getBorderLeft($0));}}),getInsetBottom:qx.core.Variant.select($[1],{"mshtml":function($0){if(qx.html.Style.getStyleProperty($0,$[175])==$[36]||$0.clientHeight==0){return qx.html.Style.getBorderBottom($0);}return Math.max(0,$0.offsetHeight-$0.clientTop-$0.clientHeight);},"default":function($0){if($0.clientHeight==0){var $1=qx.html.Style.getStyleProperty($0,$[63]);var $2=$1==$[26]||$1==$[281]?16:0;return Math.max(0,qx.html.Style.getBorderBottom($0)+$2);}return Math.max(0,$0.offsetHeight-$0.clientHeight-qx.html.Style.getBorderTop($0));}}),getScrollBarSizeLeft:function($0){return 0;},getScrollBarSizeTop:function($0){return 0;},getScrollBarSizeRight:function($0){return qx.html.Dimension.getInsetRight($0)-qx.html.Style.getBorderRight($0);},getScrollBarSizeBottom:function($0){return qx.html.Dimension.getInsetBottom($0)-qx.html.Style.getBorderBottom($0);},getScrollBarVisibleX:function($0){return qx.html.Dimension.getScrollBarSizeRight($0)>0;},getScrollBarVisibleY:function($0){return qx.html.Dimension.getScrollBarSizeBottom($0)>0;}}}); |
54 |
qx.Class.define($[69],{extend:qx.core.Target,include:qx.util.manager.MConnectedObject,type:$[53],construct:function(){arguments.callee.base.call(this);this._layoutChanges={};if(qx.core.Setting.get($[1753])){this._generateHtmlId();}},events:{"beforeAppear":$[4],"appear":$[4],"beforeDisappear":$[4],"disappear":$[4],"beforeInsertDom":$[4],"insertDom":$[4],"beforeRemoveDom":$[4],"removeDom":$[4],"create":$[4],"execute":$[4],"mouseover":$[87],"mousemove":$[87],"mouseout":$[87],"mousedown":$[87],"mouseup":$[87],"mousewheel":$[87],"click":$[87],"dblclick":$[87],"contextmenu":$[87],"keydown":$[186],"keypress":$[186],"keyinput":$[186],"keyup":$[186],"focusout":$[170],"focusin":$[170],"blur":$[170],"focus":$[170],"dragdrop":$[147],"dragout":$[147],"dragover":$[147],"dragmove":$[147],"dragstart":$[147],"dragend":$[147]},statics:{create:function($0,$1){$0._appearance=$1;return new $0;},SCROLLBAR_SIZE:null,_autoFlushTimeout:null,_initAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper,0);}},_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout);qx.ui.core.Widget._autoFlushTimeout=null;}},_autoFlushHelper:function(){qx.ui.core.Widget._autoFlushTimeout=null;if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues();}},flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush();}if(qx.ui.core.Widget._inFlushGlobalQueues){return;}var $0=qx.core.Init.getInstance().getApplication();if($0.getUiReady&&!$0.getUiReady()){return;}qx.ui.core.Widget._inFlushGlobalQueues=true;qx.ui.core.Widget.flushGlobalWidgetQueue();qx.ui.core.Widget.flushGlobalStateQueue();qx.ui.core.Widget.flushGlobalElementQueue();qx.ui.core.Widget.flushGlobalJobQueue();qx.ui.core.Widget.flushGlobalLayoutQueue();qx.ui.core.Widget.flushGlobalDisplayQueue();qx.ui.core.Widget.flushGlobalDisposeQueue();delete qx.ui.core.Widget._inFlushGlobalQueues;},_globalWidgetQueue:[],addToGlobalWidgetQueue:function($0){if(!$0._isInGlobalWidgetQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalWidgetQueue.push($0);$0._isInGlobalWidgetQueue=true;}},removeFromGlobalWidgetQueue:function($0){if($0._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue,$0);delete $0._isInGlobalWidgetQueue;}},flushGlobalWidgetQueue:function(){var $0=qx.ui.core.Widget._globalWidgetQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2.flushWidgetQueue();delete $2._isInGlobalWidgetQueue;}$0.splice(0,$1);}qx.ui.core.Widget._globalWidgetQueue=[];},_globalElementQueue:[],addToGlobalElementQueue:function($0){if(!$0._isInGlobalElementQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalElementQueue.push($0);$0._isInGlobalElementQueue=true;}},removeFromGlobalElementQueue:function($0){if($0._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue,$0);delete $0._isInGlobalElementQueue;}},flushGlobalElementQueue:function(){var $0=qx.ui.core.Widget._globalElementQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._createElementImpl();delete $2._isInGlobalElementQueue;}$0.splice(0,$1);}qx.ui.core.Widget._globalElementQueue=[];},_globalStateQueue:[],addToGlobalStateQueue:function($0){if(!$0._isInGlobalStateQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalStateQueue.push($0);$0._isInGlobalStateQueue=true;}},removeFromGlobalStateQueue:function($0){if($0._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue,$0);delete $0._isInGlobalStateQueue;}},flushGlobalStateQueue:function(){var $0=qx.ui.core.Widget;while($0._globalStateQueue.length>0){var $1=qx.lang.Array.copy($0._globalStateQueue);$0._globalStateQueue=[];for(var $2=0,$3=$1.length;$2<$3;$2++){var $4=$1[$2];if($4._isInGlobalStateQueue){$4._renderAppearance();delete $4._isInGlobalStateQueue;}}}},_globalJobQueue:[],addToGlobalJobQueue:function($0){if(!$0._isInGlobalJobQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalJobQueue.push($0);$0._isInGlobalJobQueue=true;}},removeFromGlobalJobQueue:function($0){if($0._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue,$0);delete $0._isInGlobalJobQueue;}},flushGlobalJobQueue:function(){var $0=qx.ui.core.Widget._globalJobQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushJobQueue($2._jobQueue);delete $2._isInGlobalJobQueue;}$0.splice(0,$1);}qx.ui.core.Widget._globalJobQueue=[];},_globalLayoutQueue:[],addToGlobalLayoutQueue:function($0){if(!$0._isInGlobalLayoutQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalLayoutQueue.push($0);$0._isInGlobalLayoutQueue=true;}},removeFromGlobalLayoutQueue:function($0){if($0._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue,$0);delete $0._isInGlobalLayoutQueue;}},flushGlobalLayoutQueue:function(){var $0=qx.ui.core.Widget._globalLayoutQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushChildrenQueue();delete $2._isInGlobalLayoutQueue;}$0.splice(0,$1);}qx.ui.core.Widget._globalLayoutQueue=[];},_fastGlobalDisplayQueue:[],_lazyGlobalDisplayQueues:{},addToGlobalDisplayQueue:function($0){if(!$0._isInGlobalDisplayQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}var $1=$0.getParent();if($1.isSeeable()){var $2=$1.toHashCode();if(qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]){qx.ui.core.Widget._lazyGlobalDisplayQueues[$2].push($0);}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]=[$0];}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push($0);}$0._isInGlobalDisplayQueue=true;}},removeFromGlobalDisplayQueue:function($0){},flushGlobalDisplayQueue:function(){var $0,$1,$2,$3;var $4=qx.ui.core.Widget._fastGlobalDisplayQueue;var $5=qx.ui.core.Widget._lazyGlobalDisplayQueues;for(var $6=0,$7=$4.length;$6<$7;$6++){$2=$4[$6];$2.getParent()._getTargetNode().appendChild($2.getElement());}if(qx.Class.isDefined($[568])){for($0 in $5){$1=$5[$0];for(var $6=0;$6<$1.length;$6++){$2=$1[$6];if($2 instanceof qx.ui.basic.Inline){$2._beforeInsertDom();try{document.getElementById($2.getInlineNodeId()).appendChild($2.getElement());}catch(ex){$2.debug("Could not append to inline id: "+$2.getInlineNodeId(),ex);}$2._afterInsertDom();$2._afterAppear();qx.lang.Array.remove($1,$2);$6--;delete $2._isInGlobalDisplayQueue;}}}}for($0 in $5){$1=$5[$0];if(document.createDocumentFragment&&$1.length>=3){$3=document.createDocumentFragment();for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$3.appendChild($2.getElement());}$1[0].getParent()._getTargetNode().appendChild($3);for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._afterInsertDom();}}else{for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$2.getParent()._getTargetNode().appendChild($2.getElement());$2._afterInsertDom();}}}for($0 in $5){$1=$5[$0];for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];if($2.getVisibility()){$2._afterAppear();}delete $2._isInGlobalDisplayQueue;}delete $5[$0];}if(qx.lang.Object.isEmpty($5)){qx.ui.core.Widget._lazyGlobalDisplayQueues={};}for(var $6=0,$7=$4.length;$6<$7;$6++){delete $4[$6]._isInGlobalDisplayQueue;}qx.ui.core.Widget._fastGlobalDisplayQueue=[];},_globalDisposeQueue:[],addToGlobalDisposeQueue:function($0){if(!$0._isInGlobalDisposeQueue&&!$0.isDisposed()){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalDisposeQueue.push($0);$0._isInGlobalDisposeQueue=true;}},removeFromGlobalDisposeQueue:function($0){if($0._isInGlobalDisposeQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalDisposeQueue,$0);delete $0._isInGlobalDisposeQueue;}},flushGlobalDisposeQueue:function(){var $0=qx.ui.core.Widget._globalDisposeQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2.dispose();delete $2._isInGlobalDisposeQueue;}$0.splice(0,$1);}qx.ui.core.Widget._globalDisposeQueue=[];},getActiveSiblingHelperIgnore:function($0,$1){for(var $2=0;$2<$0.length;$2++){if($1 instanceof $0[$2]){return true;}}return false;},getActiveSiblingHelper:function($0,$1,$2,$3,$4){if(!$3){$3=[];}var $5=$1.getChildren();var $6=$4==null?$5.indexOf($0)+$2:$4===$[484]?0:$5.length-1;var $7=$5[$6];while($7&&(!$7.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore($3,$7))){$6+=$2;$7=$5[$6];if(!$7){return null;}}return $7;},__initApplyMethods:function($0){var $1=$[1739];var $2=$[852];var $3=$[1660];var $4=$[983];var $5=$[486];var $6=[$[11],$[9],$[23],$[18],$[30],$[31],$[74],$[75],$[79],$[77]];var $7=[$[64],$[67],$[1168],$[1682],$[1023],$[631],$[1659],$[1063],$[1808],$[1594]];var $8=$1+$[485];var $9=$2+$[485];var $a=$3+$[438];for(var $b=0;$b<4;$b++){$0[$8+$7[$b]]=new Function($5,$a+$7[$b]+$4);$0[$9+$7[$b]]=new Function($a+$7[$b]+$[271]);}var $c=$1+$[491];var $d=$2+$[491];var $e=$3+$[260];if(qx.core.Variant.isSet($[1],$[16])){for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$e+$7[$b]+$4);$0[$d+$7[$b]]=new Function($e+$7[$b]+$[271]);}}else{for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$[1486]+$7[$b]+$[1365]);$0[$d+$7[$b]]=new Function($[606]+$7[$b]+$[898]);}}for(var $b=0;$b<$6.length;$b++){$0[$1+$7[$b]]=new Function($5,$3+$6[$b]+$4);$0[$2+$7[$b]]=new Function($3+$6[$b]+$[271]);}},TYPE_NULL:0,TYPE_PIXEL:1,TYPE_PERCENT:2,TYPE_AUTO:3,TYPE_FLEX:4,layoutPropertyTypes:{},__initLayoutProperties:function($0){var $1=[$[30],$[31],$[74],$[75],$[79],$[77],$[11],$[9],$[23],$[18]];for(var $2=0,$3=$1.length,$4,$5,$6;$2<$3;$2++){$4=$1[$2];$5=$[1035]+qx.lang.String.toFirstUp($4);$6=$5+$[702];$0.layoutPropertyTypes[$4]={dataType:$6,dataParsed:$5+$[1210],dataValue:$5+$[370],typePixel:$6+$[643],typePercent:$6+$[1091],typeAuto:$6+$[1766],typeFlex:$6+$[1456],typeNull:$6+$[825]};}},initScrollbarWidth:function(){var $0=document.createElement($[70]);var $1=$0.style;$1.height=$1.width=$[254];$1.overflow=$[19];document.body.appendChild($0);var $2=qx.html.Dimension.getScrollBarSizeRight($0);qx.ui.core.Widget.SCROLLBAR_SIZE=$2?$2:16;document.body.removeChild($0);},_idCounter:0},properties:{enabled:{init:$[121],check:$[2],inheritable:true,apply:$[306],event:$[470]},parent:{check:$[310],nullable:true,event:$[635],apply:$[1302]},element:{check:$[526],nullable:true,apply:$[476],event:$[627]},visibility:{check:$[2],init:true,apply:$[1130],event:$[1601]},display:{check:$[2],init:true,apply:$[1173],event:$[1349]},anonymous:{check:$[2],init:false,event:$[660]},horizontalAlign:{check:[$[11],$[61],$[9]],themeable:true,nullable:true},verticalAlign:{check:[$[23],$[66],$[18]],themeable:true,nullable:true},allowStretchX:{check:$[2],init:true},allowStretchY:{check:$[2],init:true},zIndex:{check:$[21],apply:$[897],event:$[1136],themeable:true,nullable:true,init:null},backgroundColor:{nullable:true,init:null,check:$[90],apply:$[1093],event:$[928],themeable:true},textColor:{nullable:true,init:$[121],check:$[90],apply:$[1445],event:$[649],themeable:true,inheritable:true},border:{nullable:true,init:null,apply:$[718],event:$[1693],check:$[548],themeable:true},font:{nullable:true,init:$[121],apply:$[585],check:$[557],event:$[826],themeable:true,inheritable:true},opacity:{check:$[21],apply:$[885],themeable:true,nullable:true,init:null},cursor:{check:$[6],apply:$[1599],themeable:true,nullable:true,init:null},backgroundImage:{check:$[6],nullable:true,apply:$[645],themeable:true},backgroundRepeat:{check:$[6],nullable:true,apply:$[696],themeable:true},overflow:{check:[$[22],$[3],$[19],$[117],$[116]],nullable:true,apply:$[827],event:$[1393],themeable:true,init:null},clipLeft:{check:$[5],apply:$[245],themeable:true,nullable:true},clipTop:{check:$[5],apply:$[245],themeable:true,nullable:true},clipWidth:{check:$[5],apply:$[245],themeable:true,nullable:true},clipHeight:{check:$[5],apply:$[245],themeable:true,nullable:true},tabIndex:{check:$[5],nullable:true,init:null,apply:$[912],event:$[1737]},hideFocus:{check:$[2],init:false,apply:$[1284],themeable:true},enableElementFocus:{check:$[2],init:true},focused:{check:$[2],init:false,apply:$[784],event:$[1048]},selectable:{check:$[2],init:null,nullable:true,apply:$[637]},toolTip:{check:$[248],nullable:true},contextMenu:{check:$[161],nullable:true},capture:{check:$[2],init:false,apply:$[1740],event:$[1110]},dropDataTypes:{nullable:true,dispose:true},command:{check:$[497],nullable:true,apply:$[1422]},appearance:{check:$[6],init:$[218],apply:$[882],event:$[1559]},supportsDropMethod:{check:$[297],nullable:true,init:null},marginTop:{check:$[21],apply:$[1126],nullable:true,themeable:true},marginRight:{check:$[21],apply:$[1454],nullable:true,themeable:true},marginBottom:{check:$[21],apply:$[636],nullable:true,themeable:true},marginLeft:{check:$[21],apply:$[1311],nullable:true,themeable:true},paddingTop:{check:$[21],apply:$[807],nullable:true,themeable:true},paddingRight:{check:$[21],apply:$[1692],nullable:true,themeable:true},paddingBottom:{check:$[21],apply:$[1569],nullable:true,themeable:true},paddingLeft:{check:$[21],apply:$[905],nullable:true,themeable:true},left:{apply:$[988],event:$[1472],nullable:true,themeable:true,init:null},right:{apply:$[721],event:$[929],nullable:true,themeable:true,init:null},width:{apply:$[1350],event:$[1474],nullable:true,themeable:true,init:null},minWidth:{apply:$[1417],event:$[1708],nullable:true,themeable:true,init:null},maxWidth:{apply:$[1134],event:$[1807],nullable:true,themeable:true,init:null},top:{apply:$[1519],event:$[1475],nullable:true,themeable:true,init:null},bottom:{apply:$[710],event:$[1003],nullable:true,themeable:true,init:null},height:{apply:$[1461],event:$[1534],nullable:true,themeable:true,init:null},minHeight:{apply:$[668],event:$[1355],nullable:true,themeable:true,init:null},maxHeight:{apply:$[729],event:$[1353],nullable:true,themeable:true,init:null},location:{group:[$[11],$[23]],themeable:true},dimension:{group:[$[30],$[31]],themeable:true},space:{group:[$[11],$[30],$[23],$[31]],themeable:true},edge:{group:[$[23],$[9],$[18],$[11]],themeable:true,mode:$[104]},padding:{group:[$[217],$[247],$[235],$[213]],mode:$[104],themeable:true},margin:{group:[$[156],$[228],$[212],$[160]],mode:$[104],themeable:true},heights:{group:[$[79],$[31],$[77]],themeable:true},widths:{group:[$[74],$[30],$[75]],themeable:true},align:{group:[$[1719],$[861]],themeable:true},clipLocation:{group:[$[524],$[461]]},clipDimension:{group:[$[535],$[377]]},clip:{group:[$[524],$[461],$[535],$[377]]},innerWidth:{_cached:true,defaultValue:null},innerHeight:{_cached:true,defaultValue:null},boxWidth:{_cached:true,defaultValue:null},boxHeight:{_cached:true,defaultValue:null},outerWidth:{_cached:true,defaultValue:null},outerHeight:{_cached:true,defaultValue:null},frameWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},frameHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredBoxWidth:{_cached:true,defaultValue:null},preferredBoxHeight:{_cached:true,defaultValue:null},hasPercentX:{_cached:true,defaultValue:false},hasPercentY:{_cached:true,defaultValue:false},hasAutoX:{_cached:true,defaultValue:false},hasAutoY:{_cached:true,defaultValue:false},hasFlexX:{_cached:true,defaultValue:false},hasFlexY:{_cached:true,defaultValue:false}},members:{_computedLeftValue:null,_computedLeftParsed:null,_computedLeftType:null,_computedLeftTypeNull:true,_computedLeftTypePixel:false,_computedLeftTypePercent:false,_computedLeftTypeAuto:false,_computedLeftTypeFlex:false,_computedRightValue:null,_computedRightParsed:null,_computedRightType:null,_computedRightTypeNull:true,_computedRightTypePixel:false,_computedRightTypePercent:false,_computedRightTypeAuto:false,_computedRightTypeFlex:false,_computedTopValue:null,_computedTopParsed:null,_computedTopType:null,_computedTopTypeNull:true,_computedTopTypePixel:false,_computedTopTypePercent:false,_computedTopTypeAuto:false,_computedTopTypeFlex:false,_computedBottomValue:null,_computedBottomParsed:null,_computedBottomType:null,_computedBottomTypeNull:true,_computedBottomTypePixel:false,_computedBottomTypePercent:false,_computedBottomTypeAuto:false,_computedBottomTypeFlex:false,_computedWidthValue:null,_computedWidthParsed:null,_computedWidthType:null,_computedWidthTypeNull:true,_computedWidthTypePixel:false,_computedWidthTypePercent:false,_computedWidthTypeAuto:false,_computedWidthTypeFlex:false,_computedMinWidthValue:null,_computedMinWidthParsed:null,_computedMinWidthType:null,_computedMinWidthTypeNull:true,_computedMinWidthTypePixel:false,_computedMinWidthTypePercent:false,_computedMinWidthTypeAuto:false,_computedMinWidthTypeFlex:false,_computedMaxWidthValue:null,_computedMaxWidthParsed:null,_computedMaxWidthType:null,_computedMaxWidthTypeNull:true,_computedMaxWidthTypePixel:false,_computedMaxWidthTypePercent:false,_computedMaxWidthTypeAuto:false,_computedMaxWidthTypeFlex:false,_computedHeightValue:null,_computedHeightParsed:null,_computedHeightType:null,_computedHeightTypeNull:true,_computedHeightTypePixel:false,_computedHeightTypePercent:false,_computedHeightTypeAuto:false,_computedHeightTypeFlex:false,_computedMinHeightValue:null,_computedMinHeightParsed:null,_computedMinHeightType:null,_computedMinHeightTypeNull:true,_computedMinHeightTypePixel:false,_computedMinHeightTypePercent:false,_computedMinHeightTypeAuto:false,_computedMinHeightTypeFlex:false,_computedMaxHeightValue:null,_computedMaxHeightParsed:null,_computedMaxHeightType:null,_computedMaxHeightTypeNull:true,_computedMaxHeightTypePixel:false,_computedMaxHeightTypePercent:false,_computedMaxHeightTypeAuto:false,_computedMaxHeightTypeFlex:false,_applyLeft:function($0,$1){this._unitDetectionPixelPercent($[11],$0);this.addToQueue($[11]);},_applyRight:function($0,$1){this._unitDetectionPixelPercent($[9],$0);this.addToQueue($[9]);},_applyTop:function($0,$1){this._unitDetectionPixelPercent($[23],$0);this.addToQueue($[23]);},_applyBottom:function($0,$1){this._unitDetectionPixelPercent($[18],$0);this.addToQueue($[18]);},_applyWidth:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[30],$0);this.addToQueue($[30]);},_applyMinWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[74],$0);this.addToQueue($[74]);},_applyMaxWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[75],$0);this.addToQueue($[75]);},_applyHeight:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[31],$0);this.addToQueue($[31]);},_applyMinHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[79],$0);this.addToQueue($[79]);},_applyMaxHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[77],$0);this.addToQueue($[77]);},isMaterialized:function(){var $0=this._element;return (this._initialLayoutDone&&this._isDisplayable&&qx.html.Style.getStyleProperty($0,$[159])!=$[8]&&qx.html.Style.getStyleProperty($0,$[1157])!=$[22]&&$0.offsetWidth>0&&$0.offsetHeight>0);},pack:function(){this.setWidth(this.getPreferredBoxWidth());this.setHeight(this.getPreferredBoxHeight());},auto:function(){this.setWidth($[3]);this.setHeight($[3]);},getChildren:qx.lang.Function.returnNull,getChildrenLength:qx.lang.Function.returnZero,hasChildren:qx.lang.Function.returnFalse,isEmpty:qx.lang.Function.returnTrue,indexOf:qx.lang.Function.returnNegativeIndex,contains:qx.lang.Function.returnFalse,getVisibleChildren:qx.lang.Function.returnNull,getVisibleChildrenLength:qx.lang.Function.returnZero,hasVisibleChildren:qx.lang.Function.returnFalse,isVisibleEmpty:qx.lang.Function.returnTrue,_hasParent:false,_isDisplayable:false,isDisplayable:function(){return this._isDisplayable;},_checkParent:function($0,$1){if(this.contains($0)){throw new Error("Could not insert myself into a child "+$0+"!");}return $0;},_applyParent:function($0,$1){if($1){var $2=$1.getChildren().indexOf(this);this._computedWidthValue=this._computedMinWidthValue=this._computedMaxWidthValue=this._computedLeftValue=this._computedRightValue=null;this._computedHeightValue=this._computedMinHeightValue=this._computedMaxHeightValue=this._computedTopValue=this._computedBottomValue=null;this._cachedBoxWidth=this._cachedInnerWidth=this._cachedOuterWidth=null;this._cachedBoxHeight=this._cachedInnerHeight=this._cachedOuterHeight=null;qx.lang.Array.removeAt($1.getChildren(),$2);$1._invalidateVisibleChildren();$1._removeChildFromChildrenQueue(this);$1.getLayoutImpl().updateChildrenOnRemoveChild(this,$2);$1.addToJobQueue($[396]);$1._invalidatePreferredInnerDimensions();this._oldParent=$1;}if($0){this._hasParent=true;if(typeof this._insertIndex==$[52]){qx.lang.Array.insertAt($0.getChildren(),this,this._insertIndex);delete this._insertIndex;}else{$0.getChildren().push(this);}}else{this._hasParent=false;}qx.core.Property.refresh(this);return this._handleDisplayable($[349]);},_applyDisplay:function($0,$1){return this._handleDisplayable($[159]);},_handleDisplayable:function($0){var $1=this._computeDisplayable();if(this._isDisplayable==$1&&!($1&&$0==$[349])){return true;}this._isDisplayable=$1;var $2=this.getParent();if($2){$2._invalidateVisibleChildren();$2._invalidatePreferredInnerDimensions();}if($0&&this._oldParent&&this._oldParent._initialLayoutDone){var $3=this.getElement();if($3){if(this.getVisibility()){this._beforeDisappear();}this._beforeRemoveDom();try{this._oldParent._getTargetNode().removeChild($3);}catch(ex){}this._afterRemoveDom();if(this.getVisibility()){this._afterDisappear();}}delete this._oldParent;}if($1){if($2._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnAddChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[1343]);}this.addToLayoutChanges($[1034]);this.addToCustomQueues($0);if(this.getVisibility()){this._beforeAppear();}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this);}qx.ui.core.Widget.addToGlobalStateQueue(this);if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this);}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this);qx.ui.core.Widget.removeFromGlobalStateQueue(this);qx.ui.core.Widget.removeFromGlobalJobQueue(this);qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);this.removeFromCustomQueues($0);if($2&&$0){if(this.getVisibility()){this._beforeDisappear();}if($2._initialLayoutDone&&this._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnRemoveChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[396]);this._beforeRemoveDom();var $4=this.getElement().parentNode;if($4){$4.removeChild(this.getElement());if($4&&$4!==$2._getTargetNode()){this.warn("Unexpected parent node: "+$4);}}this._afterRemoveDom();}$2._removeChildFromChildrenQueue(this);if(this.getVisibility()){this._afterDisappear();}}}this._handleDisplayableCustom($1,$2,$0);return true;},addToCustomQueues:qx.lang.Function.returnTrue,removeFromCustomQueues:qx.lang.Function.returnTrue,_handleDisplayableCustom:qx.lang.Function.returnTrue,_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false;},_beforeAppear:function(){this.createDispatchEvent($[719]);},_afterAppear:function(){this._isSeeable=true;this.createDispatchEvent($[194]);},_beforeDisappear:function(){this.removeState($[44]);if(qx.Class.isDefined($[307])){this.removeState($[15]);this.removeState($[35]);}this.createDispatchEvent($[408]);},_afterDisappear:function(){this._isSeeable=false;this.createDispatchEvent($[274]);},_isSeeable:false,isSeeable:function(){return this._isSeeable;},isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable;},_beforeInsertDom:function(){this.createDispatchEvent($[1241]);},_afterInsertDom:function(){this.createDispatchEvent($[1540]);},_beforeRemoveDom:function(){this.createDispatchEvent($[1309]);},_afterRemoveDom:function(){this.createDispatchEvent($[1069]);},_applyVisibility:function($0,$1){if($0){if(this._isDisplayable){this._beforeAppear();}this.removeStyleProperty($[159]);if(this._isDisplayable){this._afterAppear();}}else{if(this._isDisplayable){this._beforeDisappear();}this.setStyleProperty($[159],$[8]);if(this._isDisplayable){this._afterDisappear();}}},show:function(){this.setVisibility(true);this.setDisplay(true);},hide:function(){this.setVisibility(false);},connect:function(){this.setDisplay(true);},disconnect:function(){this.setDisplay(false);},destroy:function(){this.setParent(null);qx.ui.core.Widget.addToGlobalDisposeQueue(this);},_isCreated:false,_getTargetNode:qx.core.Variant.select($[1],{"gecko":function(){return this._element;},"default":function(){return this._borderElement||this._element;}}),addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this);},isCreated:function(){return this._isCreated;},_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[70]));},_applyElement:function($0,$1){this._isCreated=$0!=null;if($1){$1.qx_Widget=null;}if($0){$0.qx_Widget=this;$0.style.position=$[58];this._element=$0;this._style=$0.style;this._applyStyleProperties($0);this._applyHtmlProperties($0);this._applyHtmlAttributes($0);this._applyElementData($0);this.createDispatchEvent($[1145]);this.addToStateQueue();}else{this._element=this._style=null;}},addToJobQueue:function($0){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!this._jobQueue){this._jobQueue={};}this._jobQueue[$0]=true;return true;},_flushJobQueue:function($0){try{var $1=this._jobQueue;var $2=this.getParent();if(!$2||qx.lang.Object.isEmpty($1)){return;}var $3=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null;if($3){$3.updateSelfOnJobQueueFlush($1);}}catch(ex){this.error("Flushing job queue (prechecks#1) failed",ex);}try{var $4=false;var $5=$1.marginLeft||$1.marginRight;var $6=$1.marginTop||$1.marginBottom;var $7=$1.frameWidth;var $8=$1.frameHeight;var $9=($1.frameWidth||$1.preferredInnerWidth)&&this._recomputePreferredBoxWidth();var $a=($1.frameHeight||$1.preferredInnerHeight)&&this._recomputePreferredBoxHeight();if($9){var $b=this.getPreferredBoxWidth();if(this._computedWidthTypeAuto){this._computedWidthValue=$b;$1.width=true;}if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=$b;$1.minWidth=true;}if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=$b;$1.maxWidth=true;}}if($a){var $b=this.getPreferredBoxHeight();if(this._computedHeightTypeAuto){this._computedHeightValue=$b;$1.height=true;}if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=$b;$1.minHeight=true;}if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=$b;$1.maxHeight=true;}}if(($1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right)&&this._recomputeBoxWidth()){$5=$7=true;}if(($1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom)&&this._recomputeBoxHeight()){$6=$8=true;}}catch(ex){this.error("Flushing job queue (recompute#2) failed",ex);}try{if(($5&&this._recomputeOuterWidth())||$9){$2._invalidatePreferredInnerWidth();$2.getLayoutImpl().updateSelfOnChildOuterWidthChange(this);$4=true;}if(($6&&this._recomputeOuterHeight())||$a){$2._invalidatePreferredInnerHeight();$2.getLayoutImpl().updateSelfOnChildOuterHeightChange(this);$4=true;}if($4){$2._flushJobQueue();}}catch(ex){this.error("Flushing job queue (parentsignals#3) failed",ex);}try{$2._addChildToChildrenQueue(this);for(var $c in $1){this._layoutChanges[$c]=true;}}catch(ex){this.error("Flushing job queue (addjobs#4) failed",ex);}try{if(this instanceof qx.ui.core.Parent&&($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom)){var $d=this.getChildren(),$e=$d.length;if($1.paddingLeft){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1373]);}}if($1.paddingRight){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[896]);}}if($1.paddingTop){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1718]);}}if($1.paddingBottom){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[735]);}}}if($7){this._recomputeInnerWidth();}if($8){this._recomputeInnerHeight();}if(this._initialLayoutDone){if($3){$3.updateChildrenOnJobQueueFlush($1);}}}catch(ex){this.error("Flushing job queue (childrensignals#5) failed",ex);}delete this._jobQueue;},_isWidthEssential:qx.lang.Function.returnTrue,_isHeightEssential:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return 0;},_computeBoxHeightFallback:function(){return 0;},_computeBoxWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxWidth(this),this.getMinWidthValue(),this.getMaxWidthValue()));},_computeBoxHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxHeight(this),this.getMinHeightValue(),this.getMaxHeightValue()));},_computeOuterWidth:function(){return Math.max(0,(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight()));},_computeOuterHeight:function(){return Math.max(0,(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom()));},_computeInnerWidth:function(){return Math.max(0,this.getBoxWidth()-this.getFrameWidth());},_computeInnerHeight:function(){return Math.max(0,this.getBoxHeight()-this.getFrameHeight());},getNeededWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededWidth(this));},getNeededHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededHeight(this));},_recomputeFlexX:function(){if(!this.getHasFlexX()){return false;}if(this._computedWidthTypeFlex){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}return true;},_recomputeFlexY:function(){if(!this.getHasFlexY()){return false;}if(this._computedHeightTypeFlex){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}return true;},_recomputePercentX:function(){if(!this.getHasPercentX()){return false;}if(this._computedWidthTypePercent){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null;this.addToLayoutChanges($[74]);}if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null;this.addToLayoutChanges($[75]);}if(this._computedLeftTypePercent){this._computedLeftValue=null;this.addToLayoutChanges($[11]);}if(this._computedRightTypePercent){this._computedRightValue=null;this.addToLayoutChanges($[9]);}return true;},_recomputePercentY:function(){if(!this.getHasPercentY()){return false;}if(this._computedHeightTypePercent){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null;this.addToLayoutChanges($[79]);}if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null;this.addToLayoutChanges($[77]);}if(this._computedTopTypePercent){this._computedTopValue=null;this.addToLayoutChanges($[23]);}if(this._computedBottomTypePercent){this._computedBottomValue=null;this.addToLayoutChanges($[18]);}return true;},_recomputeRangeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false;}this.addToLayoutChanges($[30]);return true;},"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull);}}),_recomputeRangeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false;}this.addToLayoutChanges($[31]);return true;},"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull);}}),_recomputeStretchingX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null;this.addToLayoutChanges($[30]);return true;}return false;},"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true;}return false;}}),_recomputeStretchingY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null;this.addToLayoutChanges($[31]);return true;}return false;},"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true;}return false;}}),_computeValuePixel:function($0){return Math.round($0);},_computeValuePixelLimit:function($0){return Math.max(0,this._computeValuePixel($0));},_computeValuePercentX:function($0){return Math.round(this.getParent().getInnerWidthForChild(this)*$0*0.01);},_computeValuePercentXLimit:function($0){return Math.max(0,this._computeValuePercentX($0));},_computeValuePercentY:function($0){return Math.round(this.getParent().getInnerHeightForChild(this)*$0*0.01);},_computeValuePercentYLimit:function($0){return Math.max(0,this._computeValuePercentY($0));},getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue;}switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexWidth();return this._computedWidthValue=this._computedWidthFlexValue;}return null;},getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue;}switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth();}return null;},getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue;}switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth();}return null;},getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue;}switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed);}return null;},getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue;}switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed);}return null;},getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue;}switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexHeight();return this._computedHeightValue=this._computedHeightFlexValue;}return null;},getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue;}switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight();}return null;},getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue;}switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight();}return null;},getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue;}switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed);}return null;},getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue;}switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed);}return null;},_computeFrameWidth:function(){var $0=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight;switch(this.getOverflow()){case $[19]:case $[116]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_computeFrameHeight:function(){var $0=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom;switch(this.getOverflow()){case $[19]:case $[117]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_invalidateFrameDimensions:function(){this._invalidateFrameWidth();this._invalidateFrameHeight();},_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();},_computePreferredBoxWidth:function(){try{return Math.max(0,this.getPreferredInnerWidth()+this.getFrameWidth());}catch(ex){this.error("_computePreferredBoxWidth failed",ex);}},_computePreferredBoxHeight:function(){try{return Math.max(0,this.getPreferredInnerHeight()+this.getFrameHeight());}catch(ex){this.error("_computePreferredBoxHeight failed",ex);}},_initialLayoutDone:false,addToLayoutChanges:function($0){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this);}return this._layoutChanges[$0]=true;},addToQueue:function($0){this._initialLayoutDone?this.addToJobQueue($0):this.addToLayoutChanges($0);},addToQueueRuntime:function($0){return !this._initialLayoutDone||this.addToJobQueue($0);},_computeHasPercentX:function(){return (this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent);},_computeHasPercentY:function(){return (this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent);},_computeHasAutoX:function(){return (this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto);},_computeHasAutoY:function(){return (this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto);},_computeHasFlexX:function(){return this._computedWidthTypeFlex;},_computeHasFlexY:function(){return this._computedHeightTypeFlex;},_evalUnitsPixelPercentAutoFlex:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[52]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[7]:return $0.indexOf($[175])!=-1?qx.ui.core.Widget.TYPE_PERCENT:$0.indexOf($[144])!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercentAuto:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[52]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[7]:return $0.indexOf($[175])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercent:function($0){switch($0){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[52]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[7]:return $0.indexOf($[175])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_unitDetectionPixelPercentAutoFlex:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeFlex;var $a=$2.typeNull;var $b=this[$7];var $c=this[$8];var $d=this[$9];switch(this[$3]=this._evalUnitsPixelPercentAutoFlex($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=this[$a]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=this[$a]=false;this[$4]=this[$5]=null;break;case qx.ui.core.Widget.TYPE_FLEX:this[$9]=true;this[$6]=this[$7]=this[$8]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$a]=true;this[$6]=this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=null;break;}if($b!=this[$7]){switch($0){case $[74]:case $[75]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[77]:case $[79]:case $[31]:case $[23]:case $[18]:this._invalidateHasPercentY();break;}}if($c!=this[$8]){switch($0){case $[74]:case $[75]:case $[30]:this._invalidateHasAutoX();break;case $[79]:case $[77]:case $[31]:this._invalidateHasAutoY();break;}}if($d!=this[$9]){switch($0){case $[30]:this._invalidateHasFlexX();break;case $[31]:this._invalidateHasFlexY();break;}}},_unitDetectionPixelPercentAuto:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeNull;var $a=this[$7];var $b=this[$8];switch(this[$3]=this._evalUnitsPixelPercentAuto($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=false;this[$4]=this[$5]=null;break;default:this[$9]=true;this[$6]=this[$7]=this[$8]=false;this[$4]=this[$5]=null;break;}if($a!=this[$7]){switch($0){case $[74]:case $[75]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[79]:case $[77]:case $[31]:case $[23]:case $[18]:this._invalidateHasPercentY();break;}}if($b!=this[$8]){switch($0){case $[74]:case $[75]:case $[30]:this._invalidateHasAutoX();break;case $[79]:case $[77]:case $[31]:this._invalidateHasAutoY();break;}}},_unitDetectionPixelPercent:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeNull;var $9=this[$7];switch(this[$3]=this._evalUnitsPixelPercent($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$8]=true;this[$6]=this[$7]=false;this[$4]=this[$5]=null;break;}if($9!=this[$7]){switch($0){case $[74]:case $[75]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[79]:case $[77]:case $[31]:case $[23]:case $[18]:this._invalidateHasPercentY();break;}}},getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null;},moveSelfBefore:function($0){this.getParent().addBefore(this,$0);},moveSelfAfter:function($0){this.getParent().addAfter(this,$0);},moveSelfToBegin:function(){this.getParent().addAtBegin(this);},moveSelfToEnd:function(){this.getParent().addAtEnd(this);},getPreviousSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)-1];},getNextSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)+1];},getPreviousVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)-1];},getNextVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)+1];},getPreviousActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),-1,$0,null);return $1?$1:this.getParent().getLastActiveChild();},getNextActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),1,$0,null);return $1?$1:this.getParent().getFirstActiveChild();},isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this;},isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this;},isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this;},isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this;},hasState:function($0){return this.__states&&this.__states[$0]?true:false;},addState:function($0){if(!this.__states){this.__states={};}if(!this.__states[$0]){this.__states[$0]=true;if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},removeState:function($0){if(this.__states&&this.__states[$0]){delete this.__states[$0];if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},_styleFromMap:function($0){var $1=qx.core.Property.$$method.style;var $2=qx.core.Property.$$method.unstyle;var $3;var $4;for(var $4 in $0){$3=$0[$4];$3===$[68]?this[$2[$4]]():this[$1[$4]]($3);}},_unstyleFromArray:function($0){var $1=qx.core.Property.$$method.unstyle;var $2,$3;for(var $2=0,$3=$0.length;$2<$3;$2++){this[$1[$0[$2]]]();}},_renderAppearance:function(){if(!this.__states){this.__states={};}this._applyStateStyleFocus(this.__states);var $0=this.getAppearance();if($0){try{var $1=qx.theme.manager.Appearance.getInstance().styleFrom($0,this.__states);if($1){this._styleFromMap($1);}}catch(ex){this.error("Could not apply state appearance",ex);}}},_resetAppearanceThemeWrapper:function($0,$1){var $2=this.getAppearance();if($2){var $3=qx.theme.manager.Appearance.getInstance();var $4=$3.styleFromTheme($1,$2,this.__states);var $5=$3.styleFromTheme($0,$2,this.__states);var $6=[];for(var $7 in $4){if($5[$7]===undefined){$6.push($7);}}this._unstyleFromArray($6);this._styleFromMap($5);}},_applyStateStyleFocus:qx.core.Variant.select($[1],{"mshtml":function($0){},"default":function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[216],$[428]);}}else{this.removeStyleProperty($[216]);}}}),addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this);},recursiveAddToStateQueue:function(){this.addToStateQueue();},_applyAppearance:function($0,$1){if(!this.__states){this.__states={};}var $2=qx.theme.manager.Appearance.getInstance();if($0){var $3=$2.styleFrom($0,this.__states)||{};}if($1){var $4=$2.styleFrom($1,this.__states)||{};var $5=[];for(var $6 in $4){if(!$3||!($6 in $3)){$5.push($6);}}}if($5){this._unstyleFromArray($5);}if($3){this._styleFromMap($3);}},_recursiveAppearanceThemeUpdate:function($0,$1){try{this._resetAppearanceThemeWrapper($0,$1);}catch(ex){this.error("Failed to update appearance theme",ex);}},_applyElementData:function($0){},setHtmlProperty:function($0,$1){if(!this._htmlProperties){this._htmlProperties={};}this._htmlProperties[$0]=$1;if(this._isCreated&&this.getElement()[$0]!=$1){this.getElement()[$0]=$1;}return true;},removeHtmlProperty:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},"default":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);delete this.getElement()[$0];}return true;}}),getHtmlProperty:function($0){if(!this._htmlProperties){return $[0];}return this._htmlProperties[$0]||$[0];},_applyHtmlProperties:function($0){var $1=this._htmlProperties;if($1){var $2;for($2 in $1){$0[$2]=$1[$2];}}},_generateHtmlId:function(){var $0=this.classname+$[24]+qx.ui.core.Widget._idCounter++;this.debug("setting autogenerated HTML id to "+$0);this.setHtmlProperty($[948],$0);},setHtmlAttribute:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1075]);if(!this._htmlAttributes){this._htmlAttributes={};}this._htmlAttributes[$0]=$1;if(this._isCreated){this.getElement().setAttribute($0,$1);}return true;},removeHtmlAttribute:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[599]);if(!this._htmlAttributes){return;}delete this._htmlAttributes[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},getHtmlAttribute:function($0){if(!this._htmlAttributes){return $[0];}return this._htmlAttributes[$0]||$[0];},_applyHtmlAttributes:function($0){var $1=this._htmlAttributes;if($1){var $2;for($2 in $1){$0.setAttribute($2,$1[$2]);}}},getStyleProperty:function($0){if(!this._styleProperties){return $[0];}return this._styleProperties[$0]||$[0];},__outerElementStyleProperties:{cursor:true,zIndex:true,filter:true,display:true,visibility:true},setStyleProperty:function($0,$1){if(!this._styleProperties){this._styleProperties={};}this._styleProperties[$0]=$1;if(this._isCreated){var $2=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($2){$2.style[$0]=($1==null)?$[0]:$1;}}},removeStyleProperty:function($0){if(!this._styleProperties){return;}delete this._styleProperties[$0];if(this._isCreated){var $1=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($1){$1.style[$0]=$[0];}}},_applyStyleProperties:function($0){var $1=this._styleProperties;if(!$1){return;}var $2;var $3=$0;var $4=this._getTargetNode();var $0;var $5;for($2 in $1){$0=this.__outerElementStyleProperties[$2]?$3:$4;$5=$1[$2];$0.style[$2]=($5==null)?$[0]:$5;}},_applyEnabled:function($0,$1){if($0===false){this.addState($[185]);this.removeState($[44]);if(qx.Class.isDefined($[307])){this.removeState($[35]);this.removeState($[15]);}}else{this.removeState($[185]);}},isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()>=0&&this.getTabIndex()!=null;},isFocusRoot:function(){return false;},getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot();}return null;},getActiveChild:function(){var $0=this.getFocusRoot();if($0){return $0.getActiveChild();}return null;},_ontabfocus:qx.lang.Function.returnTrue,_applyFocused:function($0,$1){if(!this.isCreated()){return;}var $2=this.getFocusRoot();if($2){if($0){$2.setFocusedChild(this);this._visualizeFocus();}else{if($2.getFocusedChild()==this){$2.setFocusedChild(null);}this._visualizeBlur();}}},_applyHideFocus:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[1689],$0);},"default":qx.lang.Function.returnTrue}),_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur();}catch(ex){}}this.removeState($[227]);},_visualizeFocus:function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this.getElement().focus();}catch(ex){}}this.addState($[227]);},focus:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(true);},blur:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(false);},_applyCapture:function($0,$1){var $2=qx.event.handler.EventHandler.getInstance();if($1){$2.setCaptureWidget(null);}if($0){$2.setCaptureWidget(this);}},_applyZIndex:function($0,$1){if($0==null){this.removeStyleProperty($[315]);}else{this.setStyleProperty($[315],$0);}},_applyTabIndex:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[359],$0<0?-1:1);},"gecko":function($0,$1){this.setStyleProperty($[1452],($0<0?$[506]:$[158]));},"default":function($0,$1){this.setStyleProperty($[733],($0<0?$[506]:$[158]));this.setHtmlProperty($[359],$0<0?-1:1);}}),_applySelectable:qx.core.Variant.select($[1],{"mshtml":function($0,$1){},"gecko":function($0,$1){if($0){this.removeStyleProperty($[373]);}else{this.setStyleProperty($[373],$[8]);}},"webkit":function($0,$1){if($0){this.removeStyleProperty($[520]);this.removeStyleProperty($[387]);}else{this.setStyleProperty($[520],$[8]);this.setStyleProperty($[387],$[8]);}},"default":function($0,$1){if($0){return this.removeStyleProperty($[532]);}else{this.setStyleProperty($[532],$[8]);}}}),_applyOpacity:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==null||$0>=1||$0<0){this.removeStyleProperty($[148]);}else{this.setStyleProperty($[148],($[891]+Math.round($0*100)+$[149]));}},"default":function($0,$1){if($0==null||$0>1){if(qx.core.Variant.isSet($[1],$[16])){this.removeStyleProperty($[504]);}this.removeStyleProperty($[361]);}else{$0=qx.lang.Number.limit($0,0,1);if(qx.core.Variant.isSet($[1],$[16])){this.setStyleProperty($[504],$0);}this.setStyleProperty($[361],$0);}}}),__cursorMap:qx.core.Variant.select($[1],{"mshtml":{"cursor":$[205],"ew-resize":$[309],"ns-resize":$[285],"nesw-resize":$[437],"nwse-resize":$[336]},"opera":{"col-resize":$[309],"row-resize":$[285],"ew-resize":$[309],"ns-resize":$[285],"nesw-resize":$[437],"nwse-resize":$[336]},"default":{}}),_applyCursor:function($0,$1){if($0){this.setStyleProperty($[329],this.__cursorMap[$0]||$0);}else{this.removeStyleProperty($[329]);}},_applyCommand:function($0,$1){},_applyBackgroundImage:function($0,$1){var $2=qx.io.image.Manager.getInstance();var $3=qx.io.Alias.getInstance();if($1){$2.hide($1);}if($0){$2.show($0);}$3.connect(this._styleBackgroundImage,this,$0);},_styleBackgroundImage:function($0){$0?this.setStyleProperty($[445],$[1781]+$0+$[149]):this.removeStyleProperty($[445]);},_applyBackgroundRepeat:function($0,$1){$0?this.setStyleProperty($[376],$0):this.removeStyleProperty($[376]);},_applyClip:function($0,$1){return this._compileClipString();},_compileClipString:function(){var $0=this.getClipLeft();var $1=this.getClipTop();var $2=this.getClipWidth();var $3=this.getClipHeight();var $4,$5;if($0==null){$4=($2==null?$[3]:$2+$[40]);$0=$[3];}else{$4=($2==null?$[3]:$0+$2+$[40]);$0=$0+$[40];}if($1==null){$5=($3==null?$[3]:$3+$[40]);$1=$[3];}else{$5=($3==null?$[3]:$1+$3+$[40]);$1=$1+$[40];}return this.setStyleProperty($[996],($[1755]+$1+$[102]+$4+$[102]+$5+$[102]+$0+$[149]));},_applyOverflow:qx.core.Variant.select($[1],{"default":function($0,$1){var $2=$0;var $3=$[46];switch($0){case $[117]:$3=$[111];$2=$[19];break;case $[116]:$3=$[113];$2=$[19];break;}var $4=[$[46],$[111],$[113]];for(var $5=0;$5<$4.length;$5++){if($4[$5]!=$3){this.removeStyleProperty($4[$5]);}}switch($0){case $[117]:this.setStyleProperty($[113],$[22]);break;case $[116]:this.setStyleProperty($[111],$[22]);break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[46]);},"gecko":function($0,$1){var $2=$0;var $3=$[46];switch($2){case $[22]:$2=$[163];break;case $[117]:$2=$[284];break;case $[116]:$2=$[276];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[46]);},"opera":function($0,$1){var $2=$0;var $3=$[46];switch($2){case $[117]:case $[116]:$2=$[19];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[46]);}}),_renderOverflow:function($0,$1,$2,$3){this.setStyleProperty($0,$1||$[0]);this._invalidateFrameWidth();this._invalidateFrameHeight();},getOverflowX:function(){var $0=this.getOverflow();return $0==$[116]?$[22]:$0;},getOverflowY:function(){var $0=this.getOverflow();return $0==$[117]?$[22]:$0;},_applyBackgroundColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleBackgroundColor,this,$0);},_styleBackgroundColor:function($0){$0?this.setStyleProperty($[495],$0):this.removeStyleProperty($[495]);},_applyTextColor:function($0,$1){},_applyFont:function($0,$1){},_cachedBorderTop:0,_cachedBorderRight:0,_cachedBorderBottom:0,_cachedBorderLeft:0,_applyBorder:function($0,$1){qx.theme.manager.Border.getInstance().connect(this._queueBorder,this,$0);},__borderJobs:{top:$[797],right:$[1429],bottom:$[650],left:$[1512]},_queueBorder:function($0,$1){if(!$1){var $2=this.__borderJobs;for(var $3 in $2){this.addToQueue($2[$3]);}this.__reflowBorderX($0);this.__reflowBorderY($0);}else{if($1===$[11]||$1===$[9]){this.__reflowBorderX($0);}else{this.__reflowBorderY($0);}this.addToQueue(this.__borderJobs[$1]);}this.__borderObject=$0;},__reflowBorderX:function($0){var $1=this._cachedBorderLeft;var $2=this._cachedBorderRight;this._cachedBorderLeft=$0?$0.getWidthLeft():0;this._cachedBorderRight=$0?$0.getWidthRight():0;if(($1+$2)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth();}},__reflowBorderY:function($0){var $1=this._cachedBorderTop;var $2=this._cachedBorderBottom;this._cachedBorderTop=$0?$0.getWidthTop():0;this._cachedBorderBottom=$0?$0.getWidthBottom():0;if(($1+$2)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight();}},renderBorder:function($0){var $1=this.__borderObject;if($1){if($0.borderTop){$1.renderTop(this);}if($0.borderRight){$1.renderRight(this);}if($0.borderBottom){$1.renderBottom(this);}if($0.borderLeft){$1.renderLeft(this);}}else{var $2=qx.ui.core.Border;if($0.borderTop){$2.resetTop(this);}if($0.borderRight){$2.resetRight(this);}if($0.borderBottom){$2.resetBottom(this);}if($0.borderLeft){$2.resetLeft(this);}}},prepareEnhancedBorder:qx.core.Variant.select($[1],{"gecko":qx.lang.Function.returnTrue,"default":function(){var $0=this.getElement();var $1=this._borderElement=document.createElement($[70]);var $2=$0.style;var $3=this._innerStyle=$1.style;if(qx.core.Variant.isSet($[1],$[13])){}else{$3.width=$3.height=$[60];}$3.position=$[58];for(var $4 in this._styleProperties){switch($4){case $[315]:case $[148]:case $[159]:break;default:$3[$4]=$2[$4];$2[$4]=$[0];}}for(var $4 in this._htmlProperties){switch($4){case $[1357]:$1.unselectable=this._htmlProperties[$4];}}while($0.firstChild){$1.appendChild($0.firstChild);}$0.appendChild($1);}}),_applyPaddingTop:function($0,$1){this.addToQueue($[217]);this._invalidateFrameHeight();},_applyPaddingRight:function($0,$1){this.addToQueue($[247]);this._invalidateFrameWidth();},_applyPaddingBottom:function($0,$1){this.addToQueue($[235]);this._invalidateFrameHeight();},_applyPaddingLeft:function($0,$1){this.addToQueue($[213]);this._invalidateFrameWidth();},renderPadding:function($0){},_applyMarginLeft:function($0,$1){this.addToQueue($[160]);},_applyMarginRight:function($0,$1){this.addToQueue($[228]);},_applyMarginTop:function($0,$1){this.addToQueue($[156]);},_applyMarginBottom:function($0,$1){this.addToQueue($[212]);},execute:function(){var $0=this.getCommand();if($0){$0.execute(this);}this.createDispatchEvent($[133]);},_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!");}},setScrollLeft:function($0){this._visualPropertyCheck();this._getTargetNode().scrollLeft=$0;},setScrollTop:function($0){this._visualPropertyCheck();this._getTargetNode().scrollTop=$0;},getOffsetLeft:function(){this._visualPropertyCheck();return qx.html.Offset.getLeft(this.getElement());},getOffsetTop:function(){this._visualPropertyCheck();return qx.html.Offset.getTop(this.getElement());},getScrollLeft:function(){this._visualPropertyCheck();return this._getTargetNode().scrollLeft;},getScrollTop:function(){this._visualPropertyCheck();return this._getTargetNode().scrollTop;},getClientWidth:function(){this._visualPropertyCheck();return this._getTargetNode().clientWidth;},getClientHeight:function(){this._visualPropertyCheck();return this._getTargetNode().clientHeight;},getOffsetWidth:function(){this._visualPropertyCheck();return this.getElement().offsetWidth;},getOffsetHeight:function(){this._visualPropertyCheck();return this.getElement().offsetHeight;},getScrollWidth:function(){this._visualPropertyCheck();return this._getTargetNode().scrollWidth;},getScrollHeight:function(){this._visualPropertyCheck();return this._getTargetNode().scrollHeight;},scrollIntoView:function($0){this.scrollIntoViewX($0);this.scrollIntoViewY($0);},scrollIntoViewX:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewX can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollX(this.getElement(),$0);},scrollIntoViewY:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewY can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollY(this.getElement(),$0);},supportsDrop:function($0){var $1=this.getSupportsDropMethod();if($1!==null){return $1.call(this,$0);}return (this!=$0.sourceWidget);}},settings:{"qx.widgetQueueDebugging":false,"qx.widgetDebugId":false},defer:function($0,$1){$0.__initApplyMethods($1);if(qx.core.Variant.isSet($[1],$[13])){$1._renderRuntimeWidth=function($2){this._style.pixelWidth=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelWidth=($2==null)?0:$2-2;}};$1._renderRuntimeHeight=function($2){this._style.pixelHeight=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelHeight=($2==null)?0:$2-2;}};$1._resetRuntimeWidth=function(){this._style.width=$[0];if(this._innerStyle){this._innerStyle.width=$[0];}};$1._resetRuntimeHeight=function(){this._style.height=$[0];if(this._innerStyle){this._innerStyle.height=$[0];}};}$0.__initLayoutProperties($0);{};},destruct:function(){var $0=this.getElement();if($0){$0.qx_Widget=null;}this._disposeFields($[1712],$[1147],$[335],$[1471],$[990],$[1247],$[1268],$[884],$[1398],$[967],$[655],$[1721],$[634],$[1653]);}}); |
| 55 |
qx.Class.define($[1773],{statics:{getStylePropertySure:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[444]:$[383],{"hasComputed":function($0,$1){return !$0?null:$0.ownerDocument?$0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1]:$0.style[$1];},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{if(!$0){return null;}if($0.parentNode&&$0.currentStyle){return $0.currentStyle[$1];}else{var $2=$0.runtimeStyle[$1];if($2!=null&&typeof $2!=$[65]&&$2!=$[0]){return $2;}return $0.style[$1];}}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){return !$0?null:$0.style[$1];}})}),getStyleProperty:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[444]:$[383],{"hasComputed":function($0,$1){try{return $0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{return $0.currentStyle[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){try{return $0.style[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]");}}})}),getStyleSize:function($0,$1){return parseInt(qx.html.Style.getStyleProperty($0,$1))||0;},getMarginLeft:function($0){return qx.html.Style.getStyleSize($0,$[159]);},getMarginTop:function($0){return qx.html.Style.getStyleSize($0,$[153]);},getMarginRight:function($0){return qx.html.Style.getStyleSize($0,$[225]);},getMarginBottom:function($0){return qx.html.Style.getStyleSize($0,$[211]);},getPaddingLeft:function($0){return qx.html.Style.getStyleSize($0,$[242]);},getPaddingTop:function($0){return qx.html.Style.getStyleSize($0,$[215]);},getPaddingRight:function($0){return qx.html.Style.getStyleSize($0,$[245]);},getPaddingBottom:function($0){return qx.html.Style.getStyleSize($0,$[231]);},getBorderLeft:function($0){return qx.html.Style.getStyleProperty($0,$[815])==$[7]?0:qx.html.Style.getStyleSize($0,$[72]);},getBorderTop:function($0){return qx.html.Style.getStyleProperty($0,$[917])==$[7]?0:qx.html.Style.getStyleSize($0,$[68]);},getBorderRight:function($0){return qx.html.Style.getStyleProperty($0,$[934])==$[7]?0:qx.html.Style.getStyleSize($0,$[424]);},getBorderBottom:function($0){return qx.html.Style.getStyleProperty($0,$[547])==$[7]?0:qx.html.Style.getStyleSize($0,$[341]);}}}); |
55 |
qx.Class.define($[584],{statics:{getOuterWidth:function($0){return qx.html.Dimension.getBoxWidth($0)+qx.html.Style.getMarginLeft($0)+qx.html.Style.getMarginRight($0);},getOuterHeight:function($0){return qx.html.Dimension.getBoxHeight($0)+qx.html.Style.getMarginTop($0)+qx.html.Style.getMarginBottom($0);},getBoxWidthForZeroHeight:function($0){var $1=$0.offsetHeight;if($1==0){var $2=$0.style.height;$0.style.height=$[162];}var $3=$0.offsetWidth;if($1==0){$0.style.height=$2;}return $3;},getBoxHeightForZeroWidth:function($0){var $1=$0.offsetWidth;if($1==0){var $2=$0.style.width;$0.style.width=$[162];}var $3=$0.offsetHeight;if($1==0){$0.style.width=$2;}return $3;},getBoxWidth:function($0){return $0.offsetWidth;},getBoxHeight:function($0){return $0.offsetHeight;},getAreaWidth:qx.core.Variant.select($[1],{"gecko":function($0){if($0.clientWidth!=0&&$0.clientWidth!=(qx.html.Style.getBorderLeft($0)+qx.html.Style.getBorderRight($0))){return $0.clientWidth;}else{return qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0);}},"default":function($0){return $0.clientWidth!=0?$0.clientWidth:(qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0));}}),getAreaHeight:qx.core.Variant.select($[1],{"gecko":function($0){if($0.clientHeight!=0&&$0.clientHeight!=(qx.html.Style.getBorderTop($0)+qx.html.Style.getBorderBottom($0))){return $0.clientHeight;}else{return qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0);}},"default":function($0){return $0.clientHeight!=0?$0.clientHeight:(qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0));}}),getInnerWidth:function($0){return qx.html.Dimension.getAreaWidth($0)-qx.html.Style.getPaddingLeft($0)-qx.html.Style.getPaddingRight($0);},getInnerHeight:function($0){return qx.html.Dimension.getAreaHeight($0)-qx.html.Style.getPaddingTop($0)-qx.html.Style.getPaddingBottom($0);},getInsetLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.clientLeft;},"default":function($0){return qx.html.Style.getBorderLeft($0);}}),getInsetTop:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.clientTop;},"default":function($0){return qx.html.Style.getBorderTop($0);}}),getInsetRight:qx.core.Variant.select($[1],{"mshtml":function($0){if(qx.html.Style.getStyleProperty($0,$[113])==$[22]||$0.clientWidth==0){return qx.html.Style.getBorderRight($0);}return Math.max(0,$0.offsetWidth-$0.clientLeft-$0.clientWidth);},"default":function($0){if($0.clientWidth==0){var $1=qx.html.Style.getStyleProperty($0,$[46]);var $2=$1==$[19]||$1==$[276]?16:0;return Math.max(0,qx.html.Style.getBorderRight($0)+$2);}return Math.max(0,$0.offsetWidth-$0.clientWidth-qx.html.Style.getBorderLeft($0));}}),getInsetBottom:qx.core.Variant.select($[1],{"mshtml":function($0){if(qx.html.Style.getStyleProperty($0,$[111])==$[22]||$0.clientHeight==0){return qx.html.Style.getBorderBottom($0);}return Math.max(0,$0.offsetHeight-$0.clientTop-$0.clientHeight);},"default":function($0){if($0.clientHeight==0){var $1=qx.html.Style.getStyleProperty($0,$[46]);var $2=$1==$[19]||$1==$[284]?16:0;return Math.max(0,qx.html.Style.getBorderBottom($0)+$2);}return Math.max(0,$0.offsetHeight-$0.clientHeight-qx.html.Style.getBorderTop($0));}}),getScrollBarSizeLeft:function($0){return 0;},getScrollBarSizeTop:function($0){return 0;},getScrollBarSizeRight:function($0){return qx.html.Dimension.getInsetRight($0)-qx.html.Style.getBorderRight($0);},getScrollBarSizeBottom:function($0){return qx.html.Dimension.getInsetBottom($0)-qx.html.Style.getBorderBottom($0);},getScrollBarVisibleX:function($0){return qx.html.Dimension.getScrollBarSizeRight($0)>0;},getScrollBarVisibleY:function($0){return qx.html.Dimension.getScrollBarSizeBottom($0)>0;}}}); |
| 56 |
qx.Class.define($[1053],{statics:{includeFile:function($0){var $1=document.createElement($[1370]);$1.type=$[439];$1.rel=$[1690];$1.href=$0;var $2=document.getElementsByTagName($[507])[0];$2.appendChild($1);},createElement:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=document.createStyleSheet();if($0){$1.cssText=$0;}return $1;},"other":function($0){var $1=document.createElement($[44]);$1.type=$[439];$1.appendChild(document.createTextNode($0||$[1173]));document.getElementsByTagName($[507])[0].appendChild($1);if($1.sheet){return $1.sheet;}else{var $2=document.styleSheets;for(var $3=$2.length-1;$3>=0;$3--){if($2[$3].ownerNode==$1){return $2[$3];}}}throw $[1529];}}),addRule:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1,$2){$0.addRule($1,$2);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1,$2){if(!$0._qxRules){$0._qxRules={};}if(!$0._qxRules[$1]){var $3=document.createTextNode($1+$[451]+$2+$[277]);$0.ownerNode.appendChild($3);$0._qxRules[$1]=$3;}},"other":function($0,$1,$2){$0.insertRule($1+$[451]+$2+$[277],$0.cssRules.length);}})}),removeRule:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){var $2=$0.rules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.removeRule($4);}}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1){var $2=function(){qx.log.Logger.ROOT_LOGGER.warn("In Safari/Webkit you can only remove rules that are created using qx.html.StyleSheet.addRule");};if(!$0._qxRules){$2();}var $3=$0._qxRules[$1];if($3){$0.ownerNode.removeChild($3);$0._qxRules[$1]=null;}else{$2();}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.deleteRule($4);}}}})}),removeAllRules:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=$0.rules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeRule($3);}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0){var $1=$0.ownerNode;var $2=$1.childNodes;while($2.length>0){$1.removeChild($2[0]);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.deleteRule($3);}}})}),addImport:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){$0.addImport($1);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1){$0.ownerNode.appendChild(document.createTextNode($[518]+$1+$[400]));},"other":function($0,$1){$0.insertRule($[518]+$1+$[400],$0.cssRules.length);}})}),removeImport:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){var $2=$0.imports;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.removeImport($4);}}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.deleteRule($4);}}}}),removeAllImports:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=$0.imports;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeImport($3);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){if($1[$3].type==$1[$3].IMPORT_RULE){$0.deleteRule($3);}}}})}}); |
56 |
qx.Class.define($[1793],{statics:{getStylePropertySure:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[452]:$[388],{"hasComputed":function($0,$1){return !$0?null:$0.ownerDocument?$0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1]:$0.style[$1];},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{if(!$0){return null;}if($0.parentNode&&$0.currentStyle){return $0.currentStyle[$1];}else{var $2=$0.runtimeStyle[$1];if($2!=null&&typeof $2!=$[68]&&$2!=$[0]){return $2;}return $0.style[$1];}}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){return !$0?null:$0.style[$1];}})}),getStyleProperty:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[452]:$[388],{"hasComputed":function($0,$1){try{return $0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{return $0.currentStyle[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){try{return $0.style[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]");}}})}),getStyleSize:function($0,$1){return parseInt(qx.html.Style.getStyleProperty($0,$1))||0;},getMarginLeft:function($0){return qx.html.Style.getStyleSize($0,$[160]);},getMarginTop:function($0){return qx.html.Style.getStyleSize($0,$[156]);},getMarginRight:function($0){return qx.html.Style.getStyleSize($0,$[228]);},getMarginBottom:function($0){return qx.html.Style.getStyleSize($0,$[212]);},getPaddingLeft:function($0){return qx.html.Style.getStyleSize($0,$[213]);},getPaddingTop:function($0){return qx.html.Style.getStyleSize($0,$[217]);},getPaddingRight:function($0){return qx.html.Style.getStyleSize($0,$[247]);},getPaddingBottom:function($0){return qx.html.Style.getStyleSize($0,$[235]);},getBorderLeft:function($0){return qx.html.Style.getStyleProperty($0,$[831])==$[8]?0:qx.html.Style.getStyleSize($0,$[62]);},getBorderTop:function($0){return qx.html.Style.getStyleProperty($0,$[936])==$[8]?0:qx.html.Style.getStyleSize($0,$[57]);},getBorderRight:function($0){return qx.html.Style.getStyleProperty($0,$[954])==$[8]?0:qx.html.Style.getStyleSize($0,$[281]);},getBorderBottom:function($0){return qx.html.Style.getStyleProperty($0,$[556])==$[8]?0:qx.html.Style.getStyleSize($0,$[258]);}}}); |
| 57 |
qx.Class.define($[306],{extend:qx.ui.core.Widget,type:$[51],construct:function(){arguments.callee.base.call(this);this._children=[];this._layoutImpl=this._createLayoutImpl();},properties:{focusHandler:{check:$[511],apply:$[1146],nullable:true},activeChild:{check:$[66],apply:$[1570],event:$[671],nullable:true},focusedChild:{check:$[66],apply:$[1299],event:$[825],nullable:true},visibleChildren:{_cached:true,defaultValue:null}},members:{isFocusRoot:function(){return this.getFocusHandler()!=null;},getFocusRoot:function(){if(this.isFocusRoot()){return this;}if(this._hasParent){return this.getParent().getFocusRoot();}return null;},activateFocusRoot:function(){if(this._focusHandler){return;}this._focusHandler=new qx.event.handler.FocusHandler(this);this.setFocusHandler(this._focusHandler);},_onfocuskeyevent:function($0){this.getFocusHandler()._onkeyevent(this,$0);},_applyFocusHandler:function($0,$1){if($0){this.addEventListener($[40],this._onfocuskeyevent);if(this.getTabIndex()<1){this.setTabIndex(1);}this.setHideFocus(true);this.setActiveChild(this);}else{this.removeEventListener($[16],this._onfocuskeyevent);this.removeEventListener($[40],this._onfocuskeyevent);this.setTabIndex(-1);this.setHideFocus(false);}},_applyActiveChild:function($0,$1){},_applyFocusedChild:function($0,$1){var $2=$0!=null;var $3=$1!=null;if(qx.Class.isDefined($[166])&&$2){var $4=qx.ui.popup.PopupManager.getInstance();if($4){$4.update($0);}}if($3){if($1.hasEventListeners($[265])){var $5=new qx.event.type.FocusEvent($[265],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);$5.dispose();}}if($2){if($0.hasEventListeners($[253])){var $5=new qx.event.type.FocusEvent($[253],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);$5.dispose();}}if($3){if(this.getActiveChild()==$1&&!$2){this.setActiveChild(null);}$1.setFocused(false);var $5=new qx.event.type.FocusEvent($[199],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);if(qx.Class.isDefined($[151])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleBlur($5);}}$5.dispose();}if($2){this.setActiveChild($0);$0.setFocused(true);qx.event.handler.EventHandler.getInstance().setFocusRoot(this);var $5=new qx.event.type.FocusEvent($[236],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);if(qx.Class.isDefined($[151])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleFocus($5);}}$5.dispose();}},_layoutImpl:null,_createLayoutImpl:function(){return null;},getLayoutImpl:function(){return this._layoutImpl;},getChildren:function(){return this._children;},getChildrenLength:function(){return this.getChildren().length;},hasChildren:function(){return this.getChildrenLength()>0;},isEmpty:function(){return this.getChildrenLength()==0;},indexOf:function($0){return this.getChildren().indexOf($0);},contains:function($0){switch($0){case null:return false;case this:return true;default:return this.contains($0.getParent());}},_computeVisibleChildren:function(){var $0=[];var $1=this.getChildren();if(!$1){return 0;}var $2=$1.length;for(var $3=0;$3<$2;$3++){var $4=$1[$3];if($4._isDisplayable){$0.push($4);}}return $0;},getVisibleChildrenLength:function(){return this.getVisibleChildren().length;},hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0;},isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0;},add:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else{$1.setParent(this);}}return this;},addAt:function($0,$1){if($1==null||$1<0){throw new Error("Not a valid index for addAt(): "+$1);}if($0.getParent()==this){var $2=this.getChildren();var $3=$2.indexOf($0);if($3!=$1){if($3!=-1){qx.lang.Array.removeAt($2,$3);}qx.lang.Array.insertAt($2,$0,$1);if(this._initialLayoutDone){this._invalidateVisibleChildren();this.getLayoutImpl().updateChildrenOnMoveChild($0,$1,$3);}}}else{$0._insertIndex=$1;$0.setParent(this);}},addAtBegin:function($0){return this.addAt($0,0);},addAtEnd:function($0){var $1=this.getChildrenLength();return this.addAt($0,$0.getParent()==this?$1-1:$1);},addBefore:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add before: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4==-1||$4>$3){$3++;}return this.addAt($0,Math.max(0,$3-1));},addAfter:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add after: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4!=-1&&$4<$3){$3--;}return this.addAt($0,Math.min($2.length,$3+1));},remove:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else if($1.getParent()==this){$1.setParent(null);}}},removeAt:function($0){var $1=this.getChildren()[$0];if($1){delete $1._insertIndex;$1.setParent(null);}},removeAll:function(){var $0=this.getChildren();var $1=$0[0];while($1){this.remove($1);$1=$0[0];}},getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null;},getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null;},getFirstActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$0,$[476])||null;},getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null;},getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null;},getLastActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$0,$[835])||null;},forEachChild:function($0){var $1=this.getChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},forEachVisibleChild:function($0){var $1=this.getVisibleChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},_beforeAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeAppear();}});},_afterAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterAppear();}});},_beforeDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeDisappear();}});},_afterDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterDisappear();}});},_beforeInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeInsertDom();}});},_afterInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterInsertDom();}});},_beforeRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeRemoveDom();}});},_afterRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterRemoveDom();}});},_handleDisplayableCustom:function($0,$1,$2){this.forEachChild(function(){this._handleDisplayable();});},_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue();});},recursiveAddToStateQueue:function(){this.addToStateQueue();this.forEachVisibleChild(function(){this.recursiveAddToStateQueue();});},_recursiveAppearanceThemeUpdate:function($0,$1){arguments.callee.base.call(this,$0,$1);this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($0,$1);});},_addChildToChildrenQueue:function($0){if(!$0._isInParentChildrenQueue&&!$0._isDisplayable){this.warn("Ignoring invisible child: "+$0);}if(!$0._isInParentChildrenQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this);if(!this._childrenQueue){this._childrenQueue={};}this._childrenQueue[$0.toHashCode()]=$0;}},_removeChildFromChildrenQueue:function($0){if(this._childrenQueue&&$0._isInParentChildrenQueue){delete this._childrenQueue[$0.toHashCode()];if(qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);}}},_flushChildrenQueue:function(){if(!qx.lang.Object.isEmpty(this._childrenQueue)){this.getLayoutImpl().flushChildrenQueue(this._childrenQueue);delete this._childrenQueue;}},_addChildrenToLayoutQueue:function($0){this.forEachChild(function(){this.addToLayoutChanges($0);});},_layoutChild:function($0){if(!$0._isDisplayable){return ;}var $1=$0._layoutChanges;try{if($0.renderBorder){if($1.borderTop||$1.borderRight||$1.borderBottom||$1.borderLeft){$0.renderBorder($1);}}}catch(ex){this.error("Could not apply border to child "+$0,ex);}try{if($0.renderPadding){if($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom){$0.renderPadding($1);}}}catch(ex){this.error("Could not apply padding to child "+$0,ex);}try{this.getLayoutImpl().layoutChild($0,$1);}catch(ex){this.error("Could not layout child "+$0+" through layout handler",ex);}try{$0._layoutPost($1);}catch(ex){this.error("Could not post layout child "+$0,ex);}try{if($1.initial){$0._initialLayoutDone=true;qx.ui.core.Widget.addToGlobalDisplayQueue($0);}}catch(ex){this.error("Could not handle display updates from layout flush for child "+$0,ex);}$0._layoutChanges={};delete $0._isInParentLayoutQueue;delete this._childrenQueue[$0.toHashCode()];},_layoutPost:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth();},_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight();},_changeInnerWidth:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexWidth){$2.invalidateChildrenFlexWidth();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth();this._recomputeInnerWidth();}});},_changeInnerHeight:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexHeight){$2.invalidateChildrenFlexHeight();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight();this._recomputeInnerHeight();}});},getInnerWidthForChild:function($0){return this.getInnerWidth();},getInnerHeightForChild:function($0){return this.getInnerHeight();},_remappingChildTable:[$[422],$[387],$[407],$[486],$[317],$[515],$[464],$[327],$[322]],_remapStart:$[1778],_remapStop:$[1549],remapChildrenHandlingTo:function($0){var $1=this._remappingChildTable;this._remappingChildTarget=$0;for(var $2=0,$3=$1.length,$4;$2<$3;$2++){$4=$1[$2];this[$4]=new Function(qx.ui.core.Parent.prototype._remapStart+$4+qx.ui.core.Parent.prototype._remapStop);}}},defer:function($0,$1,$2){if(qx.core.Variant.isSet($[1],$[154])){$1._layoutChildOrig=$1._layoutChild;$1._layoutChild=function($3){if(!$3._initialLayoutDone||!$3._layoutChanges.border){return this._layoutChildOrig($3);}var $4=$3.getElement().style;var $5=$4.display;$4.display=$[7];var $6=this._layoutChildOrig($3);$4.display=$5;return $6;};}},destruct:function(){this._disposeObjectDeep($[1312],1);this._disposeObjects($[991],$[538]);this._disposeFields($[312],$[312],$[1058],$[1341],$[572]);}}); |
57 |
qx.Class.define($[1071],{statics:{includeFile:function($0){var $1=document.createElement($[1388]);$1.type=$[447];$1.rel=$[937];$1.href=$0;var $2=document.getElementsByTagName($[514])[0];$2.appendChild($1);},createElement:qx.lang.Object.select(document.createStyleSheet?$[145]:$[50],{"ie4+":function($0){var $1=document.createStyleSheet();if($0){$1.cssText=$0;}return $1;},"other":function($0){var $1=document.createElement($[47]);$1.type=$[447];$1.appendChild(document.createTextNode($0||$[1193]));document.getElementsByTagName($[514])[0].appendChild($1);if($1.sheet){return $1.sheet;}else{var $2=document.styleSheets;for(var $3=$2.length-1;$3>=0;$3--){if($2[$3].ownerNode==$1){return $2[$3];}}}throw $[1551];}}),addRule:qx.lang.Object.select(document.createStyleSheet?$[145]:$[50],{"ie4+":function($0,$1,$2){$0.addRule($1,$2);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[249]:$[50],{"safari2+":function($0,$1,$2){if(!$0._qxRules){$0._qxRules={};}if(!$0._qxRules[$1]){var $3=document.createTextNode($1+$[459]+$2+$[279]);$0.ownerNode.appendChild($3);$0._qxRules[$1]=$3;}},"other":function($0,$1,$2){$0.insertRule($1+$[459]+$2+$[279],$0.cssRules.length);}})}),removeRule:qx.lang.Object.select(document.createStyleSheet?$[145]:$[50],{"ie4+":function($0,$1){var $2=$0.rules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.removeRule($4);}}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[249]:$[50],{"safari2+":function($0,$1){var $2=function(){qx.log.Logger.ROOT_LOGGER.warn("In Safari/Webkit you can only remove rules that are created using qx.html.StyleSheet.addRule");};if(!$0._qxRules){$2();}var $3=$0._qxRules[$1];if($3){$0.ownerNode.removeChild($3);$0._qxRules[$1]=null;}else{$2();}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.deleteRule($4);}}}})}),removeAllRules:qx.lang.Object.select(document.createStyleSheet?$[145]:$[50],{"ie4+":function($0){var $1=$0.rules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeRule($3);}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[249]:$[50],{"safari2+":function($0){var $1=$0.ownerNode;var $2=$1.childNodes;while($2.length>0){$1.removeChild($2[0]);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.deleteRule($3);}}})}),addImport:qx.lang.Object.select(document.createStyleSheet?$[145]:$[50],{"ie4+":function($0,$1){$0.addImport($1);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[249]:$[50],{"safari2+":function($0,$1){$0.ownerNode.appendChild(document.createTextNode($[525]+$1+$[406]));},"other":function($0,$1){$0.insertRule($[525]+$1+$[406],$0.cssRules.length);}})}),removeImport:qx.lang.Object.select(document.createStyleSheet?$[145]:$[50],{"ie4+":function($0,$1){var $2=$0.imports;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.removeImport($4);}}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.deleteRule($4);}}}}),removeAllImports:qx.lang.Object.select(document.createStyleSheet?$[145]:$[50],{"ie4+":function($0){var $1=$0.imports;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeImport($3);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){if($1[$3].type==$1[$3].IMPORT_RULE){$0.deleteRule($3);}}}})}}); |
| 58 |
qx.Class.define($[168],{extend:qx.event.type.Event,construct:function($0,$1){arguments.callee.base.call(this,$0);this.setTarget($1);switch($0){case $[253]:case $[265]:this.setBubbles(true);this.setPropagationStopped(false);}}}); |
58 |
qx.Class.define($[310],{extend:qx.ui.core.Widget,type:$[53],construct:function(){arguments.callee.base.call(this);this._children=[];this._layoutImpl=this._createLayoutImpl();},properties:{focusHandler:{check:$[518],apply:$[1165],nullable:true},activeChild:{check:$[69],apply:$[1592],event:$[682],nullable:true},focusedChild:{check:$[69],apply:$[1321],event:$[841],nullable:true},visibleChildren:{_cached:true,defaultValue:null}},members:{isFocusRoot:function(){return this.getFocusHandler()!=null;},getFocusRoot:function(){if(this.isFocusRoot()){return this;}if(this._hasParent){return this.getParent().getFocusRoot();}return null;},activateFocusRoot:function(){if(this._focusHandler){return;}this._focusHandler=new qx.event.handler.FocusHandler(this);this.setFocusHandler(this._focusHandler);},_onfocuskeyevent:function($0){this.getFocusHandler()._onkeyevent(this,$0);},_applyFocusHandler:function($0,$1){if($0){this.addEventListener($[37],this._onfocuskeyevent);if(this.getTabIndex()<1){this.setTabIndex(1);}this.setHideFocus(true);this.setActiveChild(this);}else{this.removeEventListener($[12],this._onfocuskeyevent);this.removeEventListener($[37],this._onfocuskeyevent);this.setTabIndex(-1);this.setHideFocus(false);}},_applyActiveChild:function($0,$1){},_applyFocusedChild:function($0,$1){var $2=$0!=null;var $3=$1!=null;if(qx.Class.isDefined($[168])&&$2){var $4=qx.ui.popup.PopupManager.getInstance();if($4){$4.update($0);}}if($3){if($1.hasEventListeners($[268])){var $5=new qx.event.type.FocusEvent($[268],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);$5.dispose();}}if($2){if($0.hasEventListeners($[255])){var $5=new qx.event.type.FocusEvent($[255],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);$5.dispose();}}if($3){if(this.getActiveChild()==$1&&!$2){this.setActiveChild(null);}$1.setFocused(false);var $5=new qx.event.type.FocusEvent($[201],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);if(qx.Class.isDefined($[154])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleBlur($5);}}$5.dispose();}if($2){this.setActiveChild($0);$0.setFocused(true);qx.event.handler.EventHandler.getInstance().setFocusRoot(this);var $5=new qx.event.type.FocusEvent($[240],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);if(qx.Class.isDefined($[154])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleFocus($5);}}$5.dispose();}},_layoutImpl:null,_createLayoutImpl:function(){return null;},getLayoutImpl:function(){return this._layoutImpl;},getChildren:function(){return this._children;},getChildrenLength:function(){return this.getChildren().length;},hasChildren:function(){return this.getChildrenLength()>0;},isEmpty:function(){return this.getChildrenLength()==0;},indexOf:function($0){return this.getChildren().indexOf($0);},contains:function($0){switch($0){case null:return false;case this:return true;default:return this.contains($0.getParent());}},_computeVisibleChildren:function(){var $0=[];var $1=this.getChildren();if(!$1){return 0;}var $2=$1.length;for(var $3=0;$3<$2;$3++){var $4=$1[$3];if($4._isDisplayable){$0.push($4);}}return $0;},getVisibleChildrenLength:function(){return this.getVisibleChildren().length;},hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0;},isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0;},add:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else{$1.setParent(this);}}return this;},addAt:function($0,$1){if($1==null||$1<0){throw new Error("Not a valid index for addAt(): "+$1);}if($0.getParent()==this){var $2=this.getChildren();var $3=$2.indexOf($0);if($3!=$1){if($3!=-1){qx.lang.Array.removeAt($2,$3);}qx.lang.Array.insertAt($2,$0,$1);if(this._initialLayoutDone){this._invalidateVisibleChildren();this.getLayoutImpl().updateChildrenOnMoveChild($0,$1,$3);}}}else{$0._insertIndex=$1;$0.setParent(this);}},addAtBegin:function($0){return this.addAt($0,0);},addAtEnd:function($0){var $1=this.getChildrenLength();return this.addAt($0,$0.getParent()==this?$1-1:$1);},addBefore:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add before: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4==-1||$4>$3){$3++;}return this.addAt($0,Math.max(0,$3-1));},addAfter:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add after: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4!=-1&&$4<$3){$3--;}return this.addAt($0,Math.min($2.length,$3+1));},remove:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else if($1.getParent()==this){$1.setParent(null);}}},removeAt:function($0){var $1=this.getChildren()[$0];if($1){delete $1._insertIndex;$1.setParent(null);}},removeAll:function(){var $0=this.getChildren();var $1=$0[0];while($1){this.remove($1);$1=$0[0];}},getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null;},getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null;},getFirstActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$0,$[484])||null;},getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null;},getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null;},getLastActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$0,$[851])||null;},forEachChild:function($0){var $1=this.getChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},forEachVisibleChild:function($0){var $1=this.getVisibleChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},_beforeAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeAppear();}});},_afterAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterAppear();}});},_beforeDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeDisappear();}});},_afterDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterDisappear();}});},_beforeInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeInsertDom();}});},_afterInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterInsertDom();}});},_beforeRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeRemoveDom();}});},_afterRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterRemoveDom();}});},_handleDisplayableCustom:function($0,$1,$2){this.forEachChild(function(){this._handleDisplayable();});},_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue();});},recursiveAddToStateQueue:function(){this.addToStateQueue();this.forEachVisibleChild(function(){this.recursiveAddToStateQueue();});},_recursiveAppearanceThemeUpdate:function($0,$1){arguments.callee.base.call(this,$0,$1);this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($0,$1);});},_addChildToChildrenQueue:function($0){if(!$0._isInParentChildrenQueue&&!$0._isDisplayable){this.warn("Ignoring invisible child: "+$0);}if(!$0._isInParentChildrenQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this);if(!this._childrenQueue){this._childrenQueue={};}this._childrenQueue[$0.toHashCode()]=$0;}},_removeChildFromChildrenQueue:function($0){if(this._childrenQueue&&$0._isInParentChildrenQueue){delete this._childrenQueue[$0.toHashCode()];if(qx.lang.Object.isEmpty(this._childrenQueue)){this._childrenQueue={};qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);}}},_flushChildrenQueue:function(){if(!qx.lang.Object.isEmpty(this._childrenQueue)){this.getLayoutImpl().flushChildrenQueue(this._childrenQueue);delete this._childrenQueue;}},_addChildrenToLayoutQueue:function($0){this.forEachChild(function(){this.addToLayoutChanges($0);});},_layoutChild:function($0){if(!$0._isDisplayable){return ;}var $1=$0._layoutChanges;try{if($0.renderBorder){if($1.borderTop||$1.borderRight||$1.borderBottom||$1.borderLeft){$0.renderBorder($1);}}}catch(ex){this.error("Could not apply border to child "+$0,ex);}try{if($0.renderPadding){if($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom){$0.renderPadding($1);}}}catch(ex){this.error("Could not apply padding to child "+$0,ex);}try{this.getLayoutImpl().layoutChild($0,$1);}catch(ex){this.error("Could not layout child "+$0+" through layout handler",ex);}try{$0._layoutPost($1);}catch(ex){this.error("Could not post layout child "+$0,ex);}try{if($1.initial){$0._initialLayoutDone=true;qx.ui.core.Widget.addToGlobalDisplayQueue($0);}}catch(ex){this.error("Could not handle display updates from layout flush for child "+$0,ex);}$0._layoutChanges={};delete $0._isInParentLayoutQueue;delete this._childrenQueue[$0.toHashCode()];},_layoutPost:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth();},_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight();},_changeInnerWidth:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexWidth){$2.invalidateChildrenFlexWidth();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth();this._recomputeInnerWidth();}});},_changeInnerHeight:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexHeight){$2.invalidateChildrenFlexHeight();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight();this._recomputeInnerHeight();}});},getInnerWidthForChild:function($0){return this.getInnerWidth();},getInnerHeightForChild:function($0){return this.getInnerHeight();},_remappingChildTable:[$[431],$[392],$[414],$[494],$[323],$[522],$[471],$[333],$[328]],_remapStart:$[1798],_remapStop:$[1570],remapChildrenHandlingTo:function($0){var $1=this._remappingChildTable;this._remappingChildTarget=$0;for(var $2=0,$3=$1.length,$4;$2<$3;$2++){$4=$1[$2];this[$4]=new Function(qx.ui.core.Parent.prototype._remapStart+$4+qx.ui.core.Parent.prototype._remapStop);}}},defer:function($0,$1,$2){if(qx.core.Variant.isSet($[1],$[137])){$1._layoutChildOrig=$1._layoutChild;$1._layoutChild=function($3){if(!$3._initialLayoutDone||!$3._layoutChanges.border){return this._layoutChildOrig($3);}var $4=$3.getElement().style;var $5=$4.display;$4.display=$[8];var $6=this._layoutChildOrig($3);$4.display=$5;return $6;};}},destruct:function(){this._disposeObjectDeep($[1333],1);this._disposeObjects($[1009],$[547]);this._disposeFields($[318],$[318],$[1076],$[1361],$[582]);}}); |
| 59 |
qx.Class.define($[604],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__onmouseevent=qx.lang.Function.bind(this._onmouseevent,this);this.__ondragevent=qx.lang.Function.bind(this._ondragevent,this);this.__onselectevent=qx.lang.Function.bind(this._onselectevent,this);this.__onwindowblur=qx.lang.Function.bind(this._onwindowblur,this);this.__onwindowfocus=qx.lang.Function.bind(this._onwindowfocus,this);this.__onwindowresize=qx.lang.Function.bind(this._onwindowresize,this);this._commands={};},events:{"error":$[98]},statics:{mouseEventTypes:[$[61],$[148],$[105],$[12],$[22],$[53],$[104],$[219],qx.core.Variant.isSet($[1],$[21])?$[405]:$[184]],keyEventTypes:[$[16],$[40],$[84]],dragEventTypes:qx.core.Variant.select($[1],{"gecko":[$[285],$[149],$[259],$[450],$[471]],"mshtml":[$[488],$[149],$[177],$[411],$[259],$[339]],"default":[$[177],$[285],$[149],$[411],$[339],$[259],$[450],$[471]]}),getDomTarget:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.target||$0.srcElement;},"webkit":function($0){var $1=$0.target||$0.srcElement;if($1&&($1.nodeType==qx.dom.Node.TEXT)){$1=$1.parentNode;}return $1;},"default":function($0){return $0.target;}}),stopDomEvent:function($0){if($0.preventDefault){$0.preventDefault();}$0.returnValue=false;},getOriginalTargetObject:function($0){if($0==document.documentElement){$0=document.body;}while($0!=null&&$0.qx_Widget==null){try{$0=$0.parentNode;}catch(vDomEvent){$0=null;}}return $0?$0.qx_Widget:null;},getOriginalTargetObjectFromEvent:function($0,$1){var $2=qx.event.handler.EventHandler.getDomTarget($0);if($1){var $3=$1.document;if($2==$1||$2==$3||$2==$3.documentElement||$2==$3.body){return $3.body.qx_Widget;}}return qx.event.handler.EventHandler.getOriginalTargetObject($2);},getRelatedOriginalTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getOriginalTargetObject($0.relatedTarget||($0.type==$[61]?$0.fromElement:$0.toElement));},getTargetObject:function($0,$1,$2){if(!$1){var $1=qx.event.handler.EventHandler.getOriginalTargetObject($0);if(!$1){return null;}}while($1){if(!$2&&!$1.getEnabled()){return null;}if(!$1.getAnonymous()){break;}$1=$1.getParent();}return $1;},getTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getTargetObject(qx.event.handler.EventHandler.getDomTarget($0));},getRelatedTargetObjectFromEvent:function($0){var $1=$0.relatedTarget;if(!$1){if($0.type==$[61]){$1=$0.fromElement;}else{$1=$0.toElement;}}return qx.event.handler.EventHandler.getTargetObject($1);}},properties:{allowClientContextMenu:{check:$[2],init:false},allowClientSelectAll:{check:$[2],init:false},captureWidget:{check:$[66],nullable:true,apply:$[1200]},focusRoot:{check:$[306],nullable:true,apply:$[558]}},members:{_lastMouseEventType:null,_lastMouseDown:false,_lastMouseEventDate:0,_applyCaptureWidget:function($0,$1){if($1){$1.setCapture(false);}if($0){$0.setCapture(true);}},_applyFocusRoot:function($0,$1){if($1){$1.setFocusedChild(null);}if($0&&$0.getFocusedChild()==null){$0.setFocusedChild($0);}},addCommand:function($0){this._commands[$0.toHashCode()]=$0;},removeCommand:function($0){delete this._commands[$0.toHashCode()];},_checkKeyEventMatch:function($0){var $1;for(var $2 in this._commands){$1=this._commands[$2];if($1.getEnabled()&&$1.matchesKeyEvent($0)){if(!$1.execute($0.getTarget())){$0.preventDefault();}break;}}},attachEvents:function(){this.attachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.attachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._attachEvents();qx.html.EventRegistration.addEventListener(window,$[199],this.__onwindowblur);qx.html.EventRegistration.addEventListener(window,$[236],this.__onwindowfocus);qx.html.EventRegistration.addEventListener(window,$[202],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=this.__onselectevent;},detachEvents:function(){this.detachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.detachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._detachEvents();qx.html.EventRegistration.removeEventListener(window,$[199],this.__onwindowblur);qx.html.EventRegistration.removeEventListener(window,$[236],this.__onwindowfocus);qx.html.EventRegistration.removeEventListener(window,$[202],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=null;},attachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[21])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.addEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to attach window event types: "+$0+": "+ex);}},detachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[21])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.removeEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to detach window event types: "+$0+": "+ex);}},_onkeyevent_post:function($0,$1,$2,$3,$4){var $5=qx.event.handler.EventHandler.getDomTarget($0);var $6=this.getFocusRoot();var $7=this.getCaptureWidget()||($6==null?null:$6.getActiveChild());var $8=new qx.event.type.KeyEvent($1,$0,$5,$7,null,$2,$3,$4);if($1==$[16]){this._checkKeyEventMatch($8);}if($7!=null&&$7.getEnabled()){switch($4){case $[129]:case $[188]:if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($7,$1);}break;}if(!this.getAllowClientSelectAll()){if($0.ctrlKey&&$4==$[174]){switch($5.tagName.toLowerCase()){case $[89]:case $[222]:case $[239]:break;default:qx.event.handler.EventHandler.stopDomEvent($0);}}}$7.dispatchEvent($8);if(qx.Class.isDefined($[235])){qx.event.handler.DragAndDropHandler.getInstance().handleKeyEvent($8);}}$8.dispose();},_onmouseevent:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;if($2==$[148]){if(this._mouseIsDown&&$0.button==0){this._onmouseevent_post($0,$[22]);this._mouseIsDown=false;}}else{if($2==$[12]){this._mouseIsDown=true;}else if($2==$[22]){this._mouseIsDown=false;}if($2==$[22]&&!this._lastMouseDown&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[12]);}else if($2==$[104]&&this._lastMouseEventType==$[22]&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[53]);}switch($2){case $[12]:case $[22]:case $[53]:case $[104]:case $[219]:this._lastMouseEventType=$2;this._lastMouseEventDate=(new Date).valueOf();this._lastMouseDown=$2==$[12];}}this._onmouseevent_post($0,$2,$1);},"default":function($0){var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;switch($2){case $[405]:$2=$[184];break;case $[53]:case $[104]:if($0.which!==1){return;}}this._onmouseevent_post($0,$2,$1);}}),_onmouseevent_click_fix:qx.core.Variant.select($[1],{"gecko":function($0,$1,$2){var $3=false;switch($1){case $[12]:this._lastMouseDownDomTarget=$0;this._lastMouseDownDispatchTarget=$2;break;case $[22]:if(this._lastMouseDownDispatchTarget===$2&&$0!==this._lastMouseDownDomTarget){$3=true;}else{this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}}return $3;},"default":null}),_onmouseevent_post:function($0,$1,$2){var $3,$4,$5,$6,$7,$8,$9,$a;$4=this.getCaptureWidget();$7=qx.event.handler.EventHandler.getOriginalTargetObject($2);if(!$4){$5=$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}else{$5=$4;$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}if(!$6){return;}$a=$6.getEnabled();if(qx.core.Variant.isSet($[1],$[21])){$9=this._onmouseevent_click_fix($2,$1,$5);}if($1==$[219]&&!this.getAllowClientContextMenu()){qx.event.handler.EventHandler.stopDomEvent($0);}if($a&&$1==$[12]){qx.event.handler.FocusHandler.mouseFocus=true;var $b=$6.getFocusRoot();if($b){this.setFocusRoot($b);var $c=$6;while(!$c.isFocusable()&&$c!=$b){$c=$c.getParent();}$b.setFocusedChild($c);$b.setActiveChild($6);}}switch($1){case $[61]:case $[105]:$8=qx.event.handler.EventHandler.getRelatedTargetObjectFromEvent($0);if($8==$6){return;}}$3=new qx.event.type.MouseEvent($1,$0,$2,$6,$7,$8);qx.event.type.MouseEvent.storeEventState($3);if($a){var $d=false;$d=$5?$5.dispatchEvent($3):true;this._onmouseevent_special_post($1,$6,$7,$5,$d,$3,$0);}else{if($1==$[61]){if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($3);}}}$3.dispose();$3=null;qx.ui.core.Widget.flushGlobalQueues();if($9){this._onmouseevent_post($0,$[53],this._lastMouseDownDomTarget);this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}},_onmouseevent_special_post:function($0,$1,$2,$3,$4,$5,$6){switch($0){case $[12]:if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update($1);}if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[262])){qx.ui.embed.IframeManager.getInstance().handleMouseDown($5);}break;case $[22]:if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[262])){qx.ui.embed.IframeManager.getInstance().handleMouseUp($5);}break;case $[61]:if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($5);}break;case $[105]:if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOut($5);}break;}this._ignoreWindowBlur=$0===$[12];if(qx.Class.isDefined($[235])&&$1){qx.event.handler.DragAndDropHandler.getInstance().handleMouseEvent($5);}},_ondragevent:function($0){if(!$0){$0=window.event;}qx.event.handler.EventHandler.stopDomEvent($0);},_onselectevent:function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getOriginalTargetObjectFromEvent($0);while($1){if($1.getSelectable()!=null){if(!$1.getSelectable()){qx.event.handler.EventHandler.stopDomEvent($0);}break;}$1=$1.getParent();}},_focused:false,_onwindowblur:function($0){if(!this._focused||this._ignoreWindowBlur){return;}this._focused=false;this.setCaptureWidget(null);if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update();}if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update();}if(qx.Class.isDefined($[235])){qx.event.handler.DragAndDropHandler.getInstance().globalCancelDrag();}qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[283]);},_onwindowfocus:function($0){if(this._focused){return;}this._focused=true;qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[1467]);},_onwindowresize:function($0){qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[363]);}},destruct:function(){this.detachEvents();this._disposeObjectDeep($[1794],1);this._disposeFields($[962],$[1275],$[1458],$[976],$[1742],$[1685]);this._disposeFields($[1105],$[1202],$[1040],$[1584],$[766]);}}); |
59 |
qx.Class.define($[170],{extend:qx.event.type.Event,construct:function($0,$1){arguments.callee.base.call(this,$0);this.setTarget($1);switch($0){case $[255]:case $[268]:this.setBubbles(true);this.setPropagationStopped(false);}}}); |
| 60 |
qx.Class.define($[1576],{statics:{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12,getDocument:function($0){if(this.isDocument($0)){return $0;}return $0.ownerDocument||$0.document||null;},getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){return this.getDocument($0).parentWindow;},"default":function($0){return this.getDocument($0).defaultView;}}),getDocumentElement:function($0){return this.getDocument($0).documentElement;},getBodyElement:function($0){return this.getDocument($0).body;},isElement:function($0){return !!($0&&$0.nodeType===qx.dom.Node.ELEMENT);},isDocument:function($0){return !!($0&&$0.nodeType===qx.dom.Node.DOCUMENT);},isText:function($0){return !!($0&&$0.nodeType===qx.dom.Node.TEXT);},isWindow:function($0){return $0.document&&this.getWindow($0.document)==$0;},getText:function($0){if(!$0||!$0.nodeType){return null;}switch($0.nodeType){case 1:var $1,$2=[],$3=$0.childNodes,$4=$3.length;for($1=0;$1<$4;$1++){$2[$1]=this.getText($3[$1]);}return $2.join($[0]);case 2:return $0.nodeValue;break;case 3:return $0.nodeValue;break;}return null;}}}); |
60 |
qx.Class.define($[618],{type:$[20],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__onmouseevent=qx.lang.Function.bind(this._onmouseevent,this);this.__ondragevent=qx.lang.Function.bind(this._ondragevent,this);this.__onselectevent=qx.lang.Function.bind(this._onselectevent,this);this.__onwindowblur=qx.lang.Function.bind(this._onwindowblur,this);this.__onwindowfocus=qx.lang.Function.bind(this._onwindowfocus,this);this.__onwindowresize=qx.lang.Function.bind(this._onwindowresize,this);this._commands={};},events:{"error":$[98]},statics:{mouseEventTypes:[$[65],$[151],$[106],$[14],$[25],$[56],$[105],$[221],qx.core.Variant.isSet($[1],$[16])?$[411]:$[184]],keyEventTypes:[$[12],$[37],$[85]],dragEventTypes:qx.core.Variant.select($[1],{"gecko":[$[288],$[152],$[261],$[458],$[480]],"mshtml":[$[496],$[152],$[178],$[419],$[261],$[347]],"default":[$[178],$[288],$[152],$[419],$[347],$[261],$[458],$[480]]}),getDomTarget:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.target||$0.srcElement;},"webkit":function($0){var $1=$0.target||$0.srcElement;if($1&&($1.nodeType==qx.dom.Node.TEXT)){$1=$1.parentNode;}return $1;},"default":function($0){return $0.target;}}),stopDomEvent:function($0){if($0.preventDefault){$0.preventDefault();}try{e.keyCode=0;}catch(ex){}$0.returnValue=false;},getOriginalTargetObject:function($0){if($0==document.documentElement){$0=document.body;}while($0!=null&&$0.qx_Widget==null){try{$0=$0.parentNode;}catch(vDomEvent){$0=null;}}return $0?$0.qx_Widget:null;},getOriginalTargetObjectFromEvent:function($0,$1){var $2=qx.event.handler.EventHandler.getDomTarget($0);if($1){var $3=$1.document;if($2==$1||$2==$3||$2==$3.documentElement||$2==$3.body){return $3.body.qx_Widget;}}return qx.event.handler.EventHandler.getOriginalTargetObject($2);},getRelatedOriginalTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getOriginalTargetObject($0.relatedTarget||($0.type==$[65]?$0.fromElement:$0.toElement));},getTargetObject:function($0,$1,$2){if(!$1){var $1=qx.event.handler.EventHandler.getOriginalTargetObject($0);if(!$1){return null;}}while($1){if(!$2&&!$1.getEnabled()){return null;}if(!$1.getAnonymous()){break;}$1=$1.getParent();}return $1;},getTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getTargetObject(qx.event.handler.EventHandler.getDomTarget($0));},getRelatedTargetObjectFromEvent:function($0){var $1=$0.relatedTarget;if(!$1){if($0.type==$[65]){$1=$0.fromElement;}else{$1=$0.toElement;}}return qx.event.handler.EventHandler.getTargetObject($1);}},properties:{allowClientContextMenu:{check:$[2],init:false},allowClientSelectAll:{check:$[2],init:false},captureWidget:{check:$[69],nullable:true,apply:$[1223]},focusRoot:{check:$[310],nullable:true,apply:$[567]}},members:{_lastMouseEventType:null,_lastMouseDown:false,_lastMouseEventDate:0,_applyCaptureWidget:function($0,$1){if($1){$1.setCapture(false);}if($0){$0.setCapture(true);}},_applyFocusRoot:function($0,$1){if($1){$1.setFocusedChild(null);}if($0&&$0.getFocusedChild()==null){$0.setFocusedChild($0);}},addCommand:function($0){this._commands[$0.toHashCode()]=$0;},removeCommand:function($0){delete this._commands[$0.toHashCode()];if(qx.lang.Object.isEmpty(this._commands)){this._commands={};}},_checkKeyEventMatch:function($0){var $1;for(var $2 in this._commands){$1=this._commands[$2];if($1.getEnabled()&&$1.matchesKeyEvent($0)){if(!$1.execute($0.getTarget())){$0.preventDefault();}break;}}},attachEvents:function(){this.attachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.attachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._attachEvents();qx.html.EventRegistration.addEventListener(window,$[201],this.__onwindowblur);qx.html.EventRegistration.addEventListener(window,$[240],this.__onwindowfocus);qx.html.EventRegistration.addEventListener(window,$[203],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=this.__onselectevent;},detachEvents:function(){this.detachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.detachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._detachEvents();qx.html.EventRegistration.removeEventListener(window,$[201],this.__onwindowblur);qx.html.EventRegistration.removeEventListener(window,$[240],this.__onwindowfocus);qx.html.EventRegistration.removeEventListener(window,$[203],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=null;},attachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[16])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.addEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to attach window event types: "+$0+": "+ex);}},detachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[16])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.removeEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to detach window event types: "+$0+": "+ex);}},_onkeyevent_post:function($0,$1,$2,$3,$4){var $5=qx.event.handler.EventHandler.getDomTarget($0);var $6=this.getFocusRoot();var $7=this.getCaptureWidget()||($6==null?null:$6.getActiveChild());var $8=new qx.event.type.KeyEvent($1,$0,$5,$7,null,$2,$3,$4);if($1==$[12]){this._checkKeyEventMatch($8);}if($7!=null&&$7.getEnabled()){switch($4){case $[114]:case $[188]:if(qx.Class.isDefined($[155])){qx.ui.menu.Manager.getInstance().update($7,$1);}break;}if(!this.getAllowClientSelectAll()){if($0.ctrlKey&&$4==$[176]){switch($5.tagName.toLowerCase()){case $[89]:case $[225]:case $[243]:break;default:qx.event.handler.EventHandler.stopDomEvent($0);}}}$7.dispatchEvent($8);if(qx.Class.isDefined($[239])){qx.event.handler.DragAndDropHandler.getInstance().handleKeyEvent($8);}}$8.dispose();},_onmouseevent:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;if($2==$[151]){if(this._mouseIsDown&&$0.button==0){this._onmouseevent_post($0,$[25],$1);this._mouseIsDown=false;}}else{if($2==$[14]){this._mouseIsDown=true;}else if($2==$[25]){this._mouseIsDown=false;}if($2==$[25]&&!this._lastMouseDown&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[14],$1);}else if($2==$[105]&&this._lastMouseEventType==$[25]&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[56],$1);}switch($2){case $[14]:case $[25]:case $[56]:case $[105]:case $[221]:this._lastMouseEventType=$2;this._lastMouseEventDate=(new Date).valueOf();this._lastMouseDown=$2==$[14];}}this._onmouseevent_post($0,$2,$1);},"default":function($0){var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;switch($2){case $[411]:$2=$[184];break;case $[56]:case $[105]:if($0.which!==1){return;}}this._onmouseevent_post($0,$2,$1);}}),_onmouseevent_click_fix:qx.core.Variant.select($[1],{"gecko":function($0,$1,$2){var $3=false;switch($1){case $[14]:this._lastMouseDownDomTarget=$0;this._lastMouseDownDispatchTarget=$2;break;case $[25]:if(this._lastMouseDownDispatchTarget===$2&&$0!==this._lastMouseDownDomTarget){$3=true;}else{this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}}return $3;},"default":null}),_onmouseevent_post:function($0,$1,$2){var $3,$4,$5,$6,$7,$8,$9,$a;$4=this.getCaptureWidget();$7=qx.event.handler.EventHandler.getOriginalTargetObject($2);if(!$4){$5=$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}else{$5=$4;$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}if(!$6){return;}$a=$6.getEnabled();if(qx.core.Variant.isSet($[1],$[16])){$9=this._onmouseevent_click_fix($2,$1,$5);}if($1==$[221]&&!this.getAllowClientContextMenu()){qx.event.handler.EventHandler.stopDomEvent($0);}if($a&&$1==$[14]){qx.event.handler.FocusHandler.mouseFocus=true;var $b=$6.getFocusRoot();if($b){this.setFocusRoot($b);var $c=$6;while(!$c.isFocusable()&&$c!=$b){$c=$c.getParent();}$b.setFocusedChild($c);$b.setActiveChild($6);}}switch($1){case $[65]:case $[106]:$8=qx.event.handler.EventHandler.getRelatedTargetObjectFromEvent($0);if($8==$6){return;}}$3=new qx.event.type.MouseEvent($1,$0,$2,$6,$7,$8);qx.event.type.MouseEvent.storeEventState($3);if($a){var $d=false;$d=$5?$5.dispatchEvent($3):true;this._onmouseevent_special_post($1,$6,$7,$5,$d,$3,$0);}else{if($1==$[65]){if(qx.Class.isDefined($[154])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($3);}}}$3.dispose();$3=null;qx.ui.core.Widget.flushGlobalQueues();if($9){this._onmouseevent_post($0,$[56],this._lastMouseDownDomTarget);this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}},_onmouseevent_special_post:function($0,$1,$2,$3,$4,$5,$6){switch($0){case $[14]:if(qx.Class.isDefined($[168])){qx.ui.popup.PopupManager.getInstance().update($1);}if(qx.Class.isDefined($[155])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[264])){qx.ui.embed.IframeManager.getInstance().handleMouseDown($5);}break;case $[25]:if(qx.Class.isDefined($[155])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[264])){qx.ui.embed.IframeManager.getInstance().handleMouseUp($5);}break;case $[65]:if(qx.Class.isDefined($[154])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($5);}break;case $[106]:if(qx.Class.isDefined($[154])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOut($5);}break;}this._ignoreWindowBlur=$0===$[14];if(qx.Class.isDefined($[239])&&$1){qx.event.handler.DragAndDropHandler.getInstance().handleMouseEvent($5);}},_ondragevent:function($0){if(!$0){$0=window.event;}qx.event.handler.EventHandler.stopDomEvent($0);},_onselectevent:function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getOriginalTargetObjectFromEvent($0);while($1){if($1.getSelectable()!=null){if(!$1.getSelectable()){qx.event.handler.EventHandler.stopDomEvent($0);}break;}$1=$1.getParent();}},_focused:false,_onwindowblur:function($0){if(!this._focused||this._ignoreWindowBlur){return;}this._focused=false;this.setCaptureWidget(null);if(qx.Class.isDefined($[168])){qx.ui.popup.PopupManager.getInstance().update();}if(qx.Class.isDefined($[155])){qx.ui.menu.Manager.getInstance().update();}if(qx.Class.isDefined($[239])){qx.event.handler.DragAndDropHandler.getInstance().globalCancelDrag();}qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[286]);},_onwindowfocus:function($0){if(this._focused){return;}this._focused=true;qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[1487]);},_onwindowresize:function($0){qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[368]);}},destruct:function(){this.detachEvents();this._disposeObjectDeep($[1814],1);this._disposeFields($[981],$[1297],$[1478],$[995],$[1762],$[1705]);this._disposeFields($[1123],$[1225],$[1058],$[1606],$[778]);}}); |
| 61 |
qx.Class.define($[1362],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__onkeypress=qx.lang.Function.bind(this._onkeypress,this);this.__onkeyupdown=qx.lang.Function.bind(this._onkeyupdown,this);},members:{_attachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[21])?window:document.body;qx.html.EventRegistration.addEventListener($0,$[40],this.__onkeypress);qx.html.EventRegistration.addEventListener($0,$[84],this.__onkeyupdown);qx.html.EventRegistration.addEventListener($0,$[16],this.__onkeyupdown);},_detachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[21])?window:document.body;qx.html.EventRegistration.removeEventListener($0,$[40],this.__onkeypress);qx.html.EventRegistration.removeEventListener($0,$[84],this.__onkeyupdown);qx.html.EventRegistration.removeEventListener($0,$[16],this.__onkeyupdown);},_onkeyupdown:qx.core.Variant.select($[1],{"mshtml":function($0){$0=window.event||$0;var $1=$0.keyCode;var $2=0;var $3=$0.type;if(!(this._lastUpDownType[$1]==$[16]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}if($3==$[16]){if(this._isNonPrintableKeyCode($1)||$1==8||$1==9){this._idealKeyHandler($1,$2,$[40],$0);}}this._lastUpDownType[$1]=$3;},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[40]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){var $1=0;var $2=0;var $3=$0.type;if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$3]>63000;if($4){this._lastCharCodeForType[$3]=null;return;}this._lastCharCodeForType[$3]=$0.charCode;}if($3==$[84]||$3==$[16]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode];}else{$2=$0.charCode;}}this._idealKeyHandler($1,$2,$3,$0);},"opera":function($0){this._idealKeyHandler($0.keyCode,0,$0.type,$0);this._lastKeyCode=$0.keyCode;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_onkeypress:qx.core.Variant.select($[1],{"mshtml":function($0){var $0=window.event||$0;if(this._charCode2KeyCode[$0.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[$0.keyCode],0,$0.type,$0);}else{this._idealKeyHandler(0,$0.keyCode,$0.type,$0);}},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[40]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){var $1=0;var $2=0;var $3=$0.type;if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$3]>63000;if($4){this._lastCharCodeForType[$3]=null;return;}this._lastCharCodeForType[$3]=$0.charCode;}if($3==$[84]||$3==$[16]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode];}else{$2=$0.charCode;}}this._idealKeyHandler($1,$2,$3,$0);},"opera":function($0){var $1=$0.keyCode;var $2=$0.type;if($1!=this._lastKeyCode){this._idealKeyHandler(0,this._lastKeyCode,$2,$0);}else{if(this._keyCodeToIdentifierMap[$1]){this._idealKeyHandler($1,0,$2,$0);}else{this._idealKeyHandler(0,$1,$2,$0);}}this._lastKeyCode=$1;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_specialCharCodeMap:{8:$[191],9:$[188],13:$[46],27:$[129],32:$[85]},_keyCodeToIdentifierMap:{16:$[142],17:$[125],18:$[136],20:$[409],224:$[223],37:$[60],38:$[69],39:$[64],40:$[76],33:$[88],34:$[99],35:$[162],36:$[150],45:$[203],46:$[169],112:$[315],113:$[331],114:$[344],115:$[361],116:$[384],117:$[404],118:$[420],119:$[434],120:$[440],121:$[370],122:$[354],123:$[491],144:$[127],44:$[237],145:$[266],19:$[248],91:$[286],93:$[279]},_numpadToCharCode:{96:$[41].charCodeAt(0),97:$[482].charCodeAt(0),98:$[419].charCodeAt(0),99:$[433].charCodeAt(0),100:$[385].charCodeAt(0),101:$[403].charCodeAt(0),102:$[347].charCodeAt(0),103:$[362].charCodeAt(0),104:$[345].charCodeAt(0),105:$[172].charCodeAt(0),106:$[140].charCodeAt(0),107:$[246].charCodeAt(0),109:$[137].charCodeAt(0),110:$[101].charCodeAt(0),111:$[135].charCodeAt(0)},_charCodeA:$[174].charCodeAt(0),_charCodeZ:$[498].charCodeAt(0),_charCode0:$[41].charCodeAt(0),_charCode9:$[172].charCodeAt(0),_isNonPrintableKeyCode:function($0){return this._keyCodeToIdentifierMap[$0]?true:false;},_isIdentifiableKeyCode:function($0){if($0>=this._charCodeA&&$0<=this._charCodeZ){return true;}if($0>=this._charCode0&&$0<=this._charCode9){return true;}if(this._specialCharCodeMap[$0]){return true;}if(this._numpadToCharCode[$0]){return true;}if(this._isNonPrintableKeyCode($0)){return true;}return false;},isValidKeyIdentifier:function($0){if(this._identifierToKeyCodeMap[$0]){return true;}if($0.length!=1){return false;}if($0>=$[41]&&$0<=$[172]){return true;}if($0>=$[174]&&$0<=$[498]){return true;}switch($0){case $[246]:case $[137]:case $[140]:case $[135]:return true;default:return false;}},_keyCodeToIdentifier:function($0){if(this._isIdentifiableKeyCode($0)){var $1=this._numpadToCharCode[$0];if($1){return String.fromCharCode($1);}return (this._keyCodeToIdentifierMap[$0]||this._specialCharCodeMap[$0]||String.fromCharCode($0));}else{return $[212];}},_charCodeToIdentifier:function($0){return this._specialCharCodeMap[$0]||String.fromCharCode($0).toUpperCase();},_identifierToKeyCode:function($0){return this._identifierToKeyCodeMap[$0]||$0.charCodeAt(0);},_idealKeyHandler:function($0,$1,$2,$3){if(!$0&&!$1){return;}var $4;if($0){$4=this._keyCodeToIdentifier($0);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$2,$0,$1,$4);}else{$4=this._charCodeToIdentifier($1);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[40],$0,$1,$4);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[300],$0,$1,$4);}}},defer:function($0,$1,$2){if(!$1._identifierToKeyCodeMap){$1._identifierToKeyCodeMap={};for(var $3 in $1._keyCodeToIdentifierMap){$1._identifierToKeyCodeMap[$1._keyCodeToIdentifierMap[$3]]=parseInt($3);}for(var $3 in $1._specialCharCodeMap){$1._identifierToKeyCodeMap[$1._specialCharCodeMap[$3]]=parseInt($3);}}if(qx.core.Variant.isSet($[1],$[13])){$1._lastUpDownType={};$1._charCode2KeyCode={13:13,27:27};}else if(qx.core.Variant.isSet($[1],$[21])){$1._lastUpDownType={};$1._keyCodeFix={12:$1._identifierToKeyCode($[127])};}else if(qx.core.Variant.isSet($[1],$[147])){$1._charCode2KeyCode={63289:$1._identifierToKeyCode($[127]),63276:$1._identifierToKeyCode($[88]),63277:$1._identifierToKeyCode($[99]),63275:$1._identifierToKeyCode($[162]),63273:$1._identifierToKeyCode($[150]),63234:$1._identifierToKeyCode($[60]),63232:$1._identifierToKeyCode($[69]),63235:$1._identifierToKeyCode($[64]),63233:$1._identifierToKeyCode($[76]),63272:$1._identifierToKeyCode($[169]),63302:$1._identifierToKeyCode($[203]),63236:$1._identifierToKeyCode($[315]),63237:$1._identifierToKeyCode($[331]),63238:$1._identifierToKeyCode($[344]),63239:$1._identifierToKeyCode($[361]),63240:$1._identifierToKeyCode($[384]),63241:$1._identifierToKeyCode($[404]),63242:$1._identifierToKeyCode($[420]),63243:$1._identifierToKeyCode($[434]),63244:$1._identifierToKeyCode($[440]),63245:$1._identifierToKeyCode($[370]),63246:$1._identifierToKeyCode($[354]),63247:$1._identifierToKeyCode($[491]),63248:$1._identifierToKeyCode($[237]),3:$1._identifierToKeyCode($[46]),12:$1._identifierToKeyCode($[127]),13:$1._identifierToKeyCode($[46])};}else if(qx.core.Variant.isSet($[1],$[154])){$1._lastKeyCode=null;}},destruct:function(){this._detachEvents();this._disposeFields($[890],$[1195]);}}); |
61 |
qx.Class.define($[1598],{statics:{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12,getDocument:function($0){if(this.isDocument($0)){return $0;}return $0.ownerDocument||$0.document||null;},getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){return this.getDocument($0).parentWindow;},"default":function($0){return this.getDocument($0).defaultView;}}),getDocumentElement:function($0){return this.getDocument($0).documentElement;},getBodyElement:function($0){return this.getDocument($0).body;},isElement:function($0){return !!($0&&$0.nodeType===qx.dom.Node.ELEMENT);},isDocument:function($0){return !!($0&&$0.nodeType===qx.dom.Node.DOCUMENT);},isText:function($0){return !!($0&&$0.nodeType===qx.dom.Node.TEXT);},isWindow:function($0){return $0.document&&this.getWindow($0.document)==$0;},getText:function($0){if(!$0||!$0.nodeType){return null;}switch($0.nodeType){case 1:var $1,$2=[],$3=$0.childNodes,$4=$3.length;for($1=0;$1<$4;$1++){$2[$1]=this.getText($3[$1]);}return $2.join($[0]);case 2:return $0.nodeValue;break;case 3:return $0.nodeValue;break;}return null;}}}); |
| 62 |
qx.Class.define($[1273],{extend:qx.event.type.Event,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0);this.setDomEvent($1);this.setDomTarget($2);this.setTarget($3);this.setOriginalTarget($4);},statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},properties:{bubbles:{_fast:true,defaultValue:true,noCompute:true},propagationStopped:{_fast:true,defaultValue:false,noCompute:true},domEvent:{_fast:true,setOnlyOnce:true,noCompute:true},domTarget:{_fast:true,setOnlyOnce:true,noCompute:true},modifiers:{_cached:true,defaultValue:null}},members:{_computeModifiers:function(){var $0=0;var $1=this.getDomEvent();if($1.shiftKey)$0|=qx.event.type.DomEvent.SHIFT_MASK;if($1.ctrlKey)$0|=qx.event.type.DomEvent.CTRL_MASK;if($1.altKey)$0|=qx.event.type.DomEvent.ALT_MASK;if($1.metaKey)$0|=qx.event.type.DomEvent.META_MASK;return $0;},isCtrlPressed:function(){return this.getDomEvent().ctrlKey;},isShiftPressed:function(){return this.getDomEvent().shiftKey;},isAltPressed:function(){return this.getDomEvent().altKey;},isMetaPressed:function(){return this.getDomEvent().metaKey;},isCtrlOrCommandPressed:function(){if(qx.core.Client.getInstance().runsOnMacintosh()){return this.getDomEvent().metaKey;}else{return this.getDomEvent().ctrlKey;}},setDefaultPrevented:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);},"default":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().preventDefault();this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);}})},destruct:function(){this._disposeFields($[965],$[1454]);}}); |
62 |
qx.Class.define($[1380],{type:$[20],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._lastUpDownType={};this.__onkeypress=qx.lang.Function.bind(this._onkeypress,this);this.__onkeyupdown=qx.lang.Function.bind(this._onkeyupdown,this);},members:{_attachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[16])?window:document.body;qx.html.EventRegistration.addEventListener($0,$[37],this.__onkeypress);qx.html.EventRegistration.addEventListener($0,$[85],this.__onkeyupdown);qx.html.EventRegistration.addEventListener($0,$[12],this.__onkeyupdown);},_detachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[16])?window:document.body;qx.html.EventRegistration.removeEventListener($0,$[37],this.__onkeypress);qx.html.EventRegistration.removeEventListener($0,$[85],this.__onkeyupdown);qx.html.EventRegistration.removeEventListener($0,$[12],this.__onkeyupdown);},_onkeyupdown:qx.core.Variant.select($[1],{"mshtml":function($0){$0=window.event||$0;var $1=$0.keyCode;var $2=0;var $3=$0.type;if(!(this._lastUpDownType[$1]==$[12]&&$3==$[12])){this._idealKeyHandler($1,$2,$3,$0);}if($3==$[12]){if(this._isNonPrintableKeyCode($1)||$1==8||$1==9){this._idealKeyHandler($1,$2,$[37],$0);}}this._lastUpDownType[$1]=$3;},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[37]&&$3==$[12])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){var $1=0;var $2=$0.type;if(qx.core.Client.getInstance().getVersion()<525.13){var $3=0;if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$2]>63000;if($4){this._lastCharCodeForType[$2]=null;return;}this._lastCharCodeForType[$2]=$0.charCode;}if($2==$[85]||$2==$[12]){$3=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$3=this._charCode2KeyCode[$0.charCode];}else{$1=$0.charCode;}}this._idealKeyHandler($3,$1,$2,$0);}else{var $3=$0.keyCode;if(!(this._lastUpDownType[$3]==$[12]&&$2==$[12])){this._idealKeyHandler($3,$1,$2,$0);}if($2==$[12]){if(this._isNonPrintableKeyCode($3)||$3==8||$3==9){this._idealKeyHandler($3,$1,$[37],$0);}}this._lastUpDownType[$3]=$2;}},"opera":function($0){this._idealKeyHandler($0.keyCode,0,$0.type,$0);this._lastKeyCode=$0.keyCode;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_onkeypress:qx.core.Variant.select($[1],{"mshtml":function($0){var $0=window.event||$0;if(this._charCode2KeyCode[$0.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[$0.keyCode],0,$0.type,$0);}else{this._idealKeyHandler(0,$0.keyCode,$0.type,$0);}},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[37]&&$3==$[12])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){if(qx.core.Client.getInstance().getVersion()<525.13){var $1=0;var $2=0;var $3=$0.type;if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$3]>63000;if($4){this._lastCharCodeForType[$3]=null;return;}this._lastCharCodeForType[$3]=$0.charCode;}if($3==$[85]||$3==$[12]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode];}else{$2=$0.charCode;}}this._idealKeyHandler($1,$2,$3,$0);}else{if(this._charCode2KeyCode[$0.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[$0.keyCode],0,$0.type,$0);}else{this._idealKeyHandler(0,$0.keyCode,$0.type,$0);}}},"opera":function($0){var $1=$0.keyCode;var $2=$0.type;if($1!=this._lastKeyCode){this._idealKeyHandler(0,this._lastKeyCode,$2,$0);}else{if(this._keyCodeToIdentifierMap[$1]){this._idealKeyHandler($1,0,$2,$0);}else{this._idealKeyHandler(0,$1,$2,$0);}}this._lastKeyCode=$1;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_specialCharCodeMap:{8:$[192],9:$[188],13:$[49],27:$[114],32:$[86]},_keyCodeToIdentifierMap:{16:$[146],17:$[130],18:$[140],20:$[416],224:$[226],37:$[64],38:$[71],39:$[67],40:$[78],33:$[88],34:$[100],35:$[164],36:$[153],45:$[204],46:$[171],112:$[321],113:$[337],114:$[351],115:$[366],116:$[389],117:$[410],118:$[429],119:$[442],120:$[448],121:$[375],122:$[360],123:$[499],144:$[132],44:$[241],145:$[269],19:$[250],91:$[289],93:$[282]},_numpadToCharCode:{96:$[45].charCodeAt(0),97:$[490].charCodeAt(0),98:$[427].charCodeAt(0),99:$[441].charCodeAt(0),100:$[390].charCodeAt(0),101:$[409].charCodeAt(0),102:$[354].charCodeAt(0),103:$[367].charCodeAt(0),104:$[352].charCodeAt(0),105:$[174].charCodeAt(0),106:$[144].charCodeAt(0),107:$[199].charCodeAt(0),109:$[141].charCodeAt(0),110:$[102].charCodeAt(0),111:$[99].charCodeAt(0)},_charCodeA:$[176].charCodeAt(0),_charCodeZ:$[505].charCodeAt(0),_charCode0:$[45].charCodeAt(0),_charCode9:$[174].charCodeAt(0),_isNonPrintableKeyCode:function($0){return this._keyCodeToIdentifierMap[$0]?true:false;},_isIdentifiableKeyCode:function($0){if($0>=this._charCodeA&&$0<=this._charCodeZ){return true;}if($0>=this._charCode0&&$0<=this._charCode9){return true;}if(this._specialCharCodeMap[$0]){return true;}if(this._numpadToCharCode[$0]){return true;}if(this._isNonPrintableKeyCode($0)){return true;}return false;},isValidKeyIdentifier:function($0){if(this._identifierToKeyCodeMap[$0]){return true;}if($0.length!=1){return false;}if($0>=$[45]&&$0<=$[174]){return true;}if($0>=$[176]&&$0<=$[505]){return true;}switch($0){case $[199]:case $[141]:case $[144]:case $[99]:return true;default:return false;}},_keyCodeToIdentifier:function($0){if(this._isIdentifiableKeyCode($0)){var $1=this._numpadToCharCode[$0];if($1){return String.fromCharCode($1);}return (this._keyCodeToIdentifierMap[$0]||this._specialCharCodeMap[$0]||String.fromCharCode($0));}else{return $[214];}},_charCodeToIdentifier:function($0){return this._specialCharCodeMap[$0]||String.fromCharCode($0).toUpperCase();},_identifierToKeyCode:function($0){return this._identifierToKeyCodeMap[$0]||$0.charCodeAt(0);},_idealKeyHandler:function($0,$1,$2,$3){if(!$0&&!$1){return;}var $4;if($0){$4=this._keyCodeToIdentifier($0);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$2,$0,$1,$4);}else{$4=this._charCodeToIdentifier($1);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[37],$0,$1,$4);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[304],$0,$1,$4);}}},defer:function($0,$1,$2){if(!$1._identifierToKeyCodeMap){$1._identifierToKeyCodeMap={};for(var $3 in $1._keyCodeToIdentifierMap){$1._identifierToKeyCodeMap[$1._keyCodeToIdentifierMap[$3]]=parseInt($3);}for(var $3 in $1._specialCharCodeMap){$1._identifierToKeyCodeMap[$1._specialCharCodeMap[$3]]=parseInt($3);}}if(qx.core.Variant.isSet($[1],$[13])){$1._charCode2KeyCode={13:13,27:27};}else if(qx.core.Variant.isSet($[1],$[16])){$1._keyCodeFix={12:$1._identifierToKeyCode($[132])};}else if(qx.core.Variant.isSet($[1],$[94])){$1._charCode2KeyCode={63289:$1._identifierToKeyCode($[132]),63276:$1._identifierToKeyCode($[88]),63277:$1._identifierToKeyCode($[100]),63275:$1._identifierToKeyCode($[164]),63273:$1._identifierToKeyCode($[153]),63234:$1._identifierToKeyCode($[64]),63232:$1._identifierToKeyCode($[71]),63235:$1._identifierToKeyCode($[67]),63233:$1._identifierToKeyCode($[78]),63272:$1._identifierToKeyCode($[171]),63302:$1._identifierToKeyCode($[204]),63236:$1._identifierToKeyCode($[321]),63237:$1._identifierToKeyCode($[337]),63238:$1._identifierToKeyCode($[351]),63239:$1._identifierToKeyCode($[366]),63240:$1._identifierToKeyCode($[389]),63241:$1._identifierToKeyCode($[410]),63242:$1._identifierToKeyCode($[429]),63243:$1._identifierToKeyCode($[442]),63244:$1._identifierToKeyCode($[448]),63245:$1._identifierToKeyCode($[375]),63246:$1._identifierToKeyCode($[360]),63247:$1._identifierToKeyCode($[499]),63248:$1._identifierToKeyCode($[241]),3:$1._identifierToKeyCode($[49]),12:$1._identifierToKeyCode($[132]),13:$1._identifierToKeyCode($[49])};}else if(qx.core.Variant.isSet($[1],$[137])){$1._lastKeyCode=null;}},destruct:function(){this._detachEvents();this._disposeFields($[908],$[1218]);}}); |
| 63 |
qx.Class.define($[186],{extend:qx.event.type.DomEvent,construct:function($0,$1,$2,$3,$4,$5,$6,$7){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this._keyCode=$5;this.setCharCode($6);this.setKeyIdentifier($7);},statics:{keys:{esc:27,enter:13,tab:9,space:32,up:38,down:40,left:37,right:39,shift:16,ctrl:17,alt:18,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,print:124,del:46,backspace:8,insert:45,home:36,end:35,pageup:33,pagedown:34,numlock:144,numpad_0:96,numpad_1:97,numpad_2:98,numpad_3:99,numpad_4:100,numpad_5:101,numpad_6:102,numpad_7:103,numpad_8:104,numpad_9:105,numpad_divide:111,numpad_multiply:106,numpad_minus:109,numpad_plus:107},codes:{}},properties:{charCode:{_fast:true,setOnlyOnce:true,noCompute:true},keyIdentifier:{_fast:true,setOnlyOnce:true,noCompute:true}},members:{getKeyCode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[893]);return this._keyCode;}},defer:function($0){for(var $1 in $0.keys){$0.codes[$0.keys[$1]]=$1;}}}); |
63 |
qx.Class.define($[1296],{extend:qx.event.type.Event,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0);this.setDomEvent($1);this.setDomTarget($2);this.setTarget($3);this.setOriginalTarget($4);},statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},properties:{bubbles:{_fast:true,defaultValue:true,noCompute:true},propagationStopped:{_fast:true,defaultValue:false,noCompute:true},domEvent:{_fast:true,setOnlyOnce:true,noCompute:true},domTarget:{_fast:true,setOnlyOnce:true,noCompute:true},modifiers:{_cached:true,defaultValue:null}},members:{_computeModifiers:function(){var $0=0;var $1=this.getDomEvent();if($1.shiftKey)$0|=qx.event.type.DomEvent.SHIFT_MASK;if($1.ctrlKey)$0|=qx.event.type.DomEvent.CTRL_MASK;if($1.altKey)$0|=qx.event.type.DomEvent.ALT_MASK;if($1.metaKey)$0|=qx.event.type.DomEvent.META_MASK;return $0;},isCtrlPressed:function(){return this.getDomEvent().ctrlKey;},isShiftPressed:function(){return this.getDomEvent().shiftKey;},isAltPressed:function(){return this.getDomEvent().altKey;},isMetaPressed:function(){return this.getDomEvent().metaKey;},isCtrlOrCommandPressed:function(){if(qx.core.Client.getInstance().runsOnMacintosh()){return this.getDomEvent().metaKey;}else{return this.getDomEvent().ctrlKey;}},setDefaultPrevented:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);},"default":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().preventDefault();this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);}})},destruct:function(){this._disposeFields($[984],$[1473]);}}); |
| 64 |
qx.Class.define($[87],{extend:qx.event.type.DomEvent,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$1,$2,$3,$4);if($5){this.setRelatedTarget($5);}},statics:{C_BUTTON_LEFT:"left",C_BUTTON_MIDDLE:"middle",C_BUTTON_RIGHT:"right",C_BUTTON_NONE:"none",_screenX:0,_screenY:0,_clientX:0,_clientY:0,_pageX:0,_pageY:0,_button:null,buttons:qx.core.Variant.select($[1],{"mshtml":{left:1,right:2,middle:4},"default":{left:0,right:2,middle:1}}),storeEventState:function($0){this._screenX=$0.getScreenX();this._screenY=$0.getScreenY();this._clientX=$0.getClientX();this._clientY=$0.getClientY();this._pageX=$0.getPageX();this._pageY=$0.getPageY();this._button=$0.getButton();},getScreenX:function(){return this._screenX;},getScreenY:function(){return this._screenY;},getClientX:function(){return this._clientX;},getClientY:function(){return this._clientY;},getPageX:function(){return this._pageX;},getPageY:function(){return this._pageY;},getButton:function(){return this._button;}},properties:{button:{_fast:true,readOnly:true},wheelDelta:{_fast:true,readOnly:true}},members:{getPageX:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientX+qx.bom.Viewport.getScrollLeft(window);},"default":function(){return this.getDomEvent().pageX;}}),getPageY:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientY+qx.bom.Viewport.getScrollTop(window);},"default":function(){return this.getDomEvent().pageY;}}),getClientX:function(){return this.getDomEvent().clientX;},getClientY:function(){return this.getDomEvent().clientY;},getScreenX:function(){return this.getDomEvent().screenX;},getScreenY:function(){return this.getDomEvent().screenY;},isLeftButtonPressed:qx.core.Variant.select($[1],{"mshtml":function(){if(this.getType()==$[53]){return true;}else{return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}},"default":function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}}),isMiddleButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_MIDDLE;},isRightButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT;},__buttons:qx.core.Variant.select($[1],{"mshtml":{1:$[11],2:$[9],4:$[62]},"default":{0:$[11],2:$[9],1:$[62]}}),_computeButton:function(){switch(this.getDomEvent().type){case $[53]:case $[104]:return $[11];case $[219]:return $[9];default:return this.__buttons[this.getDomEvent().button]||$[7];}},_computeWheelDelta:qx.core.Variant.select($[1],{"default":function(){return this.getDomEvent().wheelDelta/120;},"gecko":function(){return -(this.getDomEvent().detail/3);}})}}); |
64 |
qx.Class.define($[186],{extend:qx.event.type.DomEvent,construct:function($0,$1,$2,$3,$4,$5,$6,$7){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this._keyCode=$5;this.setCharCode($6);this.setKeyIdentifier($7);},statics:{keys:{esc:27,enter:13,tab:9,space:32,up:38,down:40,left:37,right:39,shift:16,ctrl:17,alt:18,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,print:124,del:46,backspace:8,insert:45,home:36,end:35,pageup:33,pagedown:34,numlock:144,numpad_0:96,numpad_1:97,numpad_2:98,numpad_3:99,numpad_4:100,numpad_5:101,numpad_6:102,numpad_7:103,numpad_8:104,numpad_9:105,numpad_divide:111,numpad_multiply:106,numpad_minus:109,numpad_plus:107},codes:{}},properties:{charCode:{_fast:true,setOnlyOnce:true,noCompute:true},keyIdentifier:{_fast:true,setOnlyOnce:true,noCompute:true}},members:{getKeyCode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[911]);return this._keyCode;}},defer:function($0){for(var $1 in $0.keys){$0.codes[$0.keys[$1]]=$1;}}}); |
| 65 |
qx.Class.define($[1061],{extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){if(this.getDisposed()){return;}this._objects[$0.toHashCode()]=$0;},remove:function($0){if(this.getDisposed()){return false;}delete this._objects[$0.toHashCode()];},has:function($0){return this._objects[$0.toHashCode()]!=null;},get:function($0){return this._objects[$0.toHashCode()];},getAll:function(){return this._objects;},enableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(true);}},disableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(false);}}},destruct:function(){this._disposeObjectDeep($[497]);}}); |
65 |
qx.Class.define($[87],{extend:qx.event.type.DomEvent,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$1,$2,$3,$4);if($5){this.setRelatedTarget($5);}},statics:{C_BUTTON_LEFT:"left",C_BUTTON_MIDDLE:"middle",C_BUTTON_RIGHT:"right",C_BUTTON_NONE:"none",_screenX:0,_screenY:0,_clientX:0,_clientY:0,_pageX:0,_pageY:0,_button:null,buttons:qx.core.Variant.select($[1],{"mshtml":{left:1,right:2,middle:4},"default":{left:0,right:2,middle:1}}),storeEventState:function($0){this._screenX=$0.getScreenX();this._screenY=$0.getScreenY();this._clientX=$0.getClientX();this._clientY=$0.getClientY();this._pageX=$0.getPageX();this._pageY=$0.getPageY();this._button=$0.getButton();},getScreenX:function(){return this._screenX;},getScreenY:function(){return this._screenY;},getClientX:function(){return this._clientX;},getClientY:function(){return this._clientY;},getPageX:function(){return this._pageX;},getPageY:function(){return this._pageY;},getButton:function(){return this._button;}},properties:{button:{_fast:true,readOnly:true},wheelDelta:{_fast:true,readOnly:true}},members:{getPageX:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientX+qx.bom.Viewport.getScrollLeft(window);},"default":function(){return this.getDomEvent().pageX;}}),getPageY:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientY+qx.bom.Viewport.getScrollTop(window);},"default":function(){return this.getDomEvent().pageY;}}),getClientX:function(){return this.getDomEvent().clientX;},getClientY:function(){return this.getDomEvent().clientY;},getScreenX:function(){return this.getDomEvent().screenX;},getScreenY:function(){return this.getDomEvent().screenY;},isLeftButtonPressed:qx.core.Variant.select($[1],{"mshtml":function(){if(this.getType()==$[56]){return true;}else{return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}},"default":function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}}),isMiddleButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_MIDDLE;},isRightButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT;},__buttons:qx.core.Variant.select($[1],{"mshtml":{1:$[11],2:$[9],4:$[66]},"default":{0:$[11],2:$[9],1:$[66]}}),_computeButton:function(){switch(this.getDomEvent().type){case $[56]:case $[105]:return $[11];case $[221]:return $[9];default:return this.__buttons[this.getDomEvent().button]||$[8];}},_computeWheelDelta:qx.core.Variant.select($[1],{"default":function(){return this.getDomEvent().wheelDelta/120;},"gecko":function(){return -(this.getDomEvent().detail/3);}})}}); |
| 66 |
qx.Class.define($[262],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this._blocked={};},members:{handleMouseDown:function($0){var $1=this._blockData=qx.lang.Object.copy(this.getAll());for(var $2 in $1){$1[$2].block();}},handleMouseUp:function($0){var $1=this._blockData;for(var $2 in $1){$1[$2].release();}}}}); |
66 |
qx.Class.define($[1079],{extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){if(this.getDisposed()){return;}this._objects[$0.toHashCode()]=$0;},remove:function($0){if(this.getDisposed()){return false;}delete this._objects[$0.toHashCode()];},has:function($0){return this._objects[$0.toHashCode()]!=null;},get:function($0){return this._objects[$0.toHashCode()];},getAll:function(){return this._objects;},enableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(true);}},disableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(false);}}},destruct:function(){this._disposeObjectDeep($[478]);}}); |
| 67 |
qx.Class.define($[1339],{extend:qx.ui.core.Parent,construct:function(){arguments.callee.base.call(this);},members:{_createLayoutImpl:function(){return new qx.ui.layout.impl.CanvasLayoutImpl(this);}}}); |
67 |
qx.Class.define($[264],{type:$[20],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this._blocked={};},members:{handleMouseDown:function($0){var $1=this._blockData=qx.lang.Object.copy(this.getAll());for(var $2 in $1){$1[$2].block();}},handleMouseUp:function($0){var $1=this._blockData;for(var $2 in $1){$1[$2].release();}}},destruct:function(){this._disposeFields($[870],$[875]);}}); |
| 68 |
qx.Class.define($[795],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this._widget=$0;},members:{getWidget:function(){return this._widget;},computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildNeededWidth:function($0){var $1=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue();var $2=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue();var $3=($0._computedWidthTypePercent||$0._computedWidthTypeFlex?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginLeft()+$0.getMarginRight();},computeChildNeededHeight:function($0){var $1=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue();var $2=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue();var $3=($0._computedHeightTypePercent||$0._computedHeightTypeFlex?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginTop()+$0.getMarginBottom();},computeChildrenNeededWidth_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededWidth());}return $3;},computeChildrenNeededHeight_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededHeight());}return $3;},computeChildrenNeededWidth_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededWidth();}return $3;},computeChildrenNeededHeight_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededHeight();}return $3;},computeChildrenNeededWidth:null,computeChildrenNeededHeight:null,updateSelfOnChildOuterWidthChange:function($0){},updateSelfOnChildOuterHeightChange:function($0){},updateChildOnInnerWidthChange:function($0){},updateChildOnInnerHeightChange:function($0){},updateSelfOnJobQueueFlush:function($0){},updateChildrenOnJobQueueFlush:function($0){},updateChildrenOnAddChild:function($0,$1){},updateChildrenOnRemoveChild:function($0,$1){},updateChildrenOnMoveChild:function($0,$1,$2){},flushChildrenQueue:function($0){var $1=this.getWidget();for(var $2 in $0){$1._layoutChild($0[$2]);}},layoutChild:function($0,$1){},layoutChild_sizeLimitX:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minWidth){$0._computedMinWidthTypeNull?$0._resetRuntimeMinWidth():$0._renderRuntimeMinWidth($0.getMinWidthValue());}else if($1.initial&&!$0._computedMinWidthTypeNull){$0._renderRuntimeMinWidth($0.getMinWidthValue());}if($1.maxWidth){$0._computedMaxWidthTypeNull?$0._resetRuntimeMaxWidth():$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}else if($1.initial&&!$0._computedMaxWidthTypeNull){$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}}}),layoutChild_sizeLimitY:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minHeight){$0._computedMinHeightTypeNull?$0._resetRuntimeMinHeight():$0._renderRuntimeMinHeight($0.getMinHeightValue());}else if($1.initial&&!$0._computedMinHeightTypeNull){$0._renderRuntimeMinHeight($0.getMinHeightValue());}if($1.maxHeight){$0._computedMaxHeightTypeNull?$0._resetRuntimeMaxHeight():$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}else if($1.initial&&!$0._computedMaxHeightTypeNull){$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}}}),layoutChild_marginX:function($0,$1){if($1.marginLeft||$1.initial){var $2=$0.getMarginLeft();$2!=null?$0._renderRuntimeMarginLeft($2):$0._resetRuntimeMarginLeft();}if($1.marginRight||$1.initial){var $3=$0.getMarginRight();$3!=null?$0._renderRuntimeMarginRight($3):$0._resetRuntimeMarginRight();}},layoutChild_marginY:function($0,$1){if($1.marginTop||$1.initial){var $2=$0.getMarginTop();$2!=null?$0._renderRuntimeMarginTop($2):$0._resetRuntimeMarginTop();}if($1.marginBottom||$1.initial){var $3=$0.getMarginBottom();$3!=null?$0._renderRuntimeMarginBottom($3):$0._resetRuntimeMarginBottom();}},layoutChild_sizeX_essentialWrapper:function($0,$1){return $0._isWidthEssential()?this.layoutChild_sizeX($0,$1):$0._resetRuntimeWidth();},layoutChild_sizeY_essentialWrapper:function($0,$1){return $0._isHeightEssential()?this.layoutChild_sizeY($0,$1):$0._resetRuntimeHeight();}},defer:function($0,$1){$1.computeChildrenNeededWidth=$1.computeChildrenNeededWidth_max;$1.computeChildrenNeededHeight=$1.computeChildrenNeededHeight_max;},destruct:function(){this._disposeFields($[1186]);}}); |
68 |
qx.Class.define($[1359],{extend:qx.ui.core.Parent,construct:function(){arguments.callee.base.call(this);},members:{_createLayoutImpl:function(){return new qx.ui.layout.impl.CanvasLayoutImpl(this);}}}); |
| 69 |
qx.Class.define($[1713],{statics:{isInRange:function($0,$1,$2){return $0>=$1&&$0<=$2;},isBetweenRange:function($0,$1,$2){return $0>$1&&$0<$2;},limit:function($0,$1,$2){if(typeof $2===$[50]&&$0>$2){return $2;}else if(typeof $1===$[50]&&$0<$1){return $1;}else{return $0;}}}}); |
69 |
qx.Class.define($[810],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this._widget=$0;},members:{getWidget:function(){return this._widget;},computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildNeededWidth:function($0){var $1=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue();var $2=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue();var $3=($0._computedWidthTypePercent||$0._computedWidthTypeFlex?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginLeft()+$0.getMarginRight();},computeChildNeededHeight:function($0){var $1=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue();var $2=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue();var $3=($0._computedHeightTypePercent||$0._computedHeightTypeFlex?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginTop()+$0.getMarginBottom();},computeChildrenNeededWidth_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededWidth());}return $3;},computeChildrenNeededHeight_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededHeight());}return $3;},computeChildrenNeededWidth_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededWidth();}return $3;},computeChildrenNeededHeight_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededHeight();}return $3;},computeChildrenNeededWidth:null,computeChildrenNeededHeight:null,updateSelfOnChildOuterWidthChange:function($0){},updateSelfOnChildOuterHeightChange:function($0){},updateChildOnInnerWidthChange:function($0){},updateChildOnInnerHeightChange:function($0){},updateSelfOnJobQueueFlush:function($0){},updateChildrenOnJobQueueFlush:function($0){},updateChildrenOnAddChild:function($0,$1){},updateChildrenOnRemoveChild:function($0,$1){},updateChildrenOnMoveChild:function($0,$1,$2){},flushChildrenQueue:function($0){var $1=this.getWidget();for(var $2 in $0){$1._layoutChild($0[$2]);}},layoutChild:function($0,$1){},layoutChild_sizeLimitX:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minWidth){$0._computedMinWidthTypeNull?$0._resetRuntimeMinWidth():$0._renderRuntimeMinWidth($0.getMinWidthValue());}else if($1.initial&&!$0._computedMinWidthTypeNull){$0._renderRuntimeMinWidth($0.getMinWidthValue());}if($1.maxWidth){$0._computedMaxWidthTypeNull?$0._resetRuntimeMaxWidth():$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}else if($1.initial&&!$0._computedMaxWidthTypeNull){$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}}}),layoutChild_sizeLimitY:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minHeight){$0._computedMinHeightTypeNull?$0._resetRuntimeMinHeight():$0._renderRuntimeMinHeight($0.getMinHeightValue());}else if($1.initial&&!$0._computedMinHeightTypeNull){$0._renderRuntimeMinHeight($0.getMinHeightValue());}if($1.maxHeight){$0._computedMaxHeightTypeNull?$0._resetRuntimeMaxHeight():$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}else if($1.initial&&!$0._computedMaxHeightTypeNull){$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}}}),layoutChild_marginX:function($0,$1){if($1.marginLeft||$1.initial){var $2=$0.getMarginLeft();$2!=null?$0._renderRuntimeMarginLeft($2):$0._resetRuntimeMarginLeft();}if($1.marginRight||$1.initial){var $3=$0.getMarginRight();$3!=null?$0._renderRuntimeMarginRight($3):$0._resetRuntimeMarginRight();}},layoutChild_marginY:function($0,$1){if($1.marginTop||$1.initial){var $2=$0.getMarginTop();$2!=null?$0._renderRuntimeMarginTop($2):$0._resetRuntimeMarginTop();}if($1.marginBottom||$1.initial){var $3=$0.getMarginBottom();$3!=null?$0._renderRuntimeMarginBottom($3):$0._resetRuntimeMarginBottom();}},layoutChild_sizeX_essentialWrapper:function($0,$1){return $0._isWidthEssential()?this.layoutChild_sizeX($0,$1):$0._resetRuntimeWidth();},layoutChild_sizeY_essentialWrapper:function($0,$1){return $0._isHeightEssential()?this.layoutChild_sizeY($0,$1):$0._resetRuntimeHeight();}},defer:function($0,$1){$1.computeChildrenNeededWidth=$1.computeChildrenNeededWidth_max;$1.computeChildrenNeededHeight=$1.computeChildrenNeededHeight_max;},destruct:function(){this._disposeFields($[1208]);}}); |
| 70 |
qx.Class.define($[1792],{extend:qx.ui.layout.impl.LayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);},members:{computeChildBoxWidth:function($0){var $1=null;if($0._computedLeftTypeNull||$0._computedRightTypeNull){$1=$0.getWidthValue();}else if($0._hasParent){$1=this.getWidget().getInnerWidth()-$0.getLeftValue()-$0.getRightValue();}return $1||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){var $1=null;if($0._computedTopTypeNull||$0._computedBottomTypeNull){$1=$0.getHeightValue();}else if($0._hasParent){$1=this.getWidget().getInnerHeight()-$0.getTopValue()-$0.getBottomValue();}return $1||$0._computeBoxHeightFallback();},computeChildNeededWidth:function($0){var $1=$0._computedLeftTypePercent?null:$0.getLeftValue();var $2=$0._computedRightTypePercent?null:$0.getRightValue();var $3=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue();var $4=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue();if($1!=null&&$2!=null){var $5=$0.getPreferredBoxWidth()||0;}else{var $5=($0._computedWidthTypePercent?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0;}return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginLeft()+$0.getMarginRight();},computeChildNeededHeight:function($0){var $1=$0._computedTopTypePercent?null:$0.getTopValue();var $2=$0._computedBottomTypePercent?null:$0.getBottomValue();var $3=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue();var $4=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue();if($1!=null&&$2!=null){var $5=$0.getPreferredBoxHeight()||0;}else{var $5=($0._computedHeightTypePercent?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0;}return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginTop()+$0.getMarginBottom();},updateChildOnInnerWidthChange:function($0){var $1=$0._recomputePercentX();var $2=$0._recomputeRangeX();return $1||$2;},updateChildOnInnerHeightChange:function($0){var $1=$0._recomputePercentY();var $2=$0._recomputeRangeY();return $1||$2;},layoutChild:function($0,$1){this.layoutChild_sizeX_essentialWrapper($0,$1);this.layoutChild_sizeY_essentialWrapper($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right){if($0._computedMinWidthTypeNull&&$0._computedWidthTypeNull&&$0._computedMaxWidthTypeNull&&!(!$0._computedLeftTypeNull&&!$0._computedRightTypeNull)){$0._resetRuntimeWidth();}else{$0._renderRuntimeWidth($0.getBoxWidth());}}},"default":function($0,$1){if($1.initial||$1.width){$0._computedWidthTypeNull?$0._resetRuntimeWidth():$0._renderRuntimeWidth($0.getWidthValue());}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom){if($0._computedMinHeightTypeNull&&$0._computedHeightTypeNull&&$0._computedMaxHeightTypeNull&&!(!$0._computedTopTypeNull&&!$0._computedBottomTypeNull)){$0._resetRuntimeHeight();}else{$0._renderRuntimeHeight($0.getBoxHeight());}}},"default":function($0,$1){if($1.initial||$1.height){$0._computedHeightTypeNull?$0._resetRuntimeHeight():$0._renderRuntimeHeight($0.getHeightValue());}}}),layoutChild_locationX:function($0,$1){var $2=this.getWidget();if($1.initial||$1.left||$1.parentPaddingLeft){$0._computedLeftTypeNull?$0._computedRightTypeNull&&$2.getPaddingLeft()>0?$0._renderRuntimeLeft($2.getPaddingLeft()):$0._resetRuntimeLeft():$0._renderRuntimeLeft($0.getLeftValue()+$2.getPaddingLeft());}if($1.initial||$1.right||$1.parentPaddingRight){$0._computedRightTypeNull?$0._computedLeftTypeNull&&$2.getPaddingRight()>0?$0._renderRuntimeRight($2.getPaddingRight()):$0._resetRuntimeRight():$0._renderRuntimeRight($0.getRightValue()+$2.getPaddingRight());}},layoutChild_locationY:function($0,$1){var $2=this.getWidget();if($1.initial||$1.top||$1.parentPaddingTop){$0._computedTopTypeNull?$0._computedBottomTypeNull&&$2.getPaddingTop()>0?$0._renderRuntimeTop($2.getPaddingTop()):$0._resetRuntimeTop():$0._renderRuntimeTop($0.getTopValue()+$2.getPaddingTop());}if($1.initial||$1.bottom||$1.parentPaddingBottom){$0._computedBottomTypeNull?$0._computedTopTypeNull&&$2.getPaddingBottom()>0?$0._renderRuntimeBottom($2.getPaddingBottom()):$0._resetRuntimeBottom():$0._renderRuntimeBottom($0.getBottomValue()+$2.getPaddingBottom());}}}}); |
70 |
qx.Class.define($[1734],{statics:{isInRange:function($0,$1,$2){return $0>=$1&&$0<=$2;},isBetweenRange:function($0,$1,$2){return $0>$1&&$0<$2;},limit:function($0,$1,$2){if(typeof $2===$[52]&&$0>$2){return $2;}else if(typeof $1===$[52]&&$0<$1){return $1;}else{return $0;}}}}); |
| 71 |
qx.Class.define($[1060],{type:$[18],extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this._window=window;this._document=window.document;this.setElement(this._document.body);this._document.body.style.position=$[0];if(qx.core.Variant.isSet($[1],$[13])&&(qx.core.Client.getInstance().getMajor()<7)){try{document.execCommand($[1748],false,true);}catch(err){}}this._cachedInnerWidth=this._document.body.offsetWidth;this._cachedInnerHeight=this._document.body.offsetHeight;this.addEventListener($[363],this._onwindowresize);this._modalWidgets=[];this._modalNativeWindow=null;this.activateFocusRoot();this.initHideFocus();this.initSelectable();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);},events:{"focus":$[4],"windowblur":$[4],"windowfocus":$[4],"windowresize":$[4]},properties:{appearance:{refine:true,init:$[933]},enableElementFocus:{refine:true,init:false},enabled:{refine:true,init:true},selectable:{refine:true,init:false},hideFocus:{refine:true,init:true},globalCursor:{check:$[6],nullable:true,themeable:true,apply:$[1043],event:$[1499]}},members:{_applyParent:qx.lang.Function.returnTrue,getTopLevelWidget:qx.lang.Function.returnThis,getWindowElement:function(){return this._window;},getDocumentElement:function(){return this._document;},getParent:qx.lang.Function.returnNull,getToolTip:qx.lang.Function.returnNull,isMaterialized:qx.lang.Function.returnTrue,isSeeable:qx.lang.Function.returnTrue,_isDisplayable:true,_hasParent:false,_initialLayoutDone:true,_getBlocker:function(){if(!this._blocker){this._blocker=new qx.ui.core.ClientDocumentBlocker;this._blocker.addEventListener($[12],this.blockHelper,this);this._blocker.addEventListener($[22],this.blockHelper,this);this.add(this._blocker);}return this._blocker;},blockHelper:function($0){if(this._modalNativeWindow){if(!this._modalNativeWindow.isClosed()){this._modalNativeWindow.focus();}else{this.debug("Window seems to be closed already! => Releasing Blocker");this.release(this._modalNativeWindow);}}},block:function($0){this._getBlocker().show();if(qx.Class.isDefined($[503])&&$0 instanceof qx.ui.window.Window){this._modalWidgets.push($0);var $1=$0.getZIndex();this._getBlocker().setZIndex($1);$0.setZIndex($1+1);}else if(qx.Class.isDefined($[529])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=$0;this._getBlocker().setZIndex(1e7);}},release:function($0){if($0){if(qx.Class.isDefined($[529])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=null;}else{qx.lang.Array.remove(this._modalWidgets,$0);}}var $1=this._modalWidgets.length;if($1==0){this._getBlocker().hide();}else{var $2=this._modalWidgets[$1-1];var $3=$2.getZIndex();this._getBlocker().setZIndex($3);$2.setZIndex($3+1);}},createStyleElement:function($0){return qx.html.StyleSheet.createElement($0);},addCssRule:function($0,$1,$2){return qx.html.StyleSheet.addRule($0,$1,$2);},removeCssRule:function($0,$1){return qx.html.StyleSheet.removeRule($0,$1);},removeAllCssRules:function($0){return qx.html.StyleSheet.removeAllRules($0);},_applyGlobalCursor:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==$[292]){$0=$[204];}if($1==$[292]){$1=$[204];}var $2,$3;var $4=this._cursorElements;if($4){for(var $5=0,$6=$4.length;$5<$6;$5++){$2=$4[$5];if($2.style.cursor==$1){$2.style.cursor=$2._oldCursor;$2._oldCursor=null;}}}var $7=document.all;var $4=this._cursorElements=[];if($0!=null&&$0!=$[0]&&$0!=$[3]){for(var $5=0,$6=$7.length;$5<$6;$5++){$2=$7[$5];$3=$2.style.cursor;if($3!=null&&$3!=$[0]&&$3!=$[3]){$2._oldCursor=$3;$2.style.cursor=$0;$4.push($2);}}document.body.style.cursor=$0;}else{document.body.style.cursor=$[0];}},"default":function($0,$1){if(!this._globalCursorStyleSheet){this._globalCursorStyleSheet=this.createStyleElement();}this.removeCssRule(this._globalCursorStyleSheet,$[140]);if($0){this.addCssRule(this._globalCursorStyleSheet,$[140],$[627]+$0+$[765]);}}}),_onwindowresize:function($0){if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update();}this._recomputeInnerWidth();this._recomputeInnerHeight();qx.ui.core.Widget.flushGlobalQueues();},_computeInnerWidth:function(){return this._document.body.offsetWidth;},_computeInnerHeight:function(){return this._document.body.offsetHeight;}},settings:{"qx.enableApplicationLayout":true,"qx.boxModelCorrection":true},defer:function(){if(qx.core.Setting.get($[639])){var $0=qx.core.Client.getInstance().getEngineBoxSizingAttributes();var $1=$0.join($[366])+$[366];var $2=$0.join($[346])+$[346];qx.html.StyleSheet.createElement($[759]+$[1343]+$[1553]+$1+$[1433]+$[1762]+$2+$[277]);}if(qx.core.Setting.get($[1699])){qx.html.StyleSheet.createElement($[1770]);}},destruct:function(){this._disposeObjects($[490]);this._disposeFields($[1133],$[1155],$[1575],$[1446],$[1611]);}}); |
71 |
qx.Class.define($[1812],{extend:qx.ui.layout.impl.LayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);},members:{computeChildBoxWidth:function($0){var $1=null;if($0._computedLeftTypeNull||$0._computedRightTypeNull){$1=$0.getWidthValue();}else if($0._hasParent){$1=this.getWidget().getInnerWidth()-$0.getLeftValue()-$0.getRightValue();}return $1||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){var $1=null;if($0._computedTopTypeNull||$0._computedBottomTypeNull){$1=$0.getHeightValue();}else if($0._hasParent){$1=this.getWidget().getInnerHeight()-$0.getTopValue()-$0.getBottomValue();}return $1||$0._computeBoxHeightFallback();},computeChildNeededWidth:function($0){var $1=$0._computedLeftTypePercent?null:$0.getLeftValue();var $2=$0._computedRightTypePercent?null:$0.getRightValue();var $3=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue();var $4=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue();if($1!=null&&$2!=null){var $5=$0.getPreferredBoxWidth()||0;}else{var $5=($0._computedWidthTypePercent?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0;}return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginLeft()+$0.getMarginRight();},computeChildNeededHeight:function($0){var $1=$0._computedTopTypePercent?null:$0.getTopValue();var $2=$0._computedBottomTypePercent?null:$0.getBottomValue();var $3=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue();var $4=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue();if($1!=null&&$2!=null){var $5=$0.getPreferredBoxHeight()||0;}else{var $5=($0._computedHeightTypePercent?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0;}return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginTop()+$0.getMarginBottom();},updateChildOnInnerWidthChange:function($0){var $1=$0._recomputePercentX();var $2=$0._recomputeRangeX();return $1||$2;},updateChildOnInnerHeightChange:function($0){var $1=$0._recomputePercentY();var $2=$0._recomputeRangeY();return $1||$2;},layoutChild:function($0,$1){this.layoutChild_sizeX_essentialWrapper($0,$1);this.layoutChild_sizeY_essentialWrapper($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right){if($0._computedMinWidthTypeNull&&$0._computedWidthTypeNull&&$0._computedMaxWidthTypeNull&&!(!$0._computedLeftTypeNull&&!$0._computedRightTypeNull)){$0._resetRuntimeWidth();}else{$0._renderRuntimeWidth($0.getBoxWidth());}}},"default":function($0,$1){if($1.initial||$1.width){$0._computedWidthTypeNull?$0._resetRuntimeWidth():$0._renderRuntimeWidth($0.getWidthValue());}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom){if($0._computedMinHeightTypeNull&&$0._computedHeightTypeNull&&$0._computedMaxHeightTypeNull&&!(!$0._computedTopTypeNull&&!$0._computedBottomTypeNull)){$0._resetRuntimeHeight();}else{$0._renderRuntimeHeight($0.getBoxHeight());}}},"default":function($0,$1){if($1.initial||$1.height){$0._computedHeightTypeNull?$0._resetRuntimeHeight():$0._renderRuntimeHeight($0.getHeightValue());}}}),layoutChild_locationX:function($0,$1){var $2=this.getWidget();if($1.initial||$1.left||$1.parentPaddingLeft){$0._computedLeftTypeNull?$0._computedRightTypeNull&&$2.getPaddingLeft()>0?$0._renderRuntimeLeft($2.getPaddingLeft()):$0._resetRuntimeLeft():$0._renderRuntimeLeft($0.getLeftValue()+$2.getPaddingLeft());}if($1.initial||$1.right||$1.parentPaddingRight){$0._computedRightTypeNull?$0._computedLeftTypeNull&&$2.getPaddingRight()>0?$0._renderRuntimeRight($2.getPaddingRight()):$0._resetRuntimeRight():$0._renderRuntimeRight($0.getRightValue()+$2.getPaddingRight());}},layoutChild_locationY:function($0,$1){var $2=this.getWidget();if($1.initial||$1.top||$1.parentPaddingTop){$0._computedTopTypeNull?$0._computedBottomTypeNull&&$2.getPaddingTop()>0?$0._renderRuntimeTop($2.getPaddingTop()):$0._resetRuntimeTop():$0._renderRuntimeTop($0.getTopValue()+$2.getPaddingTop());}if($1.initial||$1.bottom||$1.parentPaddingBottom){$0._computedBottomTypeNull?$0._computedTopTypeNull&&$2.getPaddingBottom()>0?$0._renderRuntimeBottom($2.getPaddingBottom()):$0._resetRuntimeBottom():$0._renderRuntimeBottom($0.getBottomValue()+$2.getPaddingBottom());}}}}); |
| 72 |
qx.Class.define($[1238],{extend:qx.ui.core.Widget,members:{renderPadding:function($0){if($0.paddingLeft){this._renderRuntimePaddingLeft(this.getPaddingLeft());}if($0.paddingRight){this._renderRuntimePaddingRight(this.getPaddingRight());}if($0.paddingTop){this._renderRuntimePaddingTop(this.getPaddingTop());}if($0.paddingBottom){this._renderRuntimePaddingBottom(this.getPaddingBottom());}},_renderContent:function(){if(this._computedWidthTypePixel){this._cachedPreferredInnerWidth=null;}else{this._invalidatePreferredInnerWidth();}if(this._computedHeightTypePixel){this._cachedPreferredInnerHeight=null;}else{this._invalidatePreferredInnerHeight();}if(this._initialLayoutDone){this.addToJobQueue($[82]);}},_layoutPost:function($0){if($0.initial||$0.load||$0.width||$0.height){this._postApply();}},_postApply:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return this.getPreferredBoxWidth();},_computeBoxHeightFallback:function(){return this.getPreferredBoxHeight();},_computePreferredInnerWidth:qx.lang.Function.returnZero,_computePreferredInnerHeight:qx.lang.Function.returnZero,_isWidthEssential:function(){if(!this._computedLeftTypeNull&&!this._computedRightTypeNull){return true;}if(!this._computedWidthTypeNull&&!this._computedWidthTypeAuto){return true;}if(!this._computedMinWidthTypeNull&&!this._computedMinWidthTypeAuto){return true;}if(!this._computedMaxWidthTypeNull&&!this._computedMaxWidthTypeAuto){return true;}if(this._borderElement){return true;}return false;},_isHeightEssential:function(){if(!this._computedTopTypeNull&&!this._computedBottomTypeNull){return true;}if(!this._computedHeightTypeNull&&!this._computedHeightTypeAuto){return true;}if(!this._computedMinHeightTypeNull&&!this._computedMinHeightTypeAuto){return true;}if(!this._computedMaxHeightTypeNull&&!this._computedMaxHeightTypeAuto){return true;}if(this._borderElement){return true;}return false;}}}); |
72 |
qx.Class.define($[1078],{type:$[20],extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this._window=window;this._document=window.document;this.setElement(this._document.body);this._document.body.style.position=$[0];if(qx.core.Variant.isSet($[1],$[13])&&(qx.core.Client.getInstance().getMajor()<7)){try{document.execCommand($[1768],false,true);}catch(err){}}this._cachedInnerWidth=this._document.body.offsetWidth;this._cachedInnerHeight=this._document.body.offsetHeight;this.addEventListener($[368],this._onwindowresize);this._modalWidgets=[];this._modalNativeWindow=null;this.activateFocusRoot();this.initHideFocus();this.initSelectable();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);},events:{"focus":$[4],"windowblur":$[4],"windowfocus":$[4],"windowresize":$[4]},properties:{appearance:{refine:true,init:$[953]},enableElementFocus:{refine:true,init:false},enabled:{refine:true,init:true},selectable:{refine:true,init:false},hideFocus:{refine:true,init:true},globalCursor:{check:$[6],nullable:true,themeable:true,apply:$[1061],event:$[1520]}},members:{_applyParent:qx.lang.Function.returnTrue,getTopLevelWidget:qx.lang.Function.returnThis,getWindowElement:function(){return this._window;},getDocumentElement:function(){return this._document;},getParent:qx.lang.Function.returnNull,getToolTip:qx.lang.Function.returnNull,isMaterialized:qx.lang.Function.returnTrue,isSeeable:qx.lang.Function.returnTrue,_isDisplayable:true,_hasParent:false,_initialLayoutDone:true,_getBlocker:function(){if(!this._blocker){this._blocker=new qx.ui.core.ClientDocumentBlocker;this._blocker.addEventListener($[14],this.blockHelper,this);this._blocker.addEventListener($[25],this.blockHelper,this);this.add(this._blocker);}return this._blocker;},blockHelper:function($0){if(this._modalNativeWindow){if(!this._modalNativeWindow.isClosed()){this._modalNativeWindow.focus();}else{this.debug("Window seems to be closed already! => Releasing Blocker");this.release(this._modalNativeWindow);}}},block:function($0){this._getBlocker().show();if(qx.Class.isDefined($[510])&&$0 instanceof qx.ui.window.Window){this._modalWidgets.push($0);var $1=$0.getZIndex();this._getBlocker().setZIndex($1);$0.setZIndex($1+1);}else if(qx.Class.isDefined($[536])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=$0;this._getBlocker().setZIndex(1e7);}},release:function($0){if($0){if(qx.Class.isDefined($[536])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=null;}else{qx.lang.Array.remove(this._modalWidgets,$0);}}var $1=this._modalWidgets.length;if($1==0){this._getBlocker().hide();}else{var $2=this._modalWidgets[$1-1];var $3=$2.getZIndex();this._getBlocker().setZIndex($3);$2.setZIndex($3+1);}},createStyleElement:function($0){return qx.html.StyleSheet.createElement($0);},addCssRule:function($0,$1,$2){return qx.html.StyleSheet.addRule($0,$1,$2);},removeCssRule:function($0,$1){return qx.html.StyleSheet.removeRule($0,$1);},removeAllCssRules:function($0){return qx.html.StyleSheet.removeAllRules($0);},_applyGlobalCursor:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==$[295]){$0=$[205];}if($1==$[295]){$1=$[205];}var $2,$3;var $4=this._cursorElements;if($4){for(var $5=0,$6=$4.length;$5<$6;$5++){$2=$4[$5];if($2.style.cursor==$1){$2.style.cursor=$2._oldCursor;$2._oldCursor=null;}}}var $7=document.all;var $4=this._cursorElements=[];if($0!=null&&$0!=$[0]&&$0!=$[3]){for(var $5=0,$6=$7.length;$5<$6;$5++){$2=$7[$5];$3=$2.style.cursor;if($3!=null&&$3!=$[0]&&$3!=$[3]){$2._oldCursor=$3;$2.style.cursor=$0;$4.push($2);}}document.body.style.cursor=$0;}else{document.body.style.cursor=$[0];}},"default":function($0,$1){if(!this._globalCursorStyleSheet){this._globalCursorStyleSheet=this.createStyleElement();}this.removeCssRule(this._globalCursorStyleSheet,$[144]);if($0){this.addCssRule(this._globalCursorStyleSheet,$[144],$[640]+$0+$[777]);}}}),_onwindowresize:function($0){if(qx.Class.isDefined($[168])){qx.ui.popup.PopupManager.getInstance().update();}this._recomputeInnerWidth();this._recomputeInnerHeight();qx.ui.core.Widget.flushGlobalQueues();},_computeInnerWidth:function(){return this._document.body.offsetWidth;},_computeInnerHeight:function(){return this._document.body.offsetHeight;}},settings:{"qx.enableApplicationLayout":true,"qx.boxModelCorrection":true},defer:function(){if(qx.core.Setting.get($[652])){var $0=qx.core.Client.getInstance().getEngineBoxSizingAttributes();var $1=$0.join($[371])+$[371];var $2=$0.join($[353])+$[353];qx.html.StyleSheet.createElement($[771]+$[1363]+$[1574]+$1+$[1451]+$[1782]+$2+$[279]);}if(qx.core.Setting.get($[1720])){qx.html.StyleSheet.createElement($[1790]);}},destruct:function(){this._disposeObjects($[498]);this._disposeFields($[1151],$[1174],$[1597],$[1465],$[1634]);}}); |
| 73 |
qx.Class.define($[1599],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.initTop();this.initLeft();this.initWidth();this.initHeight();this.initZIndex();},properties:{appearance:{refine:true,init:$[731]},zIndex:{refine:true,init:1e8},top:{refine:true,init:0},left:{refine:true,init:0},width:{refine:true,init:$[56]},height:{refine:true,init:$[56]},display:{refine:true,init:false}},members:{getFocusRoot:function(){return null;}}}); |
73 |
qx.Class.define($[1261],{extend:qx.ui.core.Widget,members:{renderPadding:function($0){if($0.paddingLeft){this._renderRuntimePaddingLeft(this.getPaddingLeft());}if($0.paddingRight){this._renderRuntimePaddingRight(this.getPaddingRight());}if($0.paddingTop){this._renderRuntimePaddingTop(this.getPaddingTop());}if($0.paddingBottom){this._renderRuntimePaddingBottom(this.getPaddingBottom());}},_renderContent:function(){if(this._computedWidthTypePixel){this._cachedPreferredInnerWidth=null;}else{this._invalidatePreferredInnerWidth();}if(this._computedHeightTypePixel){this._cachedPreferredInnerHeight=null;}else{this._invalidatePreferredInnerHeight();}if(this._initialLayoutDone){this.addToJobQueue($[83]);}},_layoutPost:function($0){if($0.initial||$0.load||$0.width||$0.height){this._postApply();}},_postApply:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return this.getPreferredBoxWidth();},_computeBoxHeightFallback:function(){return this.getPreferredBoxHeight();},_computePreferredInnerWidth:qx.lang.Function.returnZero,_computePreferredInnerHeight:qx.lang.Function.returnZero,_isWidthEssential:function(){if(!this._computedLeftTypeNull&&!this._computedRightTypeNull){return true;}if(!this._computedWidthTypeNull&&!this._computedWidthTypeAuto){return true;}if(!this._computedMinWidthTypeNull&&!this._computedMinWidthTypeAuto){return true;}if(!this._computedMaxWidthTypeNull&&!this._computedMaxWidthTypeAuto){return true;}if(this._borderElement){return true;}return false;},_isHeightEssential:function(){if(!this._computedTopTypeNull&&!this._computedBottomTypeNull){return true;}if(!this._computedHeightTypeNull&&!this._computedHeightTypeAuto){return true;}if(!this._computedMinHeightTypeNull&&!this._computedMinHeightTypeAuto){return true;}if(!this._computedMaxHeightTypeNull&&!this._computedMaxHeightTypeAuto){return true;}if(this._borderElement){return true;}return false;}}}); |
| 74 |
qx.Class.define($[1353],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__cache={};this.__stateMap={};this.__stateMapLength=1;},properties:{appearanceTheme:{check:$[121],nullable:true,apply:$[1616],event:$[1800]}},members:{_applyAppearanceTheme:function($0,$1){this._currentTheme=$0;this._oldTheme=$1;if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncAppearanceTheme();}},syncAppearanceTheme:function(){if(!this._currentTheme&&!this._oldTheme){return;}if(this._currentTheme){this.__cache[this._currentTheme.name]={};}var $0=qx.core.Init.getInstance().getApplication();if($0&&$0.getUiReady()){qx.ui.core.ClientDocument.getInstance()._recursiveAppearanceThemeUpdate(this._currentTheme,this._oldTheme);}if(this._oldTheme){delete this.__cache[this._oldTheme.name];}delete this._currentTheme;delete this._oldTheme;},styleFrom:function($0,$1){var $2=this.getAppearanceTheme();if(!$2){return;}return this.styleFromTheme($2,$0,$1);},styleFromTheme:function($0,$1,$2){var $3=$0.appearances[$1];if(!$3){{};return null;}if(!$3.style){if($3.include){return this.styleFromTheme($0,$3.include,$2);}else{return null;}}var $4=this.__stateMap;var $5=[$1];for(var $6 in $2){if(!$4[$6]){$4[$6]=this.__stateMapLength++;}$5[$4[$6]]=true;}var $7=$5.join();var $8=this.__cache[$0.name];if($8&&$8[$7]!==undefined){return $8[$7];}var $9;if($3.include||$3.base){var $a=$3.style($2);var $b;if($3.include){$b=this.styleFromTheme($0,$3.include,$2);}$9={};if($3.base){var $c=this.styleFromTheme($3.base,$1,$2);if($3.include){for(var $d in $c){if($b[$d]===undefined&&$a[$d]===undefined){$9[$d]=$c[$d];}}}else{for(var $d in $c){if($a[$d]===undefined){$9[$d]=$c[$d];}}}}if($3.include){for(var $d in $b){if($a[$d]===undefined){$9[$d]=$b[$d];}}}for(var $d in $a){$9[$d]=$a[$d];}}else{$9=$3.style($2);}if($8){$8[$7]=$9||null;}return $9||null;}},destruct:function(){this._disposeFields($[711],$[1377]);}}); |
74 |
qx.Class.define($[1621],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.initTop();this.initLeft();this.initWidth();this.initHeight();this.initZIndex();},properties:{appearance:{refine:true,init:$[742]},zIndex:{refine:true,init:1e8},top:{refine:true,init:0},left:{refine:true,init:0},width:{refine:true,init:$[60]},height:{refine:true,init:$[60]},display:{refine:true,init:false}},members:{getFocusRoot:function(){return null;}}}); |
| 75 |
qx.Class.define($[1562],{type:$[18],extend:qx.core.Target,properties:{theme:{check:$[121],nullable:true,apply:$[1020],event:$[1031]},autoSync:{check:$[2],init:true,apply:$[854]}},members:{_applyTheme:function($0,$1){var $2=null;var $3=null;var $4=null;var $5=null;var $6=null;var $7=null;if($0){$2=$0.meta.color||null;$3=$0.meta.border||null;$4=$0.meta.font||null;$5=$0.meta.widget||null;$6=$0.meta.icon||null;$7=$0.meta.appearance||null;}if($1){this.setAutoSync(false);}var $8=qx.theme.manager.Color.getInstance();var $9=qx.theme.manager.Border.getInstance();var $a=qx.theme.manager.Font.getInstance();var $b=qx.theme.manager.Icon.getInstance();var $c=qx.theme.manager.Widget.getInstance();var $d=qx.theme.manager.Appearance.getInstance();$8.setColorTheme($2);$9.setBorderTheme($3);$a.setFontTheme($4);$c.setWidgetTheme($5);$b.setIconTheme($6);$d.setAppearanceTheme($7);if($1){this.setAutoSync(true);}},_applyAutoSync:function($0,$1){if($0){qx.theme.manager.Appearance.getInstance().syncAppearanceTheme();qx.theme.manager.Icon.getInstance().syncIconTheme();qx.theme.manager.Widget.getInstance().syncWidgetTheme();qx.theme.manager.Font.getInstance().syncFontTheme();qx.theme.manager.Border.getInstance().syncBorderTheme();qx.theme.manager.Color.getInstance().syncColorTheme();}},initialize:function(){var $0=qx.core.Setting;var $1,$2;$1=$0.get($[1515]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The meta theme to use is not available: "+$1);}this.setTheme($2);}$1=$0.get($[1078]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The color theme to use is not available: "+$1);}qx.theme.manager.Color.getInstance().setColorTheme($2);}$1=$0.get($[1526]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The border theme to use is not available: "+$1);}qx.theme.manager.Border.getInstance().setBorderTheme($2);}$1=$0.get($[798]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The font theme to use is not available: "+$1);}qx.theme.manager.Font.getInstance().setFontTheme($2);}$1=$0.get($[1652]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The widget theme to use is not available: "+$1);}qx.theme.manager.Widget.getInstance().setWidgetTheme($2);}$1=$0.get($[606]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The icon theme to use is not available: "+$1);}qx.theme.manager.Icon.getInstance().setIconTheme($2);}$1=$0.get($[974]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The appearance theme to use is not available: "+$1);}qx.theme.manager.Appearance.getInstance().setAppearanceTheme($2);}},__queryThemes:function($0){var $1=qx.Theme.getAll();var $2;var $3=[];for(var $4 in $1){$2=$1[$4];if($2[$0]){$3.push($2);}}return $3;},getMetaThemes:function(){return this.__queryThemes($[349]);},getColorThemes:function(){return this.__queryThemes($[392]);},getBorderThemes:function(){return this.__queryThemes($[520]);},getFontThemes:function(){return this.__queryThemes($[465]);},getWidgetThemes:function(){return this.__queryThemes($[524]);},getIconThemes:function(){return this.__queryThemes($[485]);},getAppearanceThemes:function(){return this.__queryThemes($[319]);}},settings:{"qx.theme":$[1115],"qx.colorTheme":null,"qx.borderTheme":null,"qx.fontTheme":null,"qx.widgetTheme":null,"qx.appearanceTheme":null,"qx.iconTheme":null}}); |
75 |
qx.Class.define($[1372],{type:$[20],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__cache={};this.__stateMap={};this.__stateMapLength=1;},properties:{appearanceTheme:{check:$[126],nullable:true,apply:$[1639],event:$[1820]}},members:{_applyAppearanceTheme:function($0,$1){this._currentTheme=$0;this._oldTheme=$1;if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncAppearanceTheme();}},syncAppearanceTheme:function(){if(!this._currentTheme&&!this._oldTheme){return;}if(this._currentTheme){this.__cache[this._currentTheme.name]={};}var $0=qx.core.Init.getInstance().getApplication();if($0&&$0.getUiReady()){qx.ui.core.ClientDocument.getInstance()._recursiveAppearanceThemeUpdate(this._currentTheme,this._oldTheme);}if(this._oldTheme){delete this.__cache[this._oldTheme.name];}delete this._currentTheme;delete this._oldTheme;},styleFrom:function($0,$1){var $2=this.getAppearanceTheme();if(!$2){return;}return this.styleFromTheme($2,$0,$1);},styleFromTheme:function($0,$1,$2){var $3=$0.appearances[$1];if(!$3){{};return null;}if(!$3.style){if($3.include){return this.styleFromTheme($0,$3.include,$2);}else{return null;}}var $4=this.__stateMap;var $5=[$1];for(var $6 in $2){if(!$4[$6]){$4[$6]=this.__stateMapLength++;}$5[$4[$6]]=true;}var $7=$5.join();var $8=this.__cache[$0.name];if($8&&$8[$7]!==undefined){return $8[$7];}var $9;if($3.include||$3.base){var $a=$3.style($2);var $b;if($3.include){$b=this.styleFromTheme($0,$3.include,$2);}$9={};if($3.base){var $c=this.styleFromTheme($3.base,$1,$2);if($3.include){for(var $d in $c){if($b[$d]===undefined&&$a[$d]===undefined){$9[$d]=$c[$d];}}}else{for(var $d in $c){if($a[$d]===undefined){$9[$d]=$c[$d];}}}}if($3.include){for(var $d in $b){if($a[$d]===undefined){$9[$d]=$b[$d];}}}for(var $d in $a){$9[$d]=$a[$d];}}else{$9=$3.style($2);}if($8){$8[$7]=$9||null;}return $9||null;}},destruct:function(){this._disposeFields($[722],$[1395]);}}); |
| 76 |
qx.Class.define($[913],{type:$[18],extend:qx.util.manager.Value,properties:{colorTheme:{check:$[121],nullable:true,apply:$[1559],event:$[828]}},members:{_applyColorTheme:function($0){var $1=this._dynamic={};if($0){var $2=$0.colors;var $3=qx.util.ColorUtil;var $4;for(var $5 in $2){$4=$2[$5];if(typeof $4===$[8]){if(!$3.isCssString($4)){throw new Error("Could not parse color: "+$4);}}else if($4 instanceof Array){$4=$3.rgbToRgbString($4);}else{throw new Error("Could not parse color: "+$4);}$1[$5]=$4;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncColorTheme();}},syncColorTheme:function(){this._updateObjects();}}}); |
76 |
qx.Class.define($[1584],{type:$[20],extend:qx.core.Target,properties:{theme:{check:$[126],nullable:true,apply:$[1038],event:$[1049]},autoSync:{check:$[2],init:true,apply:$[871]}},members:{_applyTheme:function($0,$1){var $2=null;var $3=null;var $4=null;var $5=null;var $6=null;var $7=null;if($0){$2=$0.meta.color||null;$3=$0.meta.border||null;$4=$0.meta.font||null;$5=$0.meta.widget||null;$6=$0.meta.icon||null;$7=$0.meta.appearance||null;}if($1){this.setAutoSync(false);}var $8=qx.theme.manager.Color.getInstance();var $9=qx.theme.manager.Border.getInstance();var $a=qx.theme.manager.Font.getInstance();var $b=qx.theme.manager.Icon.getInstance();var $c=qx.theme.manager.Widget.getInstance();var $d=qx.theme.manager.Appearance.getInstance();$8.setColorTheme($2);$9.setBorderTheme($3);$a.setFontTheme($4);$c.setWidgetTheme($5);$b.setIconTheme($6);$d.setAppearanceTheme($7);if($1){this.setAutoSync(true);}},_applyAutoSync:function($0,$1){if($0){qx.theme.manager.Appearance.getInstance().syncAppearanceTheme();qx.theme.manager.Icon.getInstance().syncIconTheme();qx.theme.manager.Widget.getInstance().syncWidgetTheme();qx.theme.manager.Font.getInstance().syncFontTheme();qx.theme.manager.Border.getInstance().syncBorderTheme();qx.theme.manager.Color.getInstance().syncColorTheme();}},initialize:function(){var $0=qx.core.Setting;var $1,$2;$1=$0.get($[1537]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The meta theme to use is not available: "+$1);}this.setTheme($2);}$1=$0.get($[1096]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The color theme to use is not available: "+$1);}qx.theme.manager.Color.getInstance().setColorTheme($2);}$1=$0.get($[1548]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The border theme to use is not available: "+$1);}qx.theme.manager.Border.getInstance().setBorderTheme($2);}$1=$0.get($[813]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The font theme to use is not available: "+$1);}qx.theme.manager.Font.getInstance().setFontTheme($2);}$1=$0.get($[1674]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The widget theme to use is not available: "+$1);}qx.theme.manager.Widget.getInstance().setWidgetTheme($2);}$1=$0.get($[620]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The icon theme to use is not available: "+$1);}qx.theme.manager.Icon.getInstance().setIconTheme($2);}$1=$0.get($[993]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The appearance theme to use is not available: "+$1);}qx.theme.manager.Appearance.getInstance().setAppearanceTheme($2);}},__queryThemes:function($0){var $1=qx.Theme.getAll();var $2;var $3=[];for(var $4 in $1){$2=$1[$4];if($2[$0]){$3.push($2);}}return $3;},getMetaThemes:function(){return this.__queryThemes($[356]);},getColorThemes:function(){return this.__queryThemes($[398]);},getBorderThemes:function(){return this.__queryThemes($[527]);},getFontThemes:function(){return this.__queryThemes($[472]);},getWidgetThemes:function(){return this.__queryThemes($[531]);},getIconThemes:function(){return this.__queryThemes($[493]);},getAppearanceThemes:function(){return this.__queryThemes($[325]);}},settings:{"qx.theme":$[1133],"qx.colorTheme":null,"qx.borderTheme":null,"qx.fontTheme":null,"qx.widgetTheme":null,"qx.appearanceTheme":null,"qx.iconTheme":null}}); |
| 77 |
qx.Class.define($[1488],{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/},SYSTEM:{activeborder:true,activecaption:true,appworkspace:true,background:true,buttonface:true,buttonhighlight:true,buttonshadow:true,buttontext:true,captiontext:true,graytext:true,highlight:true,highlighttext:true,inactiveborder:true,inactivecaption:true,inactivecaptiontext:true,infobackground:true,infotext:true,menu:true,menutext:true,scrollbar:true,threeddarkshadow:true,threedface:true,threedhighlight:true,threedlightshadow:true,threedshadow:true,window:true,windowframe:true,windowtext:true},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],grey:[128,128,128],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor:function($0){return this.NAMED[$0]!==undefined;},isSystemColor:function($0){return this.SYSTEM[$0]!==undefined;},isThemedColor:function($0){return qx.theme.manager.Color.getInstance().isDynamic($0);},stringToRgb:function($0){if(this.isThemedColor($0)){var $0=qx.theme.manager.Color.getInstance().resolveDynamic($0);}if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},cssStringToRgb:function($0){if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},stringToRgbString:function($0){return this.rgbToRgbString(this.stringToRgb($0));},rgbToRgbString:function($0){return $[1102]+$0[0]+$[101]+$0[1]+$[101]+$0[2]+$[145];},rgbToHexString:function($0){return (qx.lang.String.pad($0[0].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[1].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[2].toString(16).toUpperCase(),2));},isValid:function($0){return this.isThemedColor($0)||this.isCssString($0);},isCssString:function($0){return this.isSystemColor($0)||this.isNamedColor($0)||this.isHex3String($0)||this.isHex6String($0)||this.isRgbString($0);},isHex3String:function($0){return this.REGEXP.hex3.test($0);},isHex6String:function($0){return this.REGEXP.hex6.test($0);},isRgbString:function($0){return this.REGEXP.rgb.test($0);},__rgbStringToRgb:function(){var $0=parseInt(RegExp.$1);var $1=parseInt(RegExp.$2);var $2=parseInt(RegExp.$3);return [$0,$1,$2];},__hex3StringToRgb:function(){var $0=parseInt(RegExp.$1,16)*17;var $1=parseInt(RegExp.$2,16)*17;var $2=parseInt(RegExp.$3,16)*17;return [$0,$1,$2];},__hex6StringToRgb:function(){var $0=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var $1=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var $2=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [$0,$1,$2];},hex3StringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}throw new Error("Invalid hex3 value: "+$0);},hex6StringToRgb:function($0){if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex6 value: "+$0);},hexStringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex value: "+$0);},rgbToHsb:function($0){var $1,$2,$3;var $4=$0[0];var $5=$0[1];var $6=$0[2];var $7=($4>$5)?$4:$5;if($6>$7){$7=$6;}var $8=($4<$5)?$4:$5;if($6<$8){$8=$6;}$3=$7/255.0;if($7!=0){$2=($7-$8)/$7;}else{$2=0;}if($2==0){$1=0;}else{var $9=($7-$4)/($7-$8);var $a=($7-$5)/($7-$8);var $b=($7-$6)/($7-$8);if($4==$7){$1=$b-$a;}else if($5==$7){$1=2.0+$9-$b;}else{$1=4.0+$a-$9;}$1=$1/6.0;if($1<0){$1=$1+1.0;}}return [Math.round($1*360),Math.round($2*100),Math.round($3*100)];},hsbToRgb:function($0){var $1,$2,$3,$4,$5;var $6=$0[0]/360;var $7=$0[1]/100;var $8=$0[2]/100;if($6>=1.0){$6%=1.0;}if($7>1.0){$7=1.0;}if($8>1.0){$8=1.0;}var $9=Math.floor(255*$8);var $a={};if($7==0.0){$a.red=$a.green=$a.blue=$9;}else{$6*=6.0;$1=Math.floor($6);$2=$6-$1;$3=Math.floor($9*(1.0-$7));$4=Math.floor($9*(1.0-($7*$2)));$5=Math.floor($9*(1.0-($7*(1.0-$2))));switch($1){case 0:$a.red=$9;$a.green=$5;$a.blue=$3;break;case 1:$a.red=$4;$a.green=$9;$a.blue=$3;break;case 2:$a.red=$3;$a.green=$9;$a.blue=$5;break;case 3:$a.red=$3;$a.green=$4;$a.blue=$9;break;case 4:$a.red=$5;$a.green=$3;$a.blue=$9;break;case 5:$a.red=$9;$a.green=$3;$a.blue=$4;break;}}return $a;},randomColor:function(){var $0=Math.round(Math.random()*255);var $1=Math.round(Math.random()*255);var $2=Math.round(Math.random()*255);return this.rgbToRgbString([$0,$1,$2]);}}}); |
77 |
qx.Class.define($[932],{type:$[20],extend:qx.util.manager.Value,properties:{colorTheme:{check:$[126],nullable:true,apply:$[1581],event:$[844]}},members:{_applyColorTheme:function($0){var $1=this._dynamic={};if($0){var $2=$0.colors;var $3=qx.util.ColorUtil;var $4;for(var $5 in $2){$4=$2[$5];if(typeof $4===$[7]){if(!$3.isCssString($4)){throw new Error("Could not parse color: "+$4);}}else if($4 instanceof Array){$4=$3.rgbToRgbString($4);}else{throw new Error("Could not parse color: "+$4);}$1[$5]=$4;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncColorTheme();}},syncColorTheme:function(){this._updateObjects();}}}); |
| 78 |
qx.Class.define($[1006],{type:$[18],extend:qx.util.manager.Value,properties:{borderTheme:{check:$[121],nullable:true,apply:$[876],event:$[587]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Border?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Border||this._dynamic[$0]!==undefined);},syncBorderTheme:function(){this._updateObjects();},updateObjectsEdge:function($0,$1){var $2=this._registry;var $3=this._dynamic;var $4;for(var $5 in $2){$4=$2[$5];if($4.value===$0||$3[$4.value]===$0){$4.callback.call($4.object,$0,$1);}}},_applyBorderTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.borders;var $4=qx.ui.core.Border;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncBorderTheme();}}}}); |
78 |
qx.Class.define($[1509],{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/},SYSTEM:{activeborder:true,activecaption:true,appworkspace:true,background:true,buttonface:true,buttonhighlight:true,buttonshadow:true,buttontext:true,captiontext:true,graytext:true,highlight:true,highlighttext:true,inactiveborder:true,inactivecaption:true,inactivecaptiontext:true,infobackground:true,infotext:true,menu:true,menutext:true,scrollbar:true,threeddarkshadow:true,threedface:true,threedhighlight:true,threedlightshadow:true,threedshadow:true,window:true,windowframe:true,windowtext:true},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],grey:[128,128,128],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor:function($0){return this.NAMED[$0]!==undefined;},isSystemColor:function($0){return this.SYSTEM[$0]!==undefined;},isThemedColor:function($0){return qx.theme.manager.Color.getInstance().isDynamic($0);},stringToRgb:function($0){if(this.isThemedColor($0)){var $0=qx.theme.manager.Color.getInstance().resolveDynamic($0);}if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},cssStringToRgb:function($0){if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},stringToRgbString:function($0){return this.rgbToRgbString(this.stringToRgb($0));},rgbToRgbString:function($0){return $[1120]+$0[0]+$[102]+$0[1]+$[102]+$0[2]+$[149];},rgbToHexString:function($0){return (qx.lang.String.pad($0[0].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[1].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[2].toString(16).toUpperCase(),2));},isValid:function($0){return this.isThemedColor($0)||this.isCssString($0);},isCssString:function($0){return this.isSystemColor($0)||this.isNamedColor($0)||this.isHex3String($0)||this.isHex6String($0)||this.isRgbString($0);},isHex3String:function($0){return this.REGEXP.hex3.test($0);},isHex6String:function($0){return this.REGEXP.hex6.test($0);},isRgbString:function($0){return this.REGEXP.rgb.test($0);},__rgbStringToRgb:function(){var $0=parseInt(RegExp.$1);var $1=parseInt(RegExp.$2);var $2=parseInt(RegExp.$3);return [$0,$1,$2];},__hex3StringToRgb:function(){var $0=parseInt(RegExp.$1,16)*17;var $1=parseInt(RegExp.$2,16)*17;var $2=parseInt(RegExp.$3,16)*17;return [$0,$1,$2];},__hex6StringToRgb:function(){var $0=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var $1=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var $2=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [$0,$1,$2];},hex3StringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}throw new Error("Invalid hex3 value: "+$0);},hex6StringToRgb:function($0){if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex6 value: "+$0);},hexStringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex value: "+$0);},rgbToHsb:function($0){var $1,$2,$3;var $4=$0[0];var $5=$0[1];var $6=$0[2];var $7=($4>$5)?$4:$5;if($6>$7){$7=$6;}var $8=($4<$5)?$4:$5;if($6<$8){$8=$6;}$3=$7/255.0;if($7!=0){$2=($7-$8)/$7;}else{$2=0;}if($2==0){$1=0;}else{var $9=($7-$4)/($7-$8);var $a=($7-$5)/($7-$8);var $b=($7-$6)/($7-$8);if($4==$7){$1=$b-$a;}else if($5==$7){$1=2.0+$9-$b;}else{$1=4.0+$a-$9;}$1=$1/6.0;if($1<0){$1=$1+1.0;}}return [Math.round($1*360),Math.round($2*100),Math.round($3*100)];},hsbToRgb:function($0){var $1,$2,$3,$4,$5;var $6=$0[0]/360;var $7=$0[1]/100;var $8=$0[2]/100;if($6>=1.0){$6%=1.0;}if($7>1.0){$7=1.0;}if($8>1.0){$8=1.0;}var $9=Math.floor(255*$8);var $a={};if($7==0.0){$a.red=$a.green=$a.blue=$9;}else{$6*=6.0;$1=Math.floor($6);$2=$6-$1;$3=Math.floor($9*(1.0-$7));$4=Math.floor($9*(1.0-($7*$2)));$5=Math.floor($9*(1.0-($7*(1.0-$2))));switch($1){case 0:$a.red=$9;$a.green=$5;$a.blue=$3;break;case 1:$a.red=$4;$a.green=$9;$a.blue=$3;break;case 2:$a.red=$3;$a.green=$9;$a.blue=$5;break;case 3:$a.red=$3;$a.green=$4;$a.blue=$9;break;case 4:$a.red=$5;$a.green=$3;$a.blue=$9;break;case 5:$a.red=$9;$a.green=$3;$a.blue=$4;break;}}return $a;},randomColor:function(){var $0=Math.round(Math.random()*255);var $1=Math.round(Math.random()*255);var $2=Math.round(Math.random()*255);return this.rgbToRgbString([$0,$1,$2]);}}}); |
| 79 |
qx.Class.define($[1181],{extend:qx.core.Object,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0!==undefined){this.setWidth($0);}if($1!==undefined){this.setStyle($1);}if($2!==undefined){this.setColor($2);}},statics:{fromString:function($0){var $1=new qx.ui.core.Border;var $2=$0.split(/\s+/);var $3,$4;for(var $5=0,$6=$2.length;$5<$6;$5++){$3=$2[$5];switch($3){case $[170]:case $[196]:case $[192]:case $[190]:case $[42]:case $[167]:case $[187]:case $[171]:case $[7]:$1.setStyle($3);break;default:$4=parseInt($3);if($4===$3||qx.lang.String.contains($3,$[38])){$1.setWidth($4);}else{$1.setColor($3);}break;}}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Border;$1.set($0);return $1;},resetTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}$1=$0._innerStyle;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}}}),resetRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}$1=$0._innerStyle;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}}}),resetBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}$1=$0._innerStyle;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}}}),resetLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}$1=$0._innerStyle;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}}})},properties:{widthTop:{check:$[19],init:0,apply:$[1451]},widthRight:{check:$[19],init:0,apply:$[1131]},widthBottom:{check:$[19],init:0,apply:$[1242]},widthLeft:{check:$[19],init:0,apply:$[1678]},styleTop:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1640]},styleRight:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1230]},styleBottom:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1044]},styleLeft:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1437]},colorTop:{nullable:true,check:$[90],apply:$[1769]},colorRight:{nullable:true,check:$[90],apply:$[1239]},colorBottom:{nullable:true,check:$[90],apply:$[743]},colorLeft:{nullable:true,check:$[90],apply:$[1308]},colorInnerTop:{nullable:true,check:$[90],apply:$[1430]},colorInnerRight:{nullable:true,check:$[90],apply:$[1331]},colorInnerBottom:{nullable:true,check:$[90],apply:$[967]},colorInnerLeft:{nullable:true,check:$[90],apply:$[1756]},left:{group:[$[527],$[360],$[531]]},right:{group:[$[447],$[357],$[377]]},top:{group:[$[474],$[337],$[418]]},bottom:{group:[$[406],$[446],$[401]]},width:{group:[$[474],$[447],$[406],$[527]],mode:$[103]},style:{group:[$[337],$[357],$[446],$[360]],mode:$[103]},color:{group:[$[418],$[377],$[401],$[531]],mode:$[103]},innerColor:{group:[$[1581],$[1736],$[927],$[1664]],mode:$[103]}},members:{_applyWidthTop:function($0,$1){this.__widthTop=$0==null?$[52]:$0+$[38];this.__computeComplexTop();this.__informManager($[20]);},_applyWidthRight:function($0,$1){this.__widthRight=$0==null?$[52]:$0+$[38];this.__computeComplexRight();this.__informManager($[9]);},_applyWidthBottom:function($0,$1){this.__widthBottom=$0==null?$[52]:$0+$[38];this.__computeComplexBottom();this.__informManager($[17]);},_applyWidthLeft:function($0,$1){this.__widthLeft=$0==null?$[52]:$0+$[38];this.__computeComplexLeft();this.__informManager($[11]);},_applyColorTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorTop,this,$0);},_applyColorRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorRight,this,$0);},_applyColorBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorBottom,this,$0);},_applyColorLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorLeft,this,$0);},_applyColorInnerTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerTop,this,$0);},_applyColorInnerRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerRight,this,$0);},_applyColorInnerBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerBottom,this,$0);},_applyColorInnerLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerLeft,this,$0);},_applyStyleTop:function(){this.__informManager($[20]);},_applyStyleRight:function(){this.__informManager($[9]);},_applyStyleBottom:function(){this.__informManager($[17]);},_applyStyleLeft:function(){this.__informManager($[11]);},_changeColorTop:function($0){this.__colorTop=$0;this.__computeComplexTop();this.__informManager($[20]);},_changeColorInnerTop:function($0){this.__colorInnerTop=$0;this.__computeComplexTop();this.__informManager($[20]);},_changeColorRight:function($0){this.__colorRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorInnerRight:function($0){this.__colorInnerRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorBottom:function($0){this.__colorBottom=$0;this.__computeComplexBottom();this.__informManager($[17]);},_changeColorInnerBottom:function($0){this.__colorInnerBottom=$0;this.__computeComplexBottom();this.__informManager($[17]);},_changeColorLeft:function($0){this.__colorLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},_changeColorInnerLeft:function($0){this.__colorInnerLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},__computeComplexTop:function(){this.__complexTop=this.getWidthTop()===2&&this.__colorInnerTop!=null&&this.__colorTop!=this.__colorInnerTop;},__computeComplexRight:function(){this.__complexRight=this.getWidthRight()===2&&this.__colorInnerRight!=null&&this.__colorRight!=this.__colorInnerRight;},__computeComplexBottom:function(){this.__complexBottom=this.getWidthBottom()===2&&this.__colorInnerBottom!=null&&this.__colorBottom!=this.__colorInnerBottom;},__computeComplexLeft:function(){this.__complexLeft=this.getWidthLeft()===2&&this.__colorInnerLeft!=null&&this.__colorLeft!=this.__colorInnerLeft;},__informManager:function($0){qx.theme.manager.Border.getInstance().updateObjectsEdge(this,$0);},renderTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderTopWidth=this.__widthTop||$[52];$1.borderTopColor=this.__colorTop||$[0];if(this.__complexTop){$1.borderTopStyle=$[42];$1.MozBorderTopColors=this.__colorTop+$[83]+this.__colorInnerTop;}else{$1.borderTopStyle=this.getStyleTop()||$[7];$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexTop){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderTopWidth=$2.borderTopWidth=$[161];$1.borderTopStyle=$2.borderTopStyle=$[42];$1.borderTopColor=this.__colorTop;$2.borderTopColor=this.__colorInnerTop;}else{$1.borderTopWidth=this.__widthTop||$[52];$1.borderTopStyle=this.getStyleTop()||$[7];$1.borderTopColor=this.__colorTop||$[0];if($2){$2.borderTopWidth=$2.borderTopStyle=$2.borderTopColor=$[0];}}}}),renderRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderRightWidth=this.__widthRight||$[52];$1.borderRightColor=this.__colorRight||$[0];if(this.__complexRight){$1.borderRightStyle=$[42];$1.MozBorderRightColors=this.__colorRight+$[83]+this.__colorInnerRight;}else{$1.borderRightStyle=this.getStyleRight()||$[7];$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexRight){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderRightWidth=$2.borderRightWidth=$[161];$1.borderRightStyle=$2.borderRightStyle=$[42];$1.borderRightColor=this.__colorRight;$2.borderRightColor=this.__colorInnerRight;}else{$1.borderRightWidth=this.__widthRight||$[52];$1.borderRightStyle=this.getStyleRight()||$[7];$1.borderRightColor=this.__colorRight||$[0];if($2){$2.borderRightWidth=$2.borderRightStyle=$2.borderRightColor=$[0];}}}}),renderBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderBottomWidth=this.__widthBottom||$[52];$1.borderBottomColor=this.__colorBottom||$[0];if(this.__complexBottom){$1.borderBottomStyle=$[42];$1.MozBorderBottomColors=this.__colorBottom+$[83]+this.__colorInnerBottom;}else{$1.borderBottomStyle=this.getStyleBottom()||$[7];$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexBottom){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderBottomWidth=$2.borderBottomWidth=$[161];$1.borderBottomStyle=$2.borderBottomStyle=$[42];$1.borderBottomColor=this.__colorBottom;$2.borderBottomColor=this.__colorInnerBottom;}else{$1.borderBottomWidth=this.__widthBottom||$[52];$1.borderBottomStyle=this.getStyleBottom()||$[7];$1.borderBottomColor=this.__colorBottom||$[0];if($2){$2.borderBottomWidth=$2.borderBottomStyle=$2.borderBottomColor=$[0];}}}}),renderLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderLeftWidth=this.__widthLeft||$[52];$1.borderLeftColor=this.__colorLeft||$[0];if(this.__complexLeft){$1.borderLeftStyle=$[42];$1.MozBorderLeftColors=this.__colorLeft+$[83]+this.__colorInnerLeft;}else{$1.borderLeftStyle=this.getStyleLeft()||$[7];$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexLeft){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderLeftWidth=$2.borderLeftWidth=$[161];$1.borderLeftStyle=$2.borderLeftStyle=$[42];$1.borderLeftColor=this.__colorLeft;$2.borderLeftColor=this.__colorInnerLeft;}else{$1.borderLeftWidth=this.__widthLeft||$[52];$1.borderLeftStyle=this.getStyleLeft()||$[7];$1.borderLeftColor=this.__colorLeft||$[0];if($2){$2.borderLeftWidth=$2.borderLeftStyle=$2.borderLeftColor=$[0];}}}})}}); |
79 |
qx.Class.define($[1024],{type:$[20],extend:qx.util.manager.Value,properties:{borderTheme:{check:$[126],nullable:true,apply:$[894],event:$[598]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Border?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Border||this._dynamic[$0]!==undefined);},syncBorderTheme:function(){this._updateObjects();},updateObjectsEdge:function($0,$1){var $2=this._registry;var $3=this._dynamic;var $4;for(var $5 in $2){$4=$2[$5];if($4.value===$0||$3[$4.value]===$0){$4.callback.call($4.object,$0,$1);}}},_applyBorderTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.borders;var $4=qx.ui.core.Border;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncBorderTheme();}}}}); |
| 80 |
qx.Class.define($[1786],{type:$[18],extend:qx.util.manager.Value,properties:{fontTheme:{check:$[121],nullable:true,apply:$[892],event:$[1171]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Font?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Font||this._dynamic[$0]!==undefined);},syncFontTheme:function(){this._updateObjects();},_applyFontTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.fonts;var $4=qx.ui.core.Font;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncFontTheme();}}}}); |
80 |
qx.Class.define($[1202],{extend:qx.core.Object,include:qx.util.manager.MConnectedObject,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0!==undefined){this.setWidth($0);}if($1!==undefined){this.setStyle($1);}if($2!==undefined){this.setColor($2);}},statics:{fromString:function($0){var $1=new qx.ui.core.Border;var $2=$0.split(/\s+/);var $3,$4;for(var $5=0,$6=$2.length;$5<$6;$5++){$3=$2[$5];switch($3){case $[172]:case $[197]:case $[193]:case $[191]:case $[41]:case $[169]:case $[187]:case $[173]:case $[8]:$1.setStyle($3);break;default:$4=parseInt($3);if($4===$3||qx.lang.String.contains($3,$[40])){$1.setWidth($4);}else{$1.setColor($3);}break;}}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Border;$1.set($0);return $1;},resetTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}$1=$0._innerStyle;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}}}),resetRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}$1=$0._innerStyle;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}}}),resetBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}$1=$0._innerStyle;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}}}),resetLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}$1=$0._innerStyle;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}}})},properties:{widthTop:{check:$[21],init:0,apply:$[1470]},widthRight:{check:$[21],init:0,apply:$[1149]},widthBottom:{check:$[21],init:0,apply:$[1265]},widthLeft:{check:$[21],init:0,apply:$[1699]},styleTop:{nullable:true,check:[$[41],$[169],$[187],$[173],$[191],$[193],$[197],$[172]],init:$[41],apply:$[1663]},styleRight:{nullable:true,check:[$[41],$[169],$[187],$[173],$[191],$[193],$[197],$[172]],init:$[41],apply:$[1253]},styleBottom:{nullable:true,check:[$[41],$[169],$[187],$[173],$[191],$[193],$[197],$[172]],init:$[41],apply:$[1062]},styleLeft:{nullable:true,check:[$[41],$[169],$[187],$[173],$[191],$[193],$[197],$[172]],init:$[41],apply:$[1455]},colorTop:{nullable:true,check:$[90],apply:$[1789]},colorRight:{nullable:true,check:$[90],apply:$[1262]},colorBottom:{nullable:true,check:$[90],apply:$[754]},colorLeft:{nullable:true,check:$[90],apply:$[1329]},colorInnerTop:{nullable:true,check:$[90],apply:$[1448]},colorInnerRight:{nullable:true,check:$[90],apply:$[1351]},colorInnerBottom:{nullable:true,check:$[90],apply:$[986]},colorInnerLeft:{nullable:true,check:$[90],apply:$[1776]},left:{group:[$[534],$[365],$[539]]},right:{group:[$[455],$[364],$[382]]},top:{group:[$[482],$[345],$[426]]},bottom:{group:[$[413],$[454],$[407]]},width:{group:[$[482],$[455],$[413],$[534]],mode:$[104]},style:{group:[$[345],$[364],$[454],$[365]],mode:$[104]},color:{group:[$[426],$[382],$[407],$[539]],mode:$[104]},innerColor:{group:[$[1603],$[1756],$[947],$[1685]],mode:$[104]}},members:{_applyWidthTop:function($0,$1){this.__widthTop=$0==null?$[55]:$0+$[40];this.__computeComplexTop();this.__informManager($[23]);},_applyWidthRight:function($0,$1){this.__widthRight=$0==null?$[55]:$0+$[40];this.__computeComplexRight();this.__informManager($[9]);},_applyWidthBottom:function($0,$1){this.__widthBottom=$0==null?$[55]:$0+$[40];this.__computeComplexBottom();this.__informManager($[18]);},_applyWidthLeft:function($0,$1){this.__widthLeft=$0==null?$[55]:$0+$[40];this.__computeComplexLeft();this.__informManager($[11]);},_applyColorTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorTop,this,$0);},_applyColorRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorRight,this,$0);},_applyColorBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorBottom,this,$0);},_applyColorLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorLeft,this,$0);},_applyColorInnerTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerTop,this,$0);},_applyColorInnerRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerRight,this,$0);},_applyColorInnerBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerBottom,this,$0);},_applyColorInnerLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerLeft,this,$0);},_applyStyleTop:function(){this.__informManager($[23]);},_applyStyleRight:function(){this.__informManager($[9]);},_applyStyleBottom:function(){this.__informManager($[18]);},_applyStyleLeft:function(){this.__informManager($[11]);},_changeColorTop:function($0){this.__colorTop=$0;this.__computeComplexTop();this.__informManager($[23]);},_changeColorInnerTop:function($0){this.__colorInnerTop=$0;this.__computeComplexTop();this.__informManager($[23]);},_changeColorRight:function($0){this.__colorRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorInnerRight:function($0){this.__colorInnerRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorBottom:function($0){this.__colorBottom=$0;this.__computeComplexBottom();this.__informManager($[18]);},_changeColorInnerBottom:function($0){this.__colorInnerBottom=$0;this.__computeComplexBottom();this.__informManager($[18]);},_changeColorLeft:function($0){this.__colorLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},_changeColorInnerLeft:function($0){this.__colorInnerLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},__computeComplexTop:function(){this.__complexTop=this.getWidthTop()===2&&this.__colorInnerTop!=null&&this.__colorTop!=this.__colorInnerTop;},__computeComplexRight:function(){this.__complexRight=this.getWidthRight()===2&&this.__colorInnerRight!=null&&this.__colorRight!=this.__colorInnerRight;},__computeComplexBottom:function(){this.__complexBottom=this.getWidthBottom()===2&&this.__colorInnerBottom!=null&&this.__colorBottom!=this.__colorInnerBottom;},__computeComplexLeft:function(){this.__complexLeft=this.getWidthLeft()===2&&this.__colorInnerLeft!=null&&this.__colorLeft!=this.__colorInnerLeft;},__informManager:function($0){qx.theme.manager.Border.getInstance().updateObjectsEdge(this,$0);},renderTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderTopWidth=this.__widthTop||$[55];$1.borderTopColor=this.__colorTop||$[0];if(this.__complexTop){$1.borderTopStyle=$[41];$1.MozBorderTopColors=this.__colorTop+$[84]+this.__colorInnerTop;}else{$1.borderTopStyle=this.getStyleTop()||$[8];$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexTop){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderTopWidth=$2.borderTopWidth=$[162];$1.borderTopStyle=$2.borderTopStyle=$[41];$1.borderTopColor=this.__colorTop;$2.borderTopColor=this.__colorInnerTop;}else{$1.borderTopWidth=this.__widthTop||$[55];$1.borderTopStyle=this.getStyleTop()||$[8];$1.borderTopColor=this.__colorTop||$[0];if($2){$2.borderTopWidth=$2.borderTopStyle=$2.borderTopColor=$[0];}}}}),renderRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderRightWidth=this.__widthRight||$[55];$1.borderRightColor=this.__colorRight||$[0];if(this.__complexRight){$1.borderRightStyle=$[41];$1.MozBorderRightColors=this.__colorRight+$[84]+this.__colorInnerRight;}else{$1.borderRightStyle=this.getStyleRight()||$[8];$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexRight){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderRightWidth=$2.borderRightWidth=$[162];$1.borderRightStyle=$2.borderRightStyle=$[41];$1.borderRightColor=this.__colorRight;$2.borderRightColor=this.__colorInnerRight;}else{$1.borderRightWidth=this.__widthRight||$[55];$1.borderRightStyle=this.getStyleRight()||$[8];$1.borderRightColor=this.__colorRight||$[0];if($2){$2.borderRightWidth=$2.borderRightStyle=$2.borderRightColor=$[0];}}}}),renderBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderBottomWidth=this.__widthBottom||$[55];$1.borderBottomColor=this.__colorBottom||$[0];if(this.__complexBottom){$1.borderBottomStyle=$[41];$1.MozBorderBottomColors=this.__colorBottom+$[84]+this.__colorInnerBottom;}else{$1.borderBottomStyle=this.getStyleBottom()||$[8];$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexBottom){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderBottomWidth=$2.borderBottomWidth=$[162];$1.borderBottomStyle=$2.borderBottomStyle=$[41];$1.borderBottomColor=this.__colorBottom;$2.borderBottomColor=this.__colorInnerBottom;}else{$1.borderBottomWidth=this.__widthBottom||$[55];$1.borderBottomStyle=this.getStyleBottom()||$[8];$1.borderBottomColor=this.__colorBottom||$[0];if($2){$2.borderBottomWidth=$2.borderBottomStyle=$2.borderBottomColor=$[0];}}}}),renderLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderLeftWidth=this.__widthLeft||$[55];$1.borderLeftColor=this.__colorLeft||$[0];if(this.__complexLeft){$1.borderLeftStyle=$[41];$1.MozBorderLeftColors=this.__colorLeft+$[84]+this.__colorInnerLeft;}else{$1.borderLeftStyle=this.getStyleLeft()||$[8];$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexLeft){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderLeftWidth=$2.borderLeftWidth=$[162];$1.borderLeftStyle=$2.borderLeftStyle=$[41];$1.borderLeftColor=this.__colorLeft;$2.borderLeftColor=this.__colorInnerLeft;}else{$1.borderLeftWidth=this.__widthLeft||$[55];$1.borderLeftStyle=this.getStyleLeft()||$[8];$1.borderLeftColor=this.__colorLeft||$[0];if($2){$2.borderLeftWidth=$2.borderLeftStyle=$2.borderLeftColor=$[0];}}}})}}); |
| 81 |
qx.Class.define($[793],{extend:qx.core.Object,construct:function($0,$1){arguments.callee.base.call(this);if($0!==undefined){this.setSize($0);}if($1!==undefined){this.setFamily($1);}},statics:{fromString:function($0){var $1=new qx.ui.core.Font;var $2=$0.split(/\s+/);var $3=[];var $4;for(var $5=0;$5<$2.length;$5++){switch($4=$2[$5]){case $[278]:$1.setBold(true);break;case $[374]:$1.setItalic(true);break;case $[304]:$1.setDecoration($[304]);break;default:var $6=parseInt($4);if($6==$4||qx.lang.String.contains($4,$[38])){$1.setSize($6);}else{$3.push($4);}break;}}if($3.length>0){$1.setFamily($3);}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Font;$1.set($0);return $1;},reset:function($0){$0.removeStyleProperty($[473]);$0.removeStyleProperty($[210]);$0.removeStyleProperty($[380]);$0.removeStyleProperty($[333]);$0.removeStyleProperty($[467]);},resetElement:function($0){var $1=$0.style;$1.fontFamily=$[0];$1.fontSize=$[0];$1.fontWeight=$[0];$1.fontStyle=$[0];$1.textDecoration=$[0];},resetStyle:function($0){$0.fontFamily=$[0];$0.fontSize=$[0];$0.fontWeight=$[0];$0.fontStyle=$[0];$0.textDecoration=$[0];}},properties:{size:{check:$[5],nullable:true,apply:$[590]},family:{check:$[414],nullable:true,apply:$[1520]},bold:{check:$[2],nullable:true,apply:$[1765]},italic:{check:$[2],nullable:true,apply:$[1247]},decoration:{check:[$[304],$[666],$[1725]],nullable:true,apply:$[1732]}},members:{__size:null,__family:null,__bold:null,__italic:null,__decoration:null,_applySize:function($0,$1){this.__size=$0===null?null:$0+$[38];},_applyFamily:function($0,$1){var $2=$[0];for(var $3=0,$4=$0.length;$3<$4;$3++){if($0[$3].indexOf($[83])>0){$2+=$[109]+$0[$3]+$[109];}else{$2+=$0[$3];}if($3!=$4-1){$2+=$[101];}}this.__family=$2;},_applyBold:function($0,$1){this.__bold=$0===null?null:$0?$[278]:$[156];},_applyItalic:function($0,$1){this.__italic=$0===null?null:$0?$[374]:$[156];},_applyDecoration:function($0,$1){this.__decoration=$0===null?null:$0;},render:function($0){$0.setStyleProperty($[473],this.__family);$0.setStyleProperty($[210],this.__size);$0.setStyleProperty($[380],this.__bold);$0.setStyleProperty($[333],this.__italic);$0.setStyleProperty($[467],this.__decoration);},renderStyle:function($0){$0.fontFamily=this.__family||$[0];$0.fontSize=this.__size||$[0];$0.fontWeight=this.__bold||$[0];$0.fontStyle=this.__italic||$[0];$0.textDecoration=this.__decoration||$[0];},renderElement:function($0){var $1=$0.style;$1.fontFamily=this.__family||$[0];$1.fontSize=this.__size||$[0];$1.fontWeight=this.__bold||$[0];$1.fontStyle=this.__italic||$[0];$1.textDecoration=this.__decoration||$[0];},generateStyle:function(){return (this.__family?$[1440]+this.__family.replace(/\"/g,$[334])+$[79]:$[0])+(this.__size?$[903]+this.__size+$[79]:$[0])+(this.__weight?$[1460]+this.__weight+$[79]:$[0])+(this.__style?$[1106]+this.__style+$[79]:$[0])+(this.__decoration?$[1297]+this.__decoration+$[79]:$[0]);}}}); |
81 |
qx.Class.define($[1806],{type:$[20],extend:qx.util.manager.Value,properties:{fontTheme:{check:$[126],nullable:true,apply:$[910],event:$[1191]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Font?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Font||this._dynamic[$0]!==undefined);},syncFontTheme:function(){this._updateObjects();},_applyFontTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.fonts;var $4=qx.ui.core.Font;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncFontTheme();}}}}); |
| 82 |
qx.Class.define($[997],{type:$[18],extend:qx.core.Target,properties:{iconTheme:{check:$[121],nullable:true,apply:$[1130],event:$[1403]}},members:{_applyIconTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncIconTheme();}},syncIconTheme:function(){var $0=this.getIconTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[133],$0.icons.uri):$1.remove($[133]);}}}); |
82 |
qx.Class.define($[808],{extend:qx.core.Object,construct:function($0,$1){arguments.callee.base.call(this);if($0!==undefined){this.setSize($0);}if($1!==undefined){this.setFamily($1);}},statics:{fromString:function($0){var $1=new qx.ui.core.Font;var $2=$0.split(/\s+/);var $3=[];var $4;for(var $5=0;$5<$2.length;$5++){switch($4=$2[$5]){case $[280]:$1.setBold(true);break;case $[379]:$1.setItalic(true);break;case $[308]:$1.setDecoration($[308]);break;default:var $6=parseInt($4);if($6==$4||qx.lang.String.contains($4,$[40])){$1.setSize($6);}else{$3.push($4);}break;}}if($3.length>0){$1.setFamily($3);}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Font;$1.set($0);return $1;},reset:function($0){$0.removeStyleProperty($[481]);$0.removeStyleProperty($[211]);$0.removeStyleProperty($[385]);$0.removeStyleProperty($[339]);$0.removeStyleProperty($[475]);},resetElement:function($0){var $1=$0.style;$1.fontFamily=$[0];$1.fontSize=$[0];$1.fontWeight=$[0];$1.fontStyle=$[0];$1.textDecoration=$[0];},resetStyle:function($0){$0.fontFamily=$[0];$0.fontSize=$[0];$0.fontWeight=$[0];$0.fontStyle=$[0];$0.textDecoration=$[0];}},properties:{size:{check:$[5],nullable:true,apply:$[601]},family:{check:$[422],nullable:true,apply:$[1542]},bold:{check:$[2],nullable:true,apply:$[1785]},italic:{check:$[2],nullable:true,apply:$[1270]},decoration:{check:[$[308],$[677],$[1745]],nullable:true,apply:$[1752]}},members:{__size:null,__family:null,__bold:null,__italic:null,__decoration:null,_applySize:function($0,$1){this.__size=$0===null?null:$0+$[40];},_applyFamily:function($0,$1){var $2=$[0];for(var $3=0,$4=$0.length;$3<$4;$3++){if($0[$3].indexOf($[84])>0){$2+=$[112]+$0[$3]+$[112];}else{$2+=$0[$3];}if($3!=$4-1){$2+=$[102];}}this.__family=$2;},_applyBold:function($0,$1){this.__bold=$0===null?null:$0?$[280]:$[158];},_applyItalic:function($0,$1){this.__italic=$0===null?null:$0?$[379]:$[158];},_applyDecoration:function($0,$1){this.__decoration=$0===null?null:$0;},render:function($0){$0.setStyleProperty($[481],this.__family);$0.setStyleProperty($[211],this.__size);$0.setStyleProperty($[385],this.__bold);$0.setStyleProperty($[339],this.__italic);$0.setStyleProperty($[475],this.__decoration);},renderStyle:function($0){$0.fontFamily=this.__family||$[0];$0.fontSize=this.__size||$[0];$0.fontWeight=this.__bold||$[0];$0.fontStyle=this.__italic||$[0];$0.textDecoration=this.__decoration||$[0];},renderElement:function($0){var $1=$0.style;$1.fontFamily=this.__family||$[0];$1.fontSize=this.__size||$[0];$1.fontWeight=this.__bold||$[0];$1.fontStyle=this.__italic||$[0];$1.textDecoration=this.__decoration||$[0];},generateStyle:function(){return (this.__family?$[1459]+this.__family.replace(/\"/g,$[342])+$[42]:$[0])+(this.__size?$[922]+this.__size+$[42]:$[0])+(this.__weight?$[1480]+this.__weight+$[42]:$[0])+(this.__style?$[1124]+this.__style+$[42]:$[0])+(this.__decoration?$[1319]+this.__decoration+$[42]:$[0]);}}}); |
| 83 |
qx.Class.define($[695],{type:$[18],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._aliases={};this.add($[178],qx.core.Setting.get($[288])+$[814]);},members:{_preprocess:function($0){var $1=this._dynamic;if($1[$0]===false){return $0;}else if($1[$0]===undefined){if($0.charAt(0)===$[135]||$0.charAt(0)===$[24]||$0.indexOf($[1079])===0||$0.indexOf($[850])===$[41]||$0.indexOf($[1361])===0){$1[$0]=false;return $0;}var $2=$0.substring(0,$0.indexOf($[135]));var $3=this._aliases[$2];if($3!==undefined){$1[$0]=$3+$0.substring($2.length);}}return $0;},add:function($0,$1){this._aliases[$0]=$1;var $2=this._dynamic;var $3=this._registry;var $4;var $5={};for(var $6 in $2){if($6.substring(0,$6.indexOf($[135]))===$0){$2[$6]=$1+$6.substring($0.length);$5[$6]=true;}}for(var $7 in $3){$4=$3[$7];if($5[$4.value]){$4.callback.call($4.object,$2[$4.value]);}}},remove:function($0){delete this._aliases[$0];},resolve:function($0){if($0!==null){$0=this._preprocess($0);}return this._dynamic[$0]||$0;}},destruct:function(){this._disposeFields($[881]);}}); |
83 |
qx.Class.define($[1015],{type:$[20],extend:qx.core.Target,properties:{iconTheme:{check:$[126],nullable:true,apply:$[1148],event:$[1421]}},members:{_applyIconTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncIconTheme();}},syncIconTheme:function(){var $0=this.getIconTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[138],$0.icons.uri):$1.remove($[138]);}}}); |
| 84 |
qx.Class.define($[1435],{type:$[18],extend:qx.core.Target,properties:{widgetTheme:{check:$[121],nullable:true,apply:$[1342],event:$[1766]}},members:{_applyWidgetTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncWidgetTheme();}},syncWidgetTheme:function(){var $0=this.getWidgetTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[216],$0.widgets.uri):$1.remove($[216]);}}}); |
84 |
qx.Class.define($[706],{type:$[20],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._aliases={};this._addStatic();},members:{_addStatic:function(){this.add($[179],qx.core.Setting.isSet($[412])?qx.core.Setting.get($[412]):qx.core.Setting.get($[291])+$[830]);},_preprocess:function($0){var $1=this._dynamic;if($1[$0]===false){return $0;}else if($1[$0]===undefined){if($0.charAt(0)===$[99]||$0.charAt(0)===$[24]||$0.indexOf($[1097])===0||$0.indexOf($[866])===0||$0.indexOf($[1379])===0){$1[$0]=false;return $0;}var $2=$0.substring(0,$0.indexOf($[99]));var $3=this._aliases[$2];if($3!==undefined){var $4=$[0];if(qx.core.Variant.isSet($[1],$[13])){if(window.location.protocol===$[916]){if($3.match(/^\/\//)!=null){$4=window.location.protocol;}else if($3.match(/^\.\//)!=null&&qx.core.Setting.get($[538])){$3=$[99]+$0.substring(0,$2.length);$4=document.URL.substring(0,document.URL.lastIndexOf($[99]));}else{$4=window.location.href.substring(0,window.location.href.lastIndexOf($[99])+1);}}}$1[$0]=$4+$3+$0.substring($2.length);}}return $0;},add:function($0,$1){this._aliases[$0]=$1;var $2=this._dynamic;var $3=this._registry;var $4;var $5={};for(var $6 in $2){if($6.substring(0,$6.indexOf($[99]))===$0){$2[$6]=$1+$6.substring($0.length);$5[$6]=true;}}for(var $7 in $3){$4=$3[$7];if($5[$4.value]){$4.callback.call($4.object,$2[$4.value]);}}},remove:function($0){delete this._aliases[$0];},resolve:function($0){if($0!==null){$0=this._preprocess($0);}return this._dynamic[$0]||$0;}},destruct:function(){this._disposeFields($[899]);}}); |
| 85 |
qx.Class.define($[511],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);if($0!=null){this._attachedWidget=$0;}},statics:{mouseFocus:false},members:{getAttachedWidget:function(){return this._attachedWidget;},_onkeyevent:function($0,$1){if($1.getKeyIdentifier()!=$[188]){return;}$1.stopPropagation();$1.preventDefault();qx.event.handler.FocusHandler.mouseFocus=false;var $2=this.getAttachedWidget().getFocusedChild();if(!$1.isShiftPressed()){var $3=$2?this.getWidgetAfter($0,$2):this.getFirstWidget($0);}else{var $3=$2?this.getWidgetBefore($0,$2):this.getLastWidget($0);}if($3){$3.setFocused(true);$3._ontabfocus();}},compareTabOrder:function($0,$1){if($0==$1){return 0;}var $2=$0.getTabIndex();var $3=$1.getTabIndex();if($2!=$3){return $2-$3;}var $4=qx.html.Location.getPageBoxTop($0.getElement());var $5=qx.html.Location.getPageBoxTop($1.getElement());if($4!=$5){return $4-$5;}var $6=qx.html.Location.getPageBoxLeft($0.getElement());var $7=qx.html.Location.getPageBoxLeft($1.getElement());if($6!=$7){return $6-$7;}var $8=$0.getZIndex();var $9=$1.getZIndex();if($8!=$9){return $8-$9;}return 0;},getFirstWidget:function($0){return this._getFirst($0,null);},getLastWidget:function($0){return this._getLast($0,null);},getWidgetAfter:function($0,$1){if($0==$1){return this.getFirstWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllAfter($0,$1,$2);$2.sort(this.compareTabOrder);return $2.length>0?$2[0]:this.getFirstWidget($0);},getWidgetBefore:function($0,$1){if($0==$1){return this.getLastWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllBefore($0,$1,$2);$2.sort(this.compareTabOrder);var $3=$2.length;return $3>0?$2[$3-1]:this.getLastWidget($0);},_getAllAfter:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)<0){$2.push($3[$6]);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllAfter($4,$1,$2);}}},_getAllBefore:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)>0){$2.push($4);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllBefore($4,$1,$2);}}},_getFirst:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)<0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getFirst($3,$1);}}return $1;},_getLast:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)>0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getLast($3,$1);}}return $1;}},destruct:function(){this._disposeFields($[1157]);}}); |
85 |
qx.Class.define($[1453],{type:$[20],extend:qx.core.Target,properties:{widgetTheme:{check:$[126],nullable:true,apply:$[1362],event:$[1786]}},members:{_applyWidgetTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncWidgetTheme();}},syncWidgetTheme:function(){var $0=this.getWidgetTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[218],$0.widgets.uri):$1.remove($[218]);}}}); |
| 86 |
qx.Class.define($[1290],{statics:{getPageOuterLeft:function($0){return qx.html.Location.getPageBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getPageOuterTop:function($0){return qx.html.Location.getPageBoxTop($0)-qx.html.Style.getMarginTop($0);},getPageOuterRight:function($0){return qx.html.Location.getPageBoxRight($0)+qx.html.Style.getMarginRight($0);},getPageOuterBottom:function($0){return qx.html.Location.getPageBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientOuterLeft:function($0){return qx.html.Location.getClientBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getClientOuterTop:function($0){return qx.html.Location.getClientBoxTop($0)-qx.html.Style.getMarginTop($0);},getClientOuterRight:function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Style.getMarginRight($0);},getClientOuterBottom:function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().left;},"gecko":function($0){return qx.html.Location.getClientAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetLeft-$0.scrollLeft;}return $1;}}),getClientBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().top;},"gecko":function($0){return qx.html.Location.getClientAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetTop-$0.scrollTop;}return $1;}}),getClientBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().right;},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getClientBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().bottom;},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getPageBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Scroll.getLeftSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetLeft;}return $1;}}),getPageBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Scroll.getTopSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetTop;}return $1;}}),getPageBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getPageBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getClientAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getClientAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getClientAreaRight:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getClientAreaBottom:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getPageAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).x;},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getPageAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).y;},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getPageAreaRight:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getPageAreaBottom:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getClientInnerLeft:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getClientInnerTop:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Style.getPaddingTop($0);},getClientInnerRight:function($0){return qx.html.Location.getClientInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getClientInnerBottom:function($0){return qx.html.Location.getClientInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getPageInnerLeft:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getPageInnerTop:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Style.getPaddingTop($0);},getPageInnerRight:function($0){return qx.html.Location.getPageInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getPageInnerBottom:function($0){return qx.html.Location.getPageInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getScreenBoxLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenX-$1;},"default":function($0){return qx.html.Location.getScreenDocumentLeft($0)+qx.html.Location.getPageBoxLeft($0);}}),getScreenBoxTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenY-$1;},"default":function($0){return qx.html.Location.getScreenDocumentTop($0)+qx.html.Location.getPageBoxTop($0);}}),getScreenBoxRight:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);},getScreenBoxBottom:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getBoxHeight($0);},getScreenOuterLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getScreenOuterTop:function($0){return qx.html.Location.getScreenBoxTop($0)-qx.html.Style.getMarginTop($0);},getScreenOuterRight:function($0){return qx.html.Location.getScreenBoxRight($0)+qx.html.Style.getMarginRight($0);},getScreenOuterBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getScreenAreaLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getInsetLeft($0);},getScreenAreaTop:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getInsetTop($0);},getScreenAreaRight:function($0){return qx.html.Location.getScreenBoxRight($0)-qx.html.Dimension.getInsetRight($0);},getScreenAreaBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)-qx.html.Dimension.getInsetBottom($0);},getScreenInnerLeft:function($0){return qx.html.Location.getScreenAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getScreenInnerTop:function($0){return qx.html.Location.getScreenAreaTop($0)+qx.html.Style.getPaddingTop($0);},getScreenInnerRight:function($0){return qx.html.Location.getScreenAreaRight($0)-qx.html.Style.getPaddingRight($0);},getScreenInnerBottom:function($0){return qx.html.Location.getScreenAreaBottom($0)-qx.html.Style.getPaddingBottom($0);},getScreenDocumentLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterLeft($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenLeft;}}),getScreenDocumentTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterTop($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenTop;}}),getScreenDocumentRight:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterRight($0.ownerDocument.body);},"default":function($0){}}),getScreenDocumentBottom:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterBottom($0.ownerDocument.body);},"default":function($0){}})}}); |
86 |
qx.Class.define($[518],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);if($0!=null){this._attachedWidget=$0;}},statics:{mouseFocus:false},members:{getAttachedWidget:function(){return this._attachedWidget;},_onkeyevent:function($0,$1){if($1.getKeyIdentifier()!=$[188]){return;}$1.stopPropagation();$1.preventDefault();qx.event.handler.FocusHandler.mouseFocus=false;var $2=this.getAttachedWidget().getFocusedChild();if(!$1.isShiftPressed()){var $3=$2?this.getWidgetAfter($0,$2):this.getFirstWidget($0);}else{var $3=$2?this.getWidgetBefore($0,$2):this.getLastWidget($0);}if($3){$3.setFocused(true);$3._ontabfocus();}},compareTabOrder:function($0,$1){if($0==$1){return 0;}var $2=$0.getTabIndex();var $3=$1.getTabIndex();if($2!=$3){return $2-$3;}var $4=qx.bom.element.Location.getTop($0.getElement());var $5=qx.bom.element.Location.getTop($1.getElement());if($4!=$5){return $4-$5;}var $6=qx.bom.element.Location.getLeft($0.getElement());var $7=qx.bom.element.Location.getLeft($1.getElement());if($6!=$7){return $6-$7;}var $8=$0.getZIndex();var $9=$1.getZIndex();if($8!=$9){return $8-$9;}return 0;},getFirstWidget:function($0){return this._getFirst($0,null);},getLastWidget:function($0){return this._getLast($0,null);},getWidgetAfter:function($0,$1){if($0==$1){return this.getFirstWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllAfter($0,$1,$2);$2.sort(this.compareTabOrder);return $2.length>0?$2[0]:this.getFirstWidget($0);},getWidgetBefore:function($0,$1){if($0==$1){return this.getLastWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllBefore($0,$1,$2);$2.sort(this.compareTabOrder);var $3=$2.length;return $3>0?$2[$3-1]:this.getLastWidget($0);},_getAllAfter:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length||0;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)<0){$2.push($3[$6]);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllAfter($4,$1,$2);}}},_getAllBefore:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)>0){$2.push($4);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllBefore($4,$1,$2);}}},_getFirst:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)<0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getFirst($3,$1);}}return $1;},_getLast:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)>0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getLast($3,$1);}}return $1;}},destruct:function(){this._disposeFields($[1176]);}}); |
| 87 |
qx.Class.define($[757],{statics:{getLeftSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $1;},getTopSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $1;}}}); |
87 |
qx.Class.define($[1251],{statics:{__style:function($0,$1){return qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false);},__num:function($0,$1){return parseInt(qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false),10)||0;},__computeScroll:function($0){var $1=0,$2=0;if($0.getBoundingClientRect){var $3=qx.dom.Node.getWindow($0);$1-=qx.bom.Viewport.getScrollLeft($3);$2-=qx.bom.Viewport.getScrollTop($3);}else{var $4=qx.dom.Node.getDocument($0).body;$0=$0.parentNode;while($0&&$0!=$4){$1+=$0.scrollLeft;$2+=$0.scrollTop;$0=$0.parentNode;}}return {left:$1,top:$2};},__computeBody:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3-=this.__num($2,$[62]);$4-=this.__num($2,$[57]);if($1.compatMode===$[91]){$3+=this.__num($2,$[160]);$4+=this.__num($2,$[156]);}return {left:$3,top:$4};},"webkit":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3+=this.__num($2,$[62]);$4+=this.__num($2,$[57]);if($1.compatMode===$[91]){$3+=this.__num($2,$[160]);$4+=this.__num($2,$[156]);}return {left:$3,top:$4};},"gecko":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;if(qx.bom.element.BoxSizing.get($1)!==$[242]){$2+=this.__num($1,$[62]);$3+=this.__num($1,$[57]);if(!$0.getBoundingClientRect){var $4;while($0){if(this.__style($0,$[80])===$[58]||this.__style($0,$[80])===$[128]){$4=true;break;}$0=$0.offsetParent;}if(!$4){$2+=this.__num($1,$[62]);$3+=this.__num($1,$[57]);}}}return {left:$2,top:$3};},"default":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;return {left:$2,top:$3};}}),__computeOffset:qx.core.Variant.select($[1],{"mshtml|webkit":function($0){var $1=qx.dom.Node.getDocument($0);if($0.getBoundingClientRect){var $2=$0.getBoundingClientRect();var $3=$2.left;var $4=$2.top;if($1.compatMode===$[91]){$3-=this.__num($0,$[62]);$4-=this.__num($0,$[57]);}}else{var $3=$0.offsetLeft;var $4=$0.offsetTop;$0=$0.offsetParent;var $5=$1.body;while($0&&$0!=$5){$3+=$0.offsetLeft;$4+=$0.offsetTop;$3+=this.__num($0,$[62]);$4+=this.__num($0,$[57]);$0=$0.offsetParent;}}return {left:$3,top:$4};},"gecko":function($0){if($0.getBoundingClientRect){var $1=$0.getBoundingClientRect();var $2=Math.round($1.left);var $3=Math.round($1.top);}else{var $2=0;var $3=0;var $4=qx.dom.Node.getDocument($0).body;var $5=qx.bom.element.BoxSizing;if($5.get($0)!==$[242]){$2-=this.__num($0,$[62]);$3-=this.__num($0,$[57]);}while($0&&$0!==$4){$2+=$0.offsetLeft;$3+=$0.offsetTop;if($5.get($0)!==$[242]){$2+=this.__num($0,$[62]);$3+=this.__num($0,$[57]);}if($0.parentNode&&this.__style($0.parentNode,$[46])!=$[1681]){$2+=this.__num($0.parentNode,$[62]);$3+=this.__num($0.parentNode,$[57]);}$0=$0.offsetParent;}}return {left:$2,top:$3};},"default":function($0){var $1=0;var $2=0;var $3=qx.dom.Node.getDocument($0).body;while($0&&$0!==$3){$1+=$0.offsetLeft;$2+=$0.offsetTop;$0=$0.offsetParent;}return {left:$1,top:$2};}}),get:function($0,$1){var $2=this.__computeBody($0);if($0.tagName==$[838]){var $3=$2.left;var $4=$2.top;}else{var $5=this.__computeOffset($0);var $6=this.__computeScroll($0);var $3=$5.left+$2.left-$6.left;var $4=$5.top+$2.top-$6.top;}var $7=$3+$0.offsetWidth;var $8=$4+$0.offsetHeight;if($1){if($1==$[260]||$1==$[19]){var $9=qx.bom.element.Overflow.getX($0);if($9==$[19]||$9==$[3]){$7+=$0.scrollWidth-$0.offsetWidth+this.__num($0,$[62])+this.__num($0,$[281]);}var $a=qx.bom.element.Overflow.getY($0);if($a==$[19]||$a==$[3]){$8+=$0.scrollHeight-$0.offsetHeight+this.__num($0,$[57])+this.__num($0,$[258]);}}switch($1){case $[260]:$3+=this.__num($0,$[213]);$4+=this.__num($0,$[217]);$7-=this.__num($0,$[247]);$8-=this.__num($0,$[235]);case $[19]:$3-=$0.scrollLeft;$4-=$0.scrollTop;$7-=$0.scrollLeft;$8-=$0.scrollTop;case $[603]:$3+=this.__num($0,$[62]);$4+=this.__num($0,$[57]);$7-=this.__num($0,$[281]);$8-=this.__num($0,$[258]);break;case $[438]:$3-=this.__num($0,$[160]);$4-=this.__num($0,$[156]);$7+=this.__num($0,$[228]);$8+=this.__num($0,$[212]);break;}}return {left:$3,top:$4,right:$7,bottom:$8};},getLeft:function($0,$1){return this.get($0,$1).left;},getTop:function($0,$1){return this.get($0,$1).top;},getRight:function($0,$1){return this.get($0,$1).right;},getBottom:function($0,$1){return this.get($0,$1).bottom;},getRelative:function($0,$1,$2,$3){var $4=this.get($0,$2);var $5=this.get($1,$3);return {left:$4.left-$5.left,top:$4.top-$5.top,right:$4.right-$5.right,bottom:$4.bottom-$5.bottom};}}}); |
| 88 |
qx.Class.define($[653],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__visible={};this.__all={};},members:{add:function($0){var $1=this.__all;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},remove:function($0){var $1=this.__all;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},show:function($0){var $1=this.__visible;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},hide:function($0){var $1=this.__visible;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},getVisibleImages:function(){var $0=this.__visible;var $1={};for(var $2 in $0){if($0[$2]>0){$1[$2]=true;}}return $1;},getHiddenImages:function(){var $0=this.__visible;var $1=this.__all;var $2={};for(var $3 in $1){if($0[$3]===undefined){$2[$3]=true;}}return $2;}},destruct:function(){this._disposeFields($[771],$[1421]);}}); |
88 |
qx.Class.define($[944],{statics:{__hints:{names:{"float":qx.core.Variant.isSet($[1],$[13])?$[1175]:$[1227],"boxSizing":qx.core.Variant.isSet($[1],$[16])?$[1182]:$[232]},mshtmlPixel:{width:$[1025],height:$[775],left:$[1377],right:$[1449],top:$[1316],bottom:$[579]},special:{clip:true,cursor:true,opacity:true,overflowX:true,overflowY:true}},setCss:qx.core.Variant.select($[1],{"mshtml":function($0,$1){$0.style.cssText=$1;},"default":function($0,$1){$0.setAttribute($[47],$1);}}),getCss:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.style.cssText.toLowerCase();},"default":function($0){return $0.getAttribute($[47]);}}),COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;$0.style[$1]=$2||$[0];},reset:function($0,$1,$2){var $3=this.__hints;$1=$3.names[$1]||$1;$0.style[$1]=$[0];},get:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1]||$[0];case this.CASCADED_MODE:return $0.currentStyle[$1];default:var $5=$0.currentStyle[$1];if(/^-?[\.\d]+(px)?$/i.test($5)){return $5;}var $6=$4.mshtmlPixel[$1];if($6){var $7=$0.style[$1];$0.style[$1]=$5||0;var $8=$0.style[$6]+$[40];$0.style[$1]=$7;return $8;}if(/^-?[\.\d]+(em|pt|%)?$/i.test($5)){throw new Error("Untranslated computed property value: "+$1+". Only pixel values work well across different clients.");}return $5;}},"default":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1];case this.CASCADED_MODE:if($0.currentStyle){return $0.currentStyle[$1];}throw new Error("Cascaded styles are not supported in this browser!");default:var $5=qx.dom.Node.getDocument($0);var $6=$5.defaultView.getComputedStyle($0,null);return $6?$6[$1]:null;}}})}}); |
| 89 |
qx.Class.define($[868],{statics:{getLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetLeft;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[78]);var $4=qx.html.Style.getStyleProperty($2,$[78]);if($3!=$[54]&&$3!=$[123]){$1-=qx.html.Style.getBorderLeft($2);}if($4!=$[54]&&$4!=$[123]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[8]){break;}var $5=qx.html.Style.getStyleProperty($2,$[78]);if($5==$[54]||$5==$[123]){$1-=qx.html.Style.getBorderLeft($2)+qx.html.Style.getPaddingLeft($2);break;}}}return $1;},"default":function($0){return $0.offsetLeft;}}),getTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetTop;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[78]);var $4=qx.html.Style.getStyleProperty($2,$[78]);if($3!=$[54]&&$3!=$[123]){$1-=qx.html.Style.getBorderTop($2);}if($4!=$[54]&&$4!=$[123]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[8]){break;}var $5=qx.html.Style.getStyleProperty($2,$[78]);if($5==$[54]||$5==$[123]){$1-=qx.html.Style.getBorderTop($2)+qx.html.Style.getPaddingTop($2);break;}}}return $1;},"default":function($0){return $0.offsetTop;}})}}); |
89 |
qx.Class.define($[758],{statics:{__styleProperties:qx.core.Variant.select($[1],{"mshtml":null,"webkit":[$[232],$[1533],$[1458]],"gecko":[$[973],$[232]],"opera":[$[232]]}),__cssProperties:qx.core.Variant.select($[1],{"mshtml":null,"webkit":[$[236],$[430],$[341]],"gecko":[$[395],$[236]],"opera":[$[236]]}),__nativeBorderBox:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__usesNativeBorderBox:function($0){var $1=this.__nativeBorderBox;return $1.tags[$0.tagName.toLowerCase()]||$1.types[$0.type];},compile:qx.core.Variant.select($[1],{"mshtml":function($0){qx.log.Logger.warn(this,"This client do not support the dynamic modification of the box-sizing property.");},"default":function($0){var $1=this.__cssProperties;var $2=$[0];if($1){for(var $3=0,$4=$1.length;$3<$4;$3++){$2+=$1[$3]+$[33]+$0+$[42];}}return $2;}}),get:qx.core.Variant.select($[1],{"mshtml":function($0){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument($0))){if(!this.__usesNativeBorderBox($0)){return $[1640];}}return $[242];},"default":function($0){var $1=this.__styleProperties;var $2;if($1){for(var $3=0,$4=$1.length;$3<$4;$3++){$2=qx.bom.element.Style.get($0,$1[$3],null,false);if($2!=null&&$2!==$[0]){return $2;}}}}}),set:qx.core.Variant.select($[1],{"mshtml":function($0,$1){qx.log.Logger.warn(this,"This client do not support the dynamic modification of the box-sizing property.");},"default":function($0,$1){var $2=this.__styleProperties;if($2){for(var $3=0,$4=$2.length;$3<$4;$3++){$0.style[$2[$3]]=$1;}}}}),reset:function($0){this.set($0,$[0]);}}}); |
| 90 |
qx.Class.define($[1727],{statics:{scrollX:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetLeft;var $4=$0.offsetWidth;while($6){switch(qx.html.Style.getStyleProperty($6,$[63])){case $[26]:case $[3]:case $[281]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[175])){case $[26]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientWidth;$3=$6.scrollLeft;if($1){$6.scrollLeft=$7;}else if($1==false){$6.scrollLeft=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollLeft=$7;}else if(($7+$4)>($3+$2)){$6.scrollLeft=$7+$4-$2;}$7=$6.offsetLeft;$4=$6.offsetWidth;}else{$7+=$6.offsetLeft;}if($6.tagName.toLowerCase()==$[126]){break;}$6=$6.offsetParent;}return true;},scrollY:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetTop;var $4=$0.offsetHeight;while($6){switch(qx.html.Style.getStyleProperty($6,$[63])){case $[26]:case $[3]:case $[274]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[179])){case $[26]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientHeight;$3=$6.scrollTop;if($1){$6.scrollTop=$7;}else if($1==false){$6.scrollTop=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollTop=$7;}else if(($7+$4)>($3+$2)){$6.scrollTop=$7+$4-$2;}$7=$6.offsetTop;$4=$6.offsetHeight;}else{$7+=$6.offsetTop;}if($6.tagName.toLowerCase()==$[126]){break;}$6=$6.offsetParent;}return true;}}}); |
90 |
qx.Class.define($[1212],{statics:{isQuirksMode:function($0){return ($0||window).document.compatMode!==$[91];},isStandardMode:function($0){return ($0||window).document.compatMode===$[91];},getWidth:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getWidth($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollWidth:$1.body.scrollWidth;return Math.max($3,$2);},getHeight:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getHeight($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollHeight:$1.body.scrollHeight;return Math.max($3,$2);}}}); |
| 91 |
qx.Class.define($[1221],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0 instanceof Array){this._list=qx.lang.Object.fromArray($0);}else{this._list=$0;}this._timer=new qx.client.Timer(qx.core.Setting.get($[1350]));this._timer.addEventListener($[86],this.__oninterval,this);if($1){this.addEventListener($[15],$1,$2||null);}},events:{"completed":$[4]},members:{_stopped:false,start:function(){if(qx.lang.Object.isEmpty(this._list)){this.createDispatchEvent($[15]);return;}for(var $0 in this._list){var $1=qx.io.image.PreloaderManager.getInstance().create(qx.io.Alias.getInstance().resolve($0));if($1.isErroneous()||$1.isLoaded()){delete this._list[$0];}else{$1._origSource=$0;$1.addEventListener($[82],this.__onload,this);$1.addEventListener($[95],this.__onerror,this);}}this._check();},__onload:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__onerror:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__oninterval:function($0){this.debug("Cannot preload: "+qx.lang.Object.getKeysAsString(this._list));this._stopped=true;this._timer.stop();this.createDispatchEvent($[15]);},_check:function(){if(this._stopped){return;}if(qx.lang.Object.isEmpty(this._list)){this._timer.stop();this.createDispatchEvent($[15]);}else{this._timer.restart();}}},settings:{"qx.preloaderTimeout":3000},destruct:function(){if(this._timer){this._timer.removeEventListener($[86],this.__oninterval,this);this._disposeObjects($[284]);}this._disposeFields($[336]);}}); |
91 |
qx.Class.define($[602],{statics:{NAME:"",FULLVERSION:"0.0.0",VERSION:0.0,OPERA:false,WEBKIT:false,GECKO:false,MSHTML:false,__init:function(){var $0=$[265];var $1=$[1001];var $2=navigator.userAgent;if(window.opera){$0=$[137];this.OPERA=true;if(/Opera[\s\/]([0-9\.]*)/.test($2)){$1=RegExp.$1.substring(0,3)+$[24]+RegExp.$1.substring(3);}else{throw new Error("Could not detect Opera version: "+$2+"!");}}else if(navigator.userAgent.indexOf($[803])!=-1){$0=$[94];this.WEBKIT=true;if(/AppleWebKit\/([^ ]+)/.test($2)){$1=RegExp.$1;var $3=$1.indexOf($[199])!=-1;var $4=RegExp($[340]).exec($1);if($4){$1=$1.slice(0,$4.index);}}else{throw new Error("Could not detect Webkit version: "+$2+"!");}}else if(window.controllers&&navigator.product===$[474]){$0=$[16];this.GECKO=true;if(/rv\:([^\);]+)(\)|;)/.test($2)){$1=RegExp.$1;}else{throw new Error("Could not detect Gecko version: "+$2+"!");}}else if(navigator.cpuClass&&/MSIE\s+([^\);]+)(\)|;)/.test($2)){$0=$[13];$1=RegExp.$1;this.MSHTML=true;}else{throw new Error("Unsupported client: "+$2+"!");}this.NAME=$0;this.FULLVERSION=$1;this.VERSION=parseFloat($1);}},defer:function($0){$0.__init();}}); |
| 92 |
qx.Class.define($[1790],{type:$[18],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){this._objects[$0.getUri()]=$0;},remove:function($0){delete this._objects[$0.getUri()];},has:function($0){return this._objects[$0]!=null;},get:function($0){return this._objects[$0];},create:function($0){if(this._objects[$0]){return this._objects[$0];}return new qx.io.image.Preloader($0);}},destruct:function(){this._disposeFields($[497]);}}); |
92 |
qx.Class.define($[788],{statics:{_compile:qx.core.Variant.select($[1],{"gecko":qx.bom.client.Engine.VERSION<1.8?function($0,$1){if($1==$[22]){$1=$[163];}return $[363]+$1+$[42];}:function($0,$1){return $0+$[33]+$1+$[42];},"opera":qx.bom.client.Engine.VERSION<9.5?function($0,$1){return $[363]+$1+$[42];}:function($0,$1){return $0+$[33]+$1+$[42];},"default":function($0,$1){return $0+$[33]+$1+$[42];}}),compileX:function($0){return this._compile($[945],$0);},compileY:function($0){return this._compile($[1209],$0);},getX:qx.core.Variant.select($[1],{"gecko":qx.bom.client.Engine.VERSION<1.8?function($0,$1){var $2=qx.bom.element.Style.get($0,$[46],$1,false);if($2===$[163]){$2=$[22];}return $2;}:function($0,$1){return qx.bom.element.Style.get($0,$[111],$1,false);},"opera":qx.bom.client.Engine.VERSION<9.5?function($0,$1){return qx.bom.element.Style.get($0,$[46],$1,false);}:function($0,$1){return qx.bom.element.Style.get($0,$[111],$1,false);},"default":function($0,$1){return qx.bom.element.Style.get($0,$[111],$1,false);}}),setX:qx.core.Variant.select($[1],{"gecko":qx.bom.client.Engine.VERSION<1.8?function($0,$1){if($1==$[22]){$1=$[163];}$0.style.overflow=$1;}:function($0,$1){$0.style.overflowX=$1;},"opera":qx.bom.client.Engine.VERSION<9.5?function($0,$1){$0.style.overflow=$1;}:function($0,$1){$0.style.overflowX=$1;},"default":function($0,$1){$0.style.overflowX=$1;}}),resetX:qx.core.Variant.select($[1],{"gecko":qx.bom.client.Engine.VERSION<1.8?function($0){$0.style.overflow=$[0];}:function($0){$0.style.overflowX=$[0];},"opera":qx.bom.client.Engine.VERSION<9.5?function($0,$1){$0.style.overflow=$[0];}:function($0,$1){$0.style.overflowX=$[0];},"default":function($0){$0.style.overflowX=$[0];}}),getY:qx.core.Variant.select($[1],{"gecko":qx.bom.client.Engine.VERSION<1.8?function($0,$1){var $2=qx.bom.element.Style.get($0,$[46],$1,false);if($2===$[163]){$2=$[22];}return $2;}:function($0,$1){return qx.bom.element.Style.get($0,$[113],$1,false);},"opera":qx.bom.client.Engine.VERSION<9.5?function($0,$1){return qx.bom.element.Style.get($0,$[46],$1,false);}:function($0,$1){return qx.bom.element.Style.get($0,$[113],$1,false);},"default":function($0,$1){return qx.bom.element.Style.get($0,$[113],$1,false);}}),setY:qx.core.Variant.select($[1],{"gecko":qx.bom.client.Engine.VERSION<1.8?function($0,$1){if($1===$[22]){$1=$[163];}$0.style.overflow=$1;}:function($0,$1){$0.style.overflowY=$1;},"opera":qx.bom.client.Engine.VERSION<9.5?function($0,$1){$0.style.overflow=$1;}:function($0,$1){$0.style.overflowY=$1;},"default":function($0,$1){$0.style.overflowY=$1;}}),resetY:qx.core.Variant.select($[1],{"gecko":qx.bom.client.Engine.VERSION<1.8?function($0){$0.style.overflow=$[0];}:function($0){$0.style.overflowY=$[0];},"opera":qx.bom.client.Engine.VERSION<9.5?function($0,$1){$0.style.overflow=$[0];}:function($0,$1){$0.style.overflowY=$[0];},"default":function($0){$0.style.overflowY=$[0];}})}}); |
| 93 |
qx.Class.define($[416],{extend:qx.core.Target,events:{"load":$[4],"error":$[4]},construct:function($0){if(qx.io.image.PreloaderManager.getInstance().has($0)){this.debug("Reuse qx.io.image.Preloader in old-style!");this.debug("Please use qx.io.image.PreloaderManager.getInstance().create(source) instead!");return qx.io.image.PreloaderManager.getInstance().get($0);}arguments.callee.base.call(this);this._element=new Image;this._element.onload=qx.lang.Function.bind(this.__onload,this);this._element.onerror=qx.lang.Function.bind(this.__onerror,this);this._source=$0;this._element.src=$0;if(qx.core.Variant.isSet($[1],$[13])){this._isPng=/\.png$/i.test(this._element.nameProp);}qx.io.image.PreloaderManager.getInstance().add(this);},members:{_source:null,_isLoaded:false,_isErroneous:false,getUri:function(){return this._source;},getSource:function(){return this._source;},isLoaded:function(){return this._isLoaded;},isErroneous:function(){return this._isErroneous;},_isPng:false,getIsPng:function(){return this._isPng;},getWidth:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalWidth;},"default":function(){return this._element.width;}}),getHeight:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalHeight;},"default":function(){return this._element.height;}}),__onload:function(){if(this._isLoaded||this._isErroneous){return;}this._isLoaded=true;this._isErroneous=false;if(this.hasEventListeners($[82])){this.dispatchEvent(new qx.event.type.Event($[82]),true);}},__onerror:function(){if(this._isLoaded||this._isErroneous){return;}this.debug("Could not load: "+this._source);this._isLoaded=false;this._isErroneous=true;if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}}},destruct:function(){if(this._element){this._element.onload=this._element.onerror=null;}this._disposeFields($[329],$[1737],$[1447],$[1585]);}}); |
93 |
qx.Class.define($[666],{type:$[20],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__visible={};this.__all={};},members:{add:function($0){var $1=this.__all;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},remove:function($0){var $1=this.__all;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},show:function($0){var $1=this.__visible;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},hide:function($0){var $1=this.__visible;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},getVisibleImages:function(){var $0=this.__visible;var $1={};for(var $2 in $0){if($0[$2]>0){$1[$2]=true;}}return $1;},getHiddenImages:function(){var $0=this.__visible;var $1=this.__all;var $2={};for(var $3 in $1){if($0[$3]===undefined){$2[$3]=true;}}return $2;}},destruct:function(){this._disposeFields($[783],$[1439]);}}); |
| 94 |
qx.Class.define($[489],{extend:qx.core.Target,events:{"execute":$[98]},construct:function($0,$1){arguments.callee.base.call(this);this.__modifier={};this.__key=null;if($0!=null){this.setShortcut($0);}if($1!=null){this.warn("The use of keyCode in command is deprecated. Use keyIdentifier instead.");this.setKeyCode($1);}{};qx.event.handler.EventHandler.getInstance().addCommand(this);},properties:{enabled:{init:true,check:$[2],event:$[463]},shortcut:{check:$[6],apply:$[1481],nullable:true},keyCode:{check:$[19],nullable:true},keyIdentifier:{check:$[6],nullable:true}},members:{getKeyCode:function(){return this._keyCode;},setKeyCode:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee);this._keyCode=$0;},execute:function($0){if(this.hasEventListeners($[128])){var $1=new qx.event.type.DataEvent($[128],$0);this.dispatchEvent($1,true);}return false;},_applyShortcut:function($0,$1){if($0){this.__modifier={};this.__key=null;var $2=$0.split(/[-+\s]+/);var $3=$2.length;for(var $4=0;$4<$3;$4++){var $5=this.__oldKeyNameToKeyIdentifier($2[$4]);switch($5){case $[125]:case $[142]:case $[223]:case $[136]:this.__modifier[$5]=true;break;case $[212]:var $6=$[1707]+$2[$4];this.error($6);throw $6;default:if(this.__key){var $6=$[1550];this.error($6);throw $6;}this.__key=$5;}}}return true;},matchesKeyEvent:function($0){var $1=this.__key||this.getKeyIdentifier();if(!$1&&!this.getKeyCode()){return ;}if((this.__modifier.Shift&&!$0.isShiftPressed())||(this.__modifier.Control&&!$0.isCtrlPressed())||(this.__modifier.Alt&&!$0.isAltPressed())){return false;}if($1){if($1==$0.getKeyIdentifier()){return true;}}else{if(this.getKeyCode()==$0.getKeyCode()){return true;}}return false;},__oldKeyNameToKeyIdentifierMap:{esc:$[129],ctrl:$[125],print:$[237],del:$[169],pageup:$[88],pagedown:$[99],numlock:$[127],numpad_0:$[41],numpad_1:$[482],numpad_2:$[419],numpad_3:$[433],numpad_4:$[385],numpad_5:$[403],numpad_6:$[347],numpad_7:$[362],numpad_8:$[345],numpad_9:$[172],numpad_divide:$[135],numpad_multiply:$[140],numpad_minus:$[137],numpad_plus:$[246]},__oldKeyNameToKeyIdentifier:function($0){var $1=qx.event.handler.KeyEventHandler.getInstance();var $2=$[212];if($1.isValidKeyIdentifier($0)){return $0;}if($0.length==1&&$0>=$[313]&&$0<=$[1148]){return $0.toUpperCase();}$0=$0.toLowerCase();if(!qx.event.type.KeyEvent.keys[$0]){return $[212];}var $2=this.__oldKeyNameToKeyIdentifierMap[$0];if($2){return $2;}else{return qx.lang.String.toFirstUp($0);}},toString:function(){var $0=this.getKeyCode();var $1=this.__key||this.getKeyIdentifier();var $2=[];for(var $3 in this.__modifier){$2.push(qx.locale.Key.getKeyName($[258],$3));}if($1){$2.push(qx.locale.Key.getKeyName($[258],$1));}if($0!=null){var $4=qx.event.type.KeyEvent.codes[$0];$2.push($4?qx.lang.String.toFirstUp($4):String($0));}return $2.join($[137]);}},destruct:function(){var $0=qx.event.handler.EventHandler.getInstance();if($0){$0.removeCommand(this);}this._disposeFields($[1654],$[1022]);}}); |
94 |
qx.Class.define($[886],{statics:{getLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetLeft;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[80]);var $4=qx.html.Style.getStyleProperty($2,$[80]);if($3!=$[58]&&$3!=$[128]){$1-=qx.html.Style.getBorderLeft($2);}if($4!=$[58]&&$4!=$[128]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[7]){break;}var $5=qx.html.Style.getStyleProperty($2,$[80]);if($5==$[58]||$5==$[128]){$1-=qx.html.Style.getBorderLeft($2)+qx.html.Style.getPaddingLeft($2);break;}}}return $1;},"default":function($0){return $0.offsetLeft;}}),getTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetTop;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[80]);var $4=qx.html.Style.getStyleProperty($2,$[80]);if($3!=$[58]&&$3!=$[128]){$1-=qx.html.Style.getBorderTop($2);}if($4!=$[58]&&$4!=$[128]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[7]){break;}var $5=qx.html.Style.getStyleProperty($2,$[80]);if($5==$[58]||$5==$[128]){$1-=qx.html.Style.getBorderTop($2)+qx.html.Style.getPaddingTop($2);break;}}}return $1;},"default":function($0){return $0.offsetTop;}})}}); |
| 95 |
qx.Class.define($[690],{statics:{getKeyName:function($0,$1,$2){if($0!=$[258]&&$0!=$[1745]){throw new Error('format must be one of: "short", "full"');}var $3=$[1126]+$0+$[155]+$1;var $4=new qx.locale.LocalizedString($3,[],$2);if($4==$3){return qx.locale.Key._keyNames[$3]||$1;}else{return $4.toString();}}},defer:function($0,$1,$2){var $3={};var $4=qx.locale.Manager;$3[$4.marktr($[858])]=$[191];$3[$4.marktr($[1194])]=$[188];$3[$4.marktr($[937])]=$[85];$3[$4.marktr($[1522])]=$[46];$3[$4.marktr($[1780])]=$[142];$3[$4.marktr($[1783])]=$[1100];$3[$4.marktr($[1304])]=$[136];$3[$4.marktr($[951])]=$[1338];$3[$4.marktr($[1728])]=$[223];$3[$4.marktr($[1701])]=$[1313];$3[$4.marktr($[650])]=$[60];$3[$4.marktr($[1246])]=$[69];$3[$4.marktr($[657])]=$[64];$3[$4.marktr($[1177])]=$[76];$3[$4.marktr($[1730])]=$[1409];$3[$4.marktr($[1134])]=$[782];$3[$4.marktr($[727])]=$[162];$3[$4.marktr($[1101])]=$[150];$3[$4.marktr($[1033])]=$[801];$3[$4.marktr($[746])]=$[989];$3[$4.marktr($[648])]=$[999];$3[$4.marktr($[1502])]=$[598];$3[$4.marktr($[899])]=$[266];$3[$4.marktr($[1731])]=$[248];$3[$4.marktr($[1565])]=$[286];$3[$4.marktr($[1564])]=$[279];$3[$4.marktr($[1764])]=$[191];$3[$4.marktr($[1137])]=$[770];$3[$4.marktr($[787])]=$[85];$3[$4.marktr($[1085])]=$[46];$3[$4.marktr($[1363])]=$[142];$3[$4.marktr($[767])]=$[125];$3[$4.marktr($[781])]=$[136];$3[$4.marktr($[1789])]=$[409];$3[$4.marktr($[614])]=$[223];$3[$4.marktr($[1014])]=$[129];$3[$4.marktr($[1624])]=$[60];$3[$4.marktr($[738])]=$[69];$3[$4.marktr($[1759])]=$[64];$3[$4.marktr($[778])]=$[76];$3[$4.marktr($[1444])]=$[88];$3[$4.marktr($[1012])]=$[99];$3[$4.marktr($[1369])]=$[162];$3[$4.marktr($[1594])]=$[150];$3[$4.marktr($[1248])]=$[203];$3[$4.marktr($[1395])]=$[169];$3[$4.marktr($[1366])]=$[127];$3[$4.marktr($[739])]=$[237];$3[$4.marktr($[963])]=$[266];$3[$4.marktr($[1439])]=$[248];$3[$4.marktr($[736])]=$[286];$3[$4.marktr($[1423])]=$[279];$0._keyNames=$3;}}); |
95 |
qx.Class.define($[1747],{statics:{scrollX:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetLeft;var $4=$0.offsetWidth;while($6){switch(qx.html.Style.getStyleProperty($6,$[46])){case $[19]:case $[3]:case $[284]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[111])){case $[19]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientWidth;$3=$6.scrollLeft;if($1){$6.scrollLeft=$7;}else if($1==false){$6.scrollLeft=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollLeft=$7;}else if(($7+$4)>($3+$2)){$6.scrollLeft=$7+$4-$2;}$7=$6.offsetLeft;$4=$6.offsetWidth;}else{$7+=$6.offsetLeft;}if($6.tagName.toLowerCase()==$[131]){break;}$6=$6.offsetParent;}return true;},scrollY:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetTop;var $4=$0.offsetHeight;while($6){switch(qx.html.Style.getStyleProperty($6,$[46])){case $[19]:case $[3]:case $[276]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[113])){case $[19]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientHeight;$3=$6.scrollTop;if($1){$6.scrollTop=$7;}else if($1==false){$6.scrollTop=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollTop=$7;}else if(($7+$4)>($3+$2)){$6.scrollTop=$7+$4-$2;}$7=$6.offsetTop;$4=$6.offsetHeight;}else{$7+=$6.offsetTop;}if($6.tagName.toLowerCase()==$[131]){break;}$6=$6.offsetParent;}return true;}}}); |
| 96 |
qx.Class.define($[508],{extend:qx.util.manager.Object,properties:{activeWindow:{check:$[119],nullable:true,apply:$[1122]}},members:{_applyActiveWindow:function($0,$1){qx.ui.popup.PopupManager.getInstance().update();if($1){$1.setActive(false);}if($0){$0.setActive(true);}if($1&&$1.getModal()){$1.getTopLevelWidget().release($1);}if($0&&$0.getModal()){$0.getTopLevelWidget().block($0);}},update:function(){var $0,$1;var $2=this.getAll();for(var $1 in $2){$0=$2[$1];if(!$0.getAutoHide()){continue;}$0.hide();}},compareWindows:function($0,$1){switch($0.getWindowManager().getActiveWindow()){case $0:return 1;case $1:return -1;}return $0.getZIndex()-$1.getZIndex();},add:function($0){arguments.callee.base.call(this,$0);this.setActiveWindow($0);},remove:function($0){arguments.callee.base.call(this,$0);if(this.getActiveWindow()==$0){var $1=[];for(var $2 in this._objects){$1.push(this._objects[$2]);}var $3=$1.length;if($3==0){this.setActiveWindow(null);}else if($3==1){this.setActiveWindow($1[0]);}else if($3>1){$1.sort(this.compareWindows);this.setActiveWindow($1[$3-1]);}}}}}); |
96 |
qx.Class.define($[1244],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0 instanceof Array){this._list=qx.lang.Object.fromArray($0);}else{this._list=$0;}this._timer=new qx.client.Timer(qx.core.Setting.get($[1369]));this._timer.addEventListener($[76],this.__oninterval,this);if($1){this.addEventListener($[17],$1,$2||null);}},events:{"completed":$[4]},members:{_stopped:false,start:function(){if(qx.lang.Object.isEmpty(this._list)){this.createDispatchEvent($[17]);return;}for(var $0 in this._list){var $1=qx.io.image.PreloaderManager.getInstance().create(qx.io.Alias.getInstance().resolve($0));if($1.isErroneous()||$1.isLoaded()){delete this._list[$0];}else{$1._origSource=$0;$1.addEventListener($[83],this.__onload,this);$1.addEventListener($[95],this.__onerror,this);}}this._check();},__onload:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__onerror:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__oninterval:function($0){this.debug("Cannot preload: "+qx.lang.Object.getKeysAsString(this._list));this._stopped=true;this._timer.stop();this.createDispatchEvent($[17]);},_check:function(){if(this._stopped){return;}if(qx.lang.Object.isEmpty(this._list)){this._timer.stop();this.createDispatchEvent($[17]);}else{this._timer.restart();}}},settings:{"qx.preloaderTimeout":3000},destruct:function(){if(this._timer){this._timer.removeEventListener($[76],this.__oninterval,this);this._disposeObjects($[287]);}this._disposeFields($[344]);}}); |
| 97 |
qx.Class.define($[166],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);},members:{update:function($0){if(!($0 instanceof qx.ui.core.Widget)){$0=null;}var $1,$2;var $3=this.getAll();for($2 in $3){$1=$3[$2];if(!$1.getAutoHide()||$0==$1||$1.contains($0)){continue;}if(qx.Class.isDefined($[241])&&$0 instanceof qx.ui.popup.ToolTip&&!($1 instanceof qx.ui.popup.ToolTip)){continue;}$1.hide();}}}}); |
97 |
qx.Class.define($[1810],{type:$[20],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){this._objects[$0.getUri()]=$0;},remove:function($0){delete this._objects[$0.getUri()];},has:function($0){return this._objects[$0]!=null;},get:function($0){return this._objects[$0];},create:function($0){if(this._objects[$0]){return this._objects[$0];}return new qx.io.image.Preloader($0);}},destruct:function(){this._disposeFields($[478]);}}); |
| 98 |
qx.Class.define($[689],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.setZIndex(this._minZIndex);if(this._isFocusRoot){this.activateFocusRoot();}this.initHeight();this.initWidth();},properties:{appearance:{refine:true,init:$[1123]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},display:{refine:true,init:false},autoHide:{check:$[2],init:true},centered:{check:$[2],init:false},restrictToPageOnOpen:{check:$[2],init:true},restrictToPageLeft:{check:$[5],init:0},restrictToPageRight:{check:$[5],init:0},restrictToPageTop:{check:$[5],init:0},restrictToPageBottom:{check:$[5],init:0}},members:{_isFocusRoot:true,_showTimeStamp:(new Date(0)).valueOf(),_hideTimeStamp:(new Date(0)).valueOf(),_beforeAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){this._wantedLeft=this.getLeft();if(this._wantedLeft!=null){this.setLeft(10000);if(this.getElement()!=null){this.getElement().style.left=10000;}}}qx.ui.popup.PopupManager.getInstance().add(this);qx.ui.popup.PopupManager.getInstance().update(this);this._showTimeStamp=(new Date).valueOf();this.bringToFront();},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.popup.PopupManager.getInstance().remove(this);this._hideTimeStamp=(new Date).valueOf();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=qx.bom.Viewport.getScrollTop();var $4=qx.bom.Viewport.getScrollLeft();var $5=this.getRestrictToPageLeft()+$4;var $6=this.getRestrictToPageRight()-$4;var $7=this.getRestrictToPageTop()+$3;var $8=this.getRestrictToPageBottom()-$3;var $9=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $a=this.getTop();var $b=this.getBoxWidth();var $c=this.getBoxHeight();var $d=this.getLeft();var $e=$a;if($9+$b>$1-$6){$9=$1-$6-$b;}if($a+$c>$2-$8){$a=$2-$8-$c;}if($9<$5){$9=$5;}if($a<$7){$a=$7;}if($9!=$d||$a!=$e){var $f=this;window.setTimeout(function(){$f.setLeft($9);$f.setTop($a);},0);}}},_makeActive:function(){this.getFocusRoot().setActiveChild(this);},_makeInactive:function(){var $0=this.getFocusRoot();var $1=$0.getActiveChild();if($1==this){$0.setActiveChild($0);}},_minZIndex:1e6,bringToFront:function(){this.setZIndex(this._minZIndex+1000000);this._sendTo();},sendToBack:function(){this.setZIndex(this._minZIndex+1);this._sendTo();},_sendTo:function(){var $0=qx.lang.Object.getValues(qx.ui.popup.PopupManager.getInstance().getAll());if(qx.Class.isDefined($[152])){var $1=qx.lang.Object.getValues(qx.ui.menu.Manager.getInstance().getAll());var $2=$0.concat($1).sort(qx.util.Compare.byZIndex);}else{var $2=$0.sort(qx.util.Compare.byZIndex);}var $3=$2.length;var $4=this._minZIndex;for(var $5=0;$5<$3;$5++){$2[$5].setZIndex($4++);}},getShowTimeStamp:function(){return this._showTimeStamp;},getHideTimeStamp:function(){return this._hideTimeStamp;},positionRelativeTo:function($0,$1,$2){if($0 instanceof qx.ui.core.Widget){$0=$0.getElement();}if($0){var $3=qx.bom.element.Location.get($0);this.setLocation($3.left+($1||0),$3.top+($2||0));}else{this.warn('Missing reference element');}},centerToBrowser:function(){var $0=qx.ui.core.ClientDocument.getInstance();var $1=($0.getClientWidth()-this.getBoxWidth())/2;var $2=($0.getClientHeight()-this.getBoxHeight())/2;this.setLeft($1<0?0:$1);this.setTop($2<0?0:$2);}},destruct:function(){qx.ui.popup.PopupManager.getInstance().remove(this);this._disposeFields($[945],$[1124]);}}); |
98 |
qx.Class.define($[424],{extend:qx.core.Target,events:{"load":$[4],"error":$[4]},construct:function($0){if(qx.io.image.PreloaderManager.getInstance().has($0)){this.debug("Reuse qx.io.image.Preloader in old-style!");this.debug("Please use qx.io.image.PreloaderManager.getInstance().create(source) instead!");return qx.io.image.PreloaderManager.getInstance().get($0);}arguments.callee.base.call(this);this._element=new Image;this._element.onload=qx.lang.Function.bind(this.__onload,this);this._element.onerror=qx.lang.Function.bind(this.__onerror,this);this._source=$0;this._element.src=$0;if(qx.core.Variant.isSet($[1],$[13])){this._isPng=/\.png$/i.test(this._element.nameProp);}qx.io.image.PreloaderManager.getInstance().add(this);},members:{_source:null,_isLoaded:false,_isErroneous:false,getUri:function(){return this._source;},getSource:function(){return this._source;},isLoaded:function(){return this._isLoaded;},isErroneous:function(){return this._isErroneous;},_isPng:false,getIsPng:function(){return this._isPng;},getWidth:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalWidth;},"default":function(){return this._element.width;}}),getHeight:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalHeight;},"default":function(){return this._element.height;}}),__onload:function(){if(this._isLoaded||this._isErroneous){return;}this._isLoaded=true;this._isErroneous=false;if(this.hasEventListeners($[83])){this.dispatchEvent(new qx.event.type.Event($[83]),true);}},__onerror:function(){if(this._isLoaded||this._isErroneous){return;}this.debug("Could not load: "+this._source);this._isLoaded=false;this._isErroneous=true;if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}}},destruct:function(){if(this._element){this._element.src=$[0];this._element.onload=this._element.onerror=null;}this._disposeFields($[335],$[1757],$[1466],$[1607]);}}); |
| 99 |
qx.Class.define($[1068],{statics:{byString:function($0,$1){return $0==$1?0:$0>$1?1:-1;},byStringCaseInsensitive:function($0,$1){return qx.util.Compare.byString($0.toLowerCase(),$1.toLowerCase());},byStringUmlautsShort:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0),qx.util.Normalization.umlautsShort($1));},byStringUmlautsShortCaseInsensitive:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0).toLowerCase(),qx.util.Normalization.umlautsShort($1).toLowerCase());},byStringUmlautsLong:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0),qx.util.Normalization.umlautsLong($1));},byStringUmlautsLongCaseInsensitive:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0).toLowerCase(),qx.util.Normalization.umlautsLong($1).toLowerCase());},byFloat:function($0,$1){return $0-$1;},byIntegerString:function($0,$1){return parseInt($0)-parseInt($1);},byFloatString:function($0,$1){return parseFloat($0)-parseFloat($1);},byIPv4:function($0,$1){var $2=$0.split($[24],4);var $3=$1.split($[24],4);for(var $4=0;$4<3;$4++){$0=parseInt($2[$4]);$1=parseInt($3[$4]);if($0!=$1){return $0-$1;}}return parseInt($2[3])-parseInt($3[3]);},byZIndex:function($0,$1){return $0.getZIndex()-$1.getZIndex();}},defer:function($0){$0.byInteger=$0.byNumber=$0.byFloat;$0.byNumberString=$0.byFloatString;}}); |
99 |
qx.Class.define($[497],{extend:qx.core.Target,events:{"execute":$[98]},construct:function($0,$1){arguments.callee.base.call(this);this.__modifier={};this.__key=null;if($0!=null){this.setShortcut($0);}if($1!=null){this.warn("The use of keyCode in command is deprecated. Use keyIdentifier instead.");this.setKeyCode($1);}{};qx.event.handler.EventHandler.getInstance().addCommand(this);},properties:{enabled:{init:true,check:$[2],event:$[470]},shortcut:{check:$[6],apply:$[1502],nullable:true},keyCode:{check:$[21],nullable:true},keyIdentifier:{check:$[6],nullable:true}},members:{getKeyCode:function(){return this._keyCode;},setKeyCode:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee);this._keyCode=$0;},execute:function($0){if(this.hasEventListeners($[133])){var $1=new qx.event.type.DataEvent($[133],$0);this.dispatchEvent($1,true);}return false;},_applyShortcut:function($0,$1){if($0){this.__modifier={};this.__key=null;var $2=$0.split(/[-+\s]+/);var $3=$2.length;for(var $4=0;$4<$3;$4++){var $5=this.__oldKeyNameToKeyIdentifier($2[$4]);switch($5){case $[130]:case $[146]:case $[226]:case $[140]:this.__modifier[$5]=true;break;case $[214]:var $6=$[1728]+$2[$4];this.error($6);throw $6;default:if(this.__key){var $6=$[1571];this.error($6);throw $6;}this.__key=$5;}}}return true;},matchesKeyEvent:function($0){var $1=this.__key||this.getKeyIdentifier();if(!$1&&!this.getKeyCode()){return ;}if((this.__modifier.Shift&&!$0.isShiftPressed())||(this.__modifier.Control&&!$0.isCtrlPressed())||(this.__modifier.Alt&&!$0.isAltPressed())){return false;}if($1){if($1==$0.getKeyIdentifier()){return true;}}else{if(this.getKeyCode()==$0.getKeyCode()){return true;}}return false;},__oldKeyNameToKeyIdentifierMap:{esc:$[114],ctrl:$[130],print:$[241],del:$[171],pageup:$[88],pagedown:$[100],numlock:$[132],numpad_0:$[45],numpad_1:$[490],numpad_2:$[427],numpad_3:$[441],numpad_4:$[390],numpad_5:$[409],numpad_6:$[354],numpad_7:$[367],numpad_8:$[352],numpad_9:$[174],numpad_divide:$[99],numpad_multiply:$[144],numpad_minus:$[141],numpad_plus:$[199]},__oldKeyNameToKeyIdentifier:function($0){var $1=qx.event.handler.KeyEventHandler.getInstance();var $2=$[214];if($1.isValidKeyIdentifier($0)){return $0;}if($0.length==1&&$0>=$[319]&&$0<=$[1167]){return $0.toUpperCase();}$0=$0.toLowerCase();if(!qx.event.type.KeyEvent.keys[$0]){return $[214];}var $2=this.__oldKeyNameToKeyIdentifierMap[$0];if($2){return $2;}else{return qx.lang.String.toFirstUp($0);}},toString:function(){var $0=this.getKeyCode();var $1=this.__key||this.getKeyIdentifier();var $2=[];for(var $3 in this.__modifier){$2.push(qx.locale.Key.getKeyName($[259],$3));}if($1){$2.push(qx.locale.Key.getKeyName($[259],$1));}if($0!=null){var $4=qx.event.type.KeyEvent.codes[$0];$2.push($4?qx.lang.String.toFirstUp($4):String($0));}return $2.join($[141]);}},destruct:function(){var $0=qx.event.handler.EventHandler.getInstance();if($0){$0.removeCommand(this);}this._disposeFields($[1676],$[1040]);}}); |
| 100 |
qx.Class.define($[735],{statics:{__umlautsRegExp:new RegExp($[1716],$[289]),__umlautsShortData:{"\xC4":$[174],"\xD6":$[1094],"\xDC":$[672],"\xE4":$[313],"\xF6":$[714],"\xFC":$[1601],"\xDF":$[534]},__umlautsShort:function($0){return qx.util.Normalization.__umlautsShortData[$0];},umlautsShort:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsShort,this));},__umlautsLongData:{"\xC4":$[1088],"\xD6":$[1613],"\xDC":$[1229],"\xE4":$[1015],"\xF6":$[1519],"\xFC":$[1167],"\xDF":$[1513]},__umlautsLong:function($0){return qx.util.Normalization.__umlautsLongData[$0];},umlautsLong:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsLong,this));}}}); |
100 |
qx.Class.define($[701],{statics:{getKeyName:function($0,$1,$2){if($0!=$[259]&&$0!=$[1765]){throw new Error('format must be one of: "short", "full"');}var $3=$[1144]+$0+$[157]+$1;var $4=new qx.locale.LocalizedString($3,[],$2);if($4==$3){return qx.locale.Key._keyNames[$3]||$1;}else{return $4.toString();}}},defer:function($0,$1,$2){var $3={};var $4=qx.locale.Manager;$3[$4.marktr($[876])]=$[192];$3[$4.marktr($[1217])]=$[188];$3[$4.marktr($[957])]=$[86];$3[$4.marktr($[1544])]=$[49];$3[$4.marktr($[1800])]=$[146];$3[$4.marktr($[1803])]=$[1118];$3[$4.marktr($[1325])]=$[140];$3[$4.marktr($[970])]=$[1358];$3[$4.marktr($[1748])]=$[226];$3[$4.marktr($[1722])]=$[1334];$3[$4.marktr($[663])]=$[64];$3[$4.marktr($[1269])]=$[71];$3[$4.marktr($[669])]=$[67];$3[$4.marktr($[1197])]=$[78];$3[$4.marktr($[1750])]=$[1427];$3[$4.marktr($[1152])]=$[795];$3[$4.marktr($[738])]=$[164];$3[$4.marktr($[1119])]=$[153];$3[$4.marktr($[1051])]=$[817];$3[$4.marktr($[757])]=$[1007];$3[$4.marktr($[661])]=$[1017];$3[$4.marktr($[1523])]=$[610];$3[$4.marktr($[918])]=$[269];$3[$4.marktr($[1751])]=$[250];$3[$4.marktr($[1587])]=$[289];$3[$4.marktr($[1586])]=$[282];$3[$4.marktr($[1784])]=$[192];$3[$4.marktr($[1155])]=$[782];$3[$4.marktr($[801])]=$[86];$3[$4.marktr($[1103])]=$[49];$3[$4.marktr($[1381])]=$[146];$3[$4.marktr($[779])]=$[130];$3[$4.marktr($[794])]=$[140];$3[$4.marktr($[1809])]=$[416];$3[$4.marktr($[628])]=$[226];$3[$4.marktr($[1032])]=$[114];$3[$4.marktr($[1647])]=$[64];$3[$4.marktr($[749])]=$[71];$3[$4.marktr($[1779])]=$[67];$3[$4.marktr($[791])]=$[78];$3[$4.marktr($[1463])]=$[88];$3[$4.marktr($[1030])]=$[100];$3[$4.marktr($[1387])]=$[164];$3[$4.marktr($[1616])]=$[153];$3[$4.marktr($[1271])]=$[204];$3[$4.marktr($[1413])]=$[171];$3[$4.marktr($[1384])]=$[132];$3[$4.marktr($[750])]=$[241];$3[$4.marktr($[982])]=$[269];$3[$4.marktr($[1457])]=$[250];$3[$4.marktr($[747])]=$[289];$3[$4.marktr($[893])]=$[282];$0._keyNames=$3;}}); |
| 101 |
qx.Class.define($[1228],{statics:{__style:function($0,$1){return qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false);},__num:function($0,$1){return parseInt(qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false))||0;},__computeScroll:function($0){var $1=0,$2=0;if(qx.core.Variant.isSet($[1],$[13])&&$0.getBoundingClientRect){var $3=qx.dom.Node.getWindow($0);$1-=qx.bom.Viewport.getScrollLeft($3);$2-=qx.bom.Viewport.getScrollTop($3);}else{var $4=qx.dom.Node.getDocument($0).body;$0=$0.parentNode;while($0&&$0!=$4){$1+=$0.scrollLeft;$2+=$0.scrollTop;$0=$0.parentNode;}}return {left:$1,top:$2};},__computeBody:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3-=this.__num($2,$[72]);$4-=this.__num($2,$[68]);if($1.compatMode===$[91]){$3+=this.__num($2,$[159]);$4+=this.__num($2,$[153]);}return {left:$3,top:$4};},"webkit":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3+=this.__num($2,$[72]);$4+=this.__num($2,$[68]);if($1.compatMode===$[91]){$3+=this.__num($2,$[159]);$4+=this.__num($2,$[153]);}return {left:$3,top:$4};},"gecko":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;if(qx.bom.element.Dimension.getBoxSizing($1)!==$[238]){$2+=this.__num($1,$[72]);$3+=this.__num($1,$[68]);if(!$0.getBoundingClientRect){var $4;while($0){if(this.__style($0,$[78])===$[54]||this.__style($0,$[78])===$[123]){$4=true;break;}$0=$0.offsetParent;}if(!$4){$2+=this.__num($1,$[72]);$3+=this.__num($1,$[68]);}}}return {left:$2,top:$3};},"default":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;return {left:$2,top:$3};}}),__computeOffset:qx.core.Variant.select($[1],{"mshtml|webkit":function($0){var $1=qx.dom.Node.getDocument($0);if($0.getBoundingClientRect){var $2=$0.getBoundingClientRect();var $3=$2.left;var $4=$2.top;if($1.compatMode===$[91]){$3-=this.__num($0,$[72]);$4-=this.__num($0,$[68]);}}else{var $3=$0.offsetLeft;var $4=$0.offsetTop;$0=$0.offsetParent;var $5=$1.body;while($0&&$0!=$5){$3+=$0.offsetLeft;$4+=$0.offsetTop;$3+=this.__num($0,$[72]);$4+=this.__num($0,$[68]);$0=$0.offsetParent;}}return {left:$3,top:$4};},"gecko":function($0){if($0.getBoundingClientRect){var $1=$0.getBoundingClientRect();var $2=Math.round($1.left);var $3=Math.round($1.top);}else{var $2=0;var $3=0;var $4=qx.dom.Node.getDocument($0).body;var $5=qx.bom.element.Dimension;if($5.getBoxSizing($0)!==$[238]){$2-=this.__num($0,$[72]);$3-=this.__num($0,$[68]);}while($0&&$0!==$4){$2+=$0.offsetLeft;$3+=$0.offsetTop;if($5.getBoxSizing($0)!==$[238]){$2+=this.__num($0,$[72]);$3+=this.__num($0,$[68]);}if($0.parentNode&&this.__style($0.parentNode,$[63])!=$[1660]){$2+=this.__num($0.parentNode,$[72]);$3+=this.__num($0.parentNode,$[68]);}$0=$0.offsetParent;}}return {left:$2,top:$3};},"default":function($0){var $1=0;var $2=0;var $3=qx.dom.Node.getDocument($0).body;while($0&&$0!==$3){$1+=$0.offsetLeft;$2+=$0.offsetTop;$0=$0.offsetParent;}return {left:$1,top:$2};}}),get:function($0,$1){var $2=this.__computeBody($0);if($0.tagName==$[822]){var $3=$2.left;var $4=$2.top;}else{var $5=this.__computeOffset($0);var $6=this.__computeScroll($0);var $3=$5.left+$2.left-$6.left;var $4=$5.top+$2.top-$6.top;}var $7=$3+$0.offsetWidth;var $8=$4+$0.offsetHeight;if($1){switch($1){case $[430]:$3-=this.__num($0,$[159]);$4-=this.__num($0,$[153]);$7+=this.__num($0,$[225]);$8+=this.__num($0,$[211]);break;case $[1714]:break;case $[351]:$3+=this.__num($0,$[242]);$4+=this.__num($0,$[215]);$7-=this.__num($0,$[245]);$8-=this.__num($0,$[231]);case $[26]:$3-=$0.scrollLeft;$4-=$0.scrollTop;$7+=$0.scrollLeft;$8+=$0.scrollTop;case $[591]:$3+=this.__num($0,$[72]);$4+=this.__num($0,$[68]);$7-=this.__num($0,$[424]);$8-=this.__num($0,$[341]);break;default:throw new Error("Invalid mode for location detection: "+$1);}}return {left:$3,top:$4,right:$7,bottom:$8};},getLeft:function($0,$1){return this.get($0,$1).left;},getTop:function($0,$1){return this.get($0,$1).top;},getRight:function($0,$1){return this.get($0,$1).right;},getBottom:function($0,$1){return this.get($0,$1).bottom;},getRelative:function($0,$1,$2,$3){var $4=this.get($0,$2);var $5=this.get($1,$3);return {left:$4.left-$5.left,top:$4.top-$5.top,right:$4.right-$5.right,bottom:$4.bottom-$5.bottom};}}}); |
101 |
qx.Class.define($[1313],{statics:{getPageOuterLeft:function($0){return qx.html.Location.getPageBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getPageOuterTop:function($0){return qx.html.Location.getPageBoxTop($0)-qx.html.Style.getMarginTop($0);},getPageOuterRight:function($0){return qx.html.Location.getPageBoxRight($0)+qx.html.Style.getMarginRight($0);},getPageOuterBottom:function($0){return qx.html.Location.getPageBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientOuterLeft:function($0){return qx.html.Location.getClientBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getClientOuterTop:function($0){return qx.html.Location.getClientBoxTop($0)-qx.html.Style.getMarginTop($0);},getClientOuterRight:function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Style.getMarginRight($0);},getClientOuterBottom:function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().left;},"gecko":function($0){return qx.html.Location.getClientAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[131]){$0=$0.offsetParent;$1+=$0.offsetLeft-$0.scrollLeft;}return $1;}}),getClientBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().top;},"gecko":function($0){return qx.html.Location.getClientAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[131]){$0=$0.offsetParent;$1+=$0.offsetTop-$0.scrollTop;}return $1;}}),getClientBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().right;},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getClientBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().bottom;},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getPageBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Scroll.getLeftSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[131]){$0=$0.offsetParent;$1+=$0.offsetLeft;}return $1;}}),getPageBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Scroll.getTopSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[131]){$0=$0.offsetParent;$1+=$0.offsetTop;}return $1;}}),getPageBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getPageBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getClientAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getClientAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getClientAreaRight:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getClientAreaBottom:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getPageAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).x;},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getPageAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).y;},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getPageAreaRight:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getPageAreaBottom:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getClientInnerLeft:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getClientInnerTop:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Style.getPaddingTop($0);},getClientInnerRight:function($0){return qx.html.Location.getClientInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getClientInnerBottom:function($0){return qx.html.Location.getClientInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getPageInnerLeft:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getPageInnerTop:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Style.getPaddingTop($0);},getPageInnerRight:function($0){return qx.html.Location.getPageInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getPageInnerBottom:function($0){return qx.html.Location.getPageInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getScreenBoxLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenX-$1;},"default":function($0){return qx.html.Location.getScreenDocumentLeft($0)+qx.html.Location.getPageBoxLeft($0);}}),getScreenBoxTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenY-$1;},"default":function($0){return qx.html.Location.getScreenDocumentTop($0)+qx.html.Location.getPageBoxTop($0);}}),getScreenBoxRight:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);},getScreenBoxBottom:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getBoxHeight($0);},getScreenOuterLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getScreenOuterTop:function($0){return qx.html.Location.getScreenBoxTop($0)-qx.html.Style.getMarginTop($0);},getScreenOuterRight:function($0){return qx.html.Location.getScreenBoxRight($0)+qx.html.Style.getMarginRight($0);},getScreenOuterBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getScreenAreaLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getInsetLeft($0);},getScreenAreaTop:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getInsetTop($0);},getScreenAreaRight:function($0){return qx.html.Location.getScreenBoxRight($0)-qx.html.Dimension.getInsetRight($0);},getScreenAreaBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)-qx.html.Dimension.getInsetBottom($0);},getScreenInnerLeft:function($0){return qx.html.Location.getScreenAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getScreenInnerTop:function($0){return qx.html.Location.getScreenAreaTop($0)+qx.html.Style.getPaddingTop($0);},getScreenInnerRight:function($0){return qx.html.Location.getScreenAreaRight($0)-qx.html.Style.getPaddingRight($0);},getScreenInnerBottom:function($0){return qx.html.Location.getScreenAreaBottom($0)-qx.html.Style.getPaddingBottom($0);},getScreenDocumentLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterLeft($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenLeft;}}),getScreenDocumentTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterTop($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenTop;}}),getScreenDocumentRight:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterRight($0.ownerDocument.body);},"default":function($0){}}),getScreenDocumentBottom:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterBottom($0.ownerDocument.body);},"default":function($0){}})}}); |
| 102 |
qx.Class.define($[925],{statics:{__hints:{names:{"float":qx.core.Variant.isSet($[1],$[13])?$[1156]:$[1204],"boxSizing":qx.core.Variant.isSet($[1],$[21])?$[1163]:$[459]},mshtmlPixel:{width:$[1007],height:$[763],left:$[1359],right:$[1431],top:$[1294],bottom:$[569]},special:{clip:true,cursor:true,opacity:true,overflowX:true,overflowY:true}},setCss:qx.core.Variant.select($[1],{"mshtml":function($0,$1){$0.style.cssText=$1;},"default":function($0,$1){$0.setAttribute($[44],$1);}}),getCss:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.style.cssText.toLowerCase();},"default":function($0){return $0.getAttribute($[44]);}}),COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;$0.style[$1]=$2||$[0];},reset:function($0,$1,$2){var $3=this.__hints;$1=$3.names[$1]||$1;$0.style[$1]=$[0];},get:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1]||$[0];case this.CASCADED_MODE:return $0.currentStyle[$1];default:var $5=$0.currentStyle[$1];if(/^-?[\.\d]+(px)?$/i.test($5)){return $5;}var $6=$4.mshtmlPixel[$1];if($6){var $7=$0.style[$1];$0.style[$1]=$5||0;var $8=$0.style[$6]+$[38];$0.style[$1]=$7;return $8;}if(/^-?[\.\d]+(em|pt|%)?$/i.test($5)){throw new Error("Untranslated computed property value: "+$1+". Only pixel values work well across different clients.");}return $5;}},"default":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1];case this.CASCADED_MODE:if($0.currentStyle){return $0.currentStyle[$1];}throw new Error("Cascaded styles are not supported in this browser!");default:var $5=qx.dom.Node.getDocument($0);var $6=$5.defaultView.getComputedStyle($0,null);return $6?$6[$1]:null;}}})}}); |
102 |
qx.Class.define($[769],{statics:{getLeftSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $1;},getTopSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $1;}}}); |
| 103 |
qx.Class.define($[625],{statics:{getWidth:function($0){return $0.offsetWidth;},getHeight:function($0){return $0.offsetHeight;},getClientWidth:function($0){return $0.clientWidth;},getClientHeight:function($0){return $0.clientHeight;},getScrollWidth:function($0){return $0.scrollWidth;},getScrollHeight:function($0){return $0.scrollHeight;},__nativeBorderBox:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__usesNativeBorderBox:function($0){var $1=this.__nativeBorderBox;return $1.tags[$0.tagName.toLowerCase()]||$1.types[$0.type];},setBoxSizing:qx.core.Variant.select($[1],{"gecko":function($0,$1){$0.style.MozBoxSizing=$1||$[0];},"mshtml":function($0,$1){},"default":function($0,$1){$0.style.boxSizing=$1||$[0];}}),getBoxSizing:qx.core.Variant.select($[1],{"gecko":function($0){return qx.bom.element.Style.get($0,$[954],qx.bom.element.Style.COMPUTED_MODE,false);},"mshtml":function($0){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument($0))){if(!this.__usesNativeBorderBox($0)){return $[1617];}}return $[238];},"default":function($0){return qx.bom.element.Style.get($0,$[459],qx.bom.element.Style.COMPUTED_MODE,false);}})}}); |
103 |
qx.Class.define($[515],{extend:qx.util.manager.Object,properties:{activeWindow:{check:$[124],nullable:true,apply:$[1140]}},members:{_applyActiveWindow:function($0,$1){qx.ui.popup.PopupManager.getInstance().update();if($1){$1.setActive(false);}if($0){$0.setActive(true);}if($1&&$1.getModal()){$1.getTopLevelWidget().release($1);}if($0&&$0.getModal()){$0.getTopLevelWidget().block($0);}},update:function(){var $0,$1;var $2=this.getAll();for(var $1 in $2){$0=$2[$1];if(!$0.getAutoHide()){continue;}$0.hide();}},compareWindows:function($0,$1){switch($0.getWindowManager().getActiveWindow()){case $0:return 1;case $1:return -1;}return $0.getZIndex()-$1.getZIndex();},add:function($0){arguments.callee.base.call(this,$0);this.setActiveWindow($0);},remove:function($0){arguments.callee.base.call(this,$0);if(this.getActiveWindow()==$0){var $1=[];for(var $2 in this._objects){$1.push(this._objects[$2]);}var $3=$1.length;if($3==0){this.setActiveWindow(null);}else if($3==1){this.setActiveWindow($1[0]);}else if($3>1){$1.sort(this.compareWindows);this.setActiveWindow($1[$3-1]);}}}}}); |
| 104 |
qx.Class.define($[1189],{statics:{isQuirksMode:function($0){return ($0||window).document.compatMode!==$[91];},isStandardMode:function($0){return ($0||window).document.compatMode===$[91];},getWidth:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getWidth($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollWidth:$1.body.scrollWidth;return Math.max($3,$2);},getHeight:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getHeight($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollHeight:$1.body.scrollHeight;return Math.max($3,$2);}}}); |
104 |
qx.Class.define($[168],{type:$[20],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);},members:{update:function($0){if(!($0 instanceof qx.ui.core.Widget)){$0=null;}var $1,$2;var $3=this.getAll();for($2 in $3){$1=$3[$2];if(!$1.getAutoHide()||$0==$1||$1.contains($0)){continue;}if(qx.Class.isDefined($[248])&&$0 instanceof qx.ui.popup.ToolTip&&!($1 instanceof qx.ui.popup.ToolTip)){continue;}$1.hide();}}}}); |
| 105 |
qx.Mixin.define($[1052],{construct:function($0){this._frame=new qx.ui.basic.Terminator;this._frame.setAppearance($[1070]);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[148],this._onmousemove);},properties:{resizableWest:{check:$[2],init:true,apply:$[206]},resizableNorth:{check:$[2],init:true,apply:$[206]},resizableEast:{check:$[2],init:true,apply:$[206]},resizableSouth:{check:$[2],init:true,apply:$[206]},resizable:{group:[$[592],$[551],$[1647],$[1448]],mode:$[103]},resizeMethod:{init:$[81],check:[$[240],$[455],$[81],$[139]],event:$[701]}},members:{isResizable:function(){return this.getResizableWest()||this.getResizableEast()||this.getResizableNorth()||this.getResizableSouth();},getResizable:function(){return this.isResizable();},_applyResizable:function($0,$1){},_onmousedown:function($0){if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCapture(true);this.getTopLevelWidget().setGlobalCursor(this.getCursor());var $1=this.getElement();var $2=this._getResizeParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[26]);var $5=qx.bom.element.Location.get($1);switch(this.getResizeMethod()){case $[139]:this.setOpacity(0.5);break;case $[81]:var $6=this._frame;if($6.getParent()!=$2){$6.setParent($2);qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}var $7=this._resizeSession={};var $8=this._getMinSizeReference();if(this._resizeWest){$7.boxWidth=$1.offsetWidth;$7.boxRight=$5.right;}if(this._resizeWest||this._resizeEast){$7.boxLeft=$5.left;$7.parentContentLeft=$4.left;$7.parentContentRight=$4.right;$7.minWidth=$8.getMinWidthValue();$7.maxWidth=$8.getMaxWidthValue();}if(this._resizeNorth){$7.boxHeight=$1.offsetHeight;$7.boxBottom=$5.bottom;}if(this._resizeNorth||this._resizeSouth){$7.boxTop=$5.top;$7.parentContentTop=$4.top;$7.parentContentBottom=$4.bottom;$7.minHeight=$8.getMinHeightValue();$7.maxHeight=$8.getMaxHeightValue();}}else{delete this._resizeSession;}$0.stopPropagation();},_onmouseup:function($0){var $1=this._resizeSession;if($1){this.setCapture(false);this.getTopLevelWidget().setGlobalCursor(null);switch(this.getResizeMethod()){case $[81]:var $2=this._frame;if(!($2&&$2.getParent())){break;}case $[455]:if($1.lastLeft!=null){this.setLeft($1.lastLeft);}if($1.lastTop!=null){this.setTop($1.lastTop);}if($1.lastWidth!=null){this._changeWidth($1.lastWidth);}if($1.lastHeight!=null){this._changeHeight($1.lastHeight);}if(this.getResizeMethod()==$[81]){this._frame.setParent(null);}break;case $[139]:this.setOpacity(null);break;}delete this._resizeSession;}$0.stopPropagation();},_near:function($0,$1){return $1>($0-5)&&$1<($0+5);},_onmousemove:function($0){if(this._disableResize){return;}var $1=this._resizeSession;if($1){if(this._resizeWest){$1.lastWidth=qx.lang.Number.limit($1.boxWidth+$1.boxLeft-Math.max($0.getPageX(),$1.parentContentLeft),$1.minWidth,$1.maxWidth);$1.lastLeft=$1.boxRight-$1.lastWidth-$1.parentContentLeft;}else if(this._resizeEast){$1.lastWidth=qx.lang.Number.limit(Math.min($0.getPageX(),$1.parentContentRight)-$1.boxLeft,$1.minWidth,$1.maxWidth);}if(this._resizeNorth){$1.lastHeight=qx.lang.Number.limit($1.boxHeight+$1.boxTop-Math.max($0.getPageY(),$1.parentContentTop),$1.minHeight,$1.maxHeight);$1.lastTop=$1.boxBottom-$1.lastHeight-$1.parentContentTop;}else if(this._resizeSouth){$1.lastHeight=qx.lang.Number.limit(Math.min($0.getPageY(),$1.parentContentBottom)-$1.boxTop,$1.minHeight,$1.maxHeight);}switch(this.getResizeMethod()){case $[240]:case $[139]:if(this._resizeWest||this._resizeEast){this.setWidth($1.lastWidth);if(this._resizeWest){this.setLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){this.setHeight($1.lastHeight);if(this._resizeNorth){this.setTop($1.lastTop);}}break;default:var $2=this.getResizeMethod()==$[81]?this._frame:this;if(this._resizeWest||this._resizeEast){$2._renderRuntimeWidth($1.lastWidth);if(this._resizeWest){$2._renderRuntimeLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){$2._renderRuntimeHeight($1.lastHeight);if(this._resizeNorth){$2._renderRuntimeTop($1.lastTop);}}}}else{var $3=$[0];var $4=this.getElement();this._resizeNorth=this._resizeSouth=this._resizeWest=this._resizeEast=false;var $5=qx.bom.element.Location.get($4);if(this._near($5.top,$0.getPageY())){if(this.getResizableNorth()){$3=$[635];this._resizeNorth=true;}}else if(this._near($5.bottom,$0.getPageY())){if(this.getResizableSouth()){$3=$[534];this._resizeSouth=true;}}if(this._near($5.left,$0.getPageX())){if(this.getResizableWest()){$3+=$[1406];this._resizeWest=true;}}else if(this._near($5.right,$0.getPageX())){if(this.getResizableEast()){$3+=$[1429];this._resizeEast=true;}}if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCursor($3+$[1490]);}else{this.resetCursor();}}$0.stopPropagation();}},destruct:function(){this._disposeObjects($[307]);}}); |
105 |
qx.Class.define($[700],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.setZIndex(this._minZIndex);if(this._isFocusRoot){this.activateFocusRoot();}this.initHeight();this.initWidth();},properties:{appearance:{refine:true,init:$[1141]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},display:{refine:true,init:false},autoHide:{check:$[2],init:true},centered:{check:$[2],init:false},restrictToPageOnOpen:{check:$[2],init:true},restrictToPageLeft:{check:$[5],init:0},restrictToPageRight:{check:$[5],init:0},restrictToPageTop:{check:$[5],init:0},restrictToPageBottom:{check:$[5],init:0}},members:{_isFocusRoot:true,_showTimeStamp:(new Date(0)).valueOf(),_hideTimeStamp:(new Date(0)).valueOf(),_beforeAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){this._wantedLeft=this.getLeft();if(this._wantedLeft!=null){this.setLeft(10000);if(this.getElement()!=null){this.getElement().style.left=10000;}}}qx.ui.popup.PopupManager.getInstance().add(this);qx.ui.popup.PopupManager.getInstance().update(this);this._showTimeStamp=(new Date).valueOf();this.bringToFront();},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.popup.PopupManager.getInstance().remove(this);this._hideTimeStamp=(new Date).valueOf();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=qx.bom.Viewport.getScrollTop();var $4=qx.bom.Viewport.getScrollLeft();var $5=this.getRestrictToPageLeft()+$4;var $6=this.getRestrictToPageRight()-$4;var $7=this.getRestrictToPageTop()+$3;var $8=this.getRestrictToPageBottom()-$3;var $9=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $a=this.getTop();var $b=this.getBoxWidth();var $c=this.getBoxHeight();var $d=this.getLeft();var $e=$a;if($9+$b>$1-$6){$9=$1-$6-$b;}if($a+$c>$2-$8){$a=$2-$8-$c;}if($9<$5){$9=$5;}if($a<$7){$a=$7;}if($9!=$d||$a!=$e){var $f=this;window.setTimeout(function(){$f.setLeft($9);$f.setTop($a);},0);}}},_makeActive:function(){this.getFocusRoot().setActiveChild(this);},_makeInactive:function(){var $0=this.getFocusRoot();var $1=$0.getActiveChild();if($1==this){$0.setActiveChild($0);}},_minZIndex:1e6,bringToFront:function(){this.setZIndex(this._minZIndex+1000000);this._sendTo();},sendToBack:function(){this.setZIndex(this._minZIndex+1);this._sendTo();},_sendTo:function(){var $0=qx.lang.Object.getValues(qx.ui.popup.PopupManager.getInstance().getAll());if(qx.Class.isDefined($[155])){var $1=qx.lang.Object.getValues(qx.ui.menu.Manager.getInstance().getAll());var $2=$0.concat($1).sort(qx.util.Compare.byZIndex);}else{var $2=$0.sort(qx.util.Compare.byZIndex);}var $3=$2.length;var $4=this._minZIndex;for(var $5=0;$5<$3;$5++){$2[$5].setZIndex($4++);}},getShowTimeStamp:function(){return this._showTimeStamp;},getHideTimeStamp:function(){return this._hideTimeStamp;},positionRelativeTo:function($0,$1,$2){if($0 instanceof qx.ui.core.Widget){$0=$0.getElement();}if($0){var $3=qx.bom.element.Location.get($0);this.setLocation($3.left+($1||0),$3.top+($2||0));}else{this.warn('Missing reference element');}},centerToBrowser:function(){var $0=qx.ui.core.ClientDocument.getInstance();var $1=($0.getClientWidth()-this.getBoxWidth())/2;var $2=($0.getClientHeight()-this.getBoxHeight())/2;this.setLeft($1<0?0:$1);this.setTop($2<0?0:$2);}},destruct:function(){qx.ui.popup.PopupManager.getInstance().remove(this);this._disposeFields($[964],$[1142]);}}); |
| 106 |
qx.Interface.define($[988],{members:{_changeWidth:function($0){return true;},_changeHeight:function($0){return true;},_getResizeParent:function(){return true;},_getMinSizeReference:function(){return true;}}}); |
106 |
qx.Class.define($[1086],{statics:{byString:function($0,$1){return $0==$1?0:$0>$1?1:-1;},byStringCaseInsensitive:function($0,$1){return qx.util.Compare.byString($0.toLowerCase(),$1.toLowerCase());},byStringUmlautsShort:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0),qx.util.Normalization.umlautsShort($1));},byStringUmlautsShortCaseInsensitive:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0).toLowerCase(),qx.util.Normalization.umlautsShort($1).toLowerCase());},byStringUmlautsLong:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0),qx.util.Normalization.umlautsLong($1));},byStringUmlautsLongCaseInsensitive:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0).toLowerCase(),qx.util.Normalization.umlautsLong($1).toLowerCase());},byFloat:function($0,$1){return $0-$1;},byIntegerString:function($0,$1){return parseInt($0)-parseInt($1);},byFloatString:function($0,$1){return parseFloat($0)-parseFloat($1);},byIPv4:function($0,$1){var $2=$0.split($[24],4);var $3=$1.split($[24],4);for(var $4=0;$4<3;$4++){$0=parseInt($2[$4]);$1=parseInt($3[$4]);if($0!=$1){return $0-$1;}}return parseInt($2[3])-parseInt($3[3]);},byZIndex:function($0,$1){return $0.getZIndex()-$1.getZIndex();}},defer:function($0){$0.byInteger=$0.byNumber=$0.byFloat;$0.byNumberString=$0.byFloatString;}}); |
| 107 |
qx.Class.define($[1464],{extend:qx.ui.popup.Popup,include:qx.ui.resizer.MResizable,implement:qx.ui.resizer.IResizable,construct:function(){arguments.callee.base.call(this);this.initMinWidth();this.initMinHeight();this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1450]},minWidth:{refine:true,init:$[3]},minHeight:{refine:true,init:$[3]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]}},members:{_changeWidth:function($0){this.setWidth($0);},_changeHeight:function($0){this.setHeight($0);},_getResizeParent:function(){return this.getParent();},_getMinSizeReference:function(){return this;}}}); |
107 |
qx.Class.define($[746],{statics:{__umlautsRegExp:new RegExp($[1736],$[292]),__umlautsShortData:{"\xC4":$[176],"\xD6":$[1112],"\xDC":$[683],"\xE4":$[319],"\xF6":$[725],"\xFC":$[1623],"\xDF":$[542]},__umlautsShort:function($0){return qx.util.Normalization.__umlautsShortData[$0];},umlautsShort:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsShort,this));},__umlautsLongData:{"\xC4":$[1106],"\xD6":$[1636],"\xDC":$[1252],"\xE4":$[1033],"\xF6":$[1541],"\xFC":$[1186],"\xDF":$[1535]},__umlautsLong:function($0){return qx.util.Normalization.__umlautsLongData[$0];},umlautsLong:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsLong,this));}}}); |
| 108 |
qx.Class.define($[503],{extend:qx.ui.resizer.ResizablePopup,construct:function($0,$1,$2){arguments.callee.base.call(this);this.setWindowManager($2||qx.ui.window.Window.getDefaultWindowManager());var $3=this._layout=new qx.ui.layout.VerticalBoxLayout;$3.setEdge(0);this.add($3);var $4=this._captionBar=new qx.ui.layout.HorizontalBoxLayout;$4.setAppearance($[970]);$4.setHeight($[3]);$4.setOverflow($[36]);$3.add($4);var $5=this._captionIcon=new qx.ui.basic.Image;$5.setAppearance($[1074]);$4.add($5);var $6=this._captionTitle=new qx.ui.basic.Label($0);$6.setAppearance($[1644]);$6.setSelectable(false);$4.add($6);var $7=this._captionFlex=new qx.ui.basic.HorizontalSpacer;$4.add($7);var $8=this._minimizeButton=new qx.ui.form.Button;$8.setAppearance($[1525]);$8.setTabIndex(-1);$8.addEventListener($[128],this._onminimizebuttonclick,this);$8.addEventListener($[12],this._onbuttonmousedown,this);$4.add($8);var $9=this._restoreButton=new qx.ui.form.Button;$9.setAppearance($[816]);$9.setTabIndex(-1);$9.addEventListener($[128],this._onrestorebuttonclick,this);$9.addEventListener($[12],this._onbuttonmousedown,this);var $a=this._maximizeButton=new qx.ui.form.Button;$a.setAppearance($[1192]);$a.setTabIndex(-1);$a.addEventListener($[128],this._onmaximizebuttonclick,this);$a.addEventListener($[12],this._onbuttonmousedown,this);$4.add($a);var $b=this._closeButton=new qx.ui.form.Button;$b.setAppearance($[918]);$b.setTabIndex(-1);$b.addEventListener($[128],this._onclosebuttonclick,this);$b.addEventListener($[12],this._onbuttonmousedown,this);$4.add($b);var $c=this._pane=new qx.ui.layout.CanvasLayout;$c.setHeight($[138]);$c.setOverflow($[36]);$3.add($c);var $d=this._statusBar=new qx.ui.layout.HorizontalBoxLayout;$d.setAppearance($[924]);$d.setHeight($[3]);var $e=this._statusText=new qx.ui.basic.Label($[396]);$e.setAppearance($[1391]);$e.setSelectable(false);$d.add($e);if($0!=null){this.setCaption($0);}if($1!=null){this.setIcon($1);}this.setAutoHide(false);this.addEventListener($[12],this._onwindowmousedown);this.addEventListener($[53],this._onwindowclick);$4.addEventListener($[12],this._oncaptionmousedown,this);$4.addEventListener($[22],this._oncaptionmouseup,this);$4.addEventListener($[148],this._oncaptionmousemove,this);$4.addEventListener($[104],this._oncaptiondblblick,this);this.remapChildrenHandlingTo(this._pane);},statics:{getDefaultWindowManager:function(){if(!qx.ui.window.Window._defaultWindowManager){qx.ui.window.Window._defaultWindowManager=new qx.ui.window.Manager;}return qx.ui.window.Window._defaultWindowManager;}},properties:{appearance:{refine:true,init:$[884]},windowManager:{check:$[508],event:$[1420]},active:{check:$[2],init:false,apply:$[541],event:$[1493]},modal:{check:$[2],init:false,apply:$[1610],event:$[920]},mode:{check:[$[226],$[70]],init:null,nullable:true,apply:$[1795],event:$[1145]},opener:{check:$[66]},caption:{apply:$[1077],event:$[1428],dispose:true},icon:{check:$[6],nullable:true,apply:$[181],event:$[758]},status:{check:$[6],init:$[396],apply:$[1140],event:$[1482]},showClose:{check:$[2],init:true,apply:$[1018]},showMaximize:{check:$[2],init:true,apply:$[1096]},showMinimize:{check:$[2],init:true,apply:$[1533]},showStatusbar:{check:$[2],init:false,apply:$[1162]},allowClose:{check:$[2],init:true,apply:$[560]},allowMaximize:{check:$[2],init:true,apply:$[750]},allowMinimize:{check:$[2],init:true,apply:$[1259]},showCaption:{check:$[2],init:true,apply:$[1497]},showIcon:{check:$[2],init:true,apply:$[1535]},moveable:{check:$[2],init:true,event:$[1473]},moveMethod:{check:[$[240],$[81],$[139]],init:$[240],event:$[935]}},members:{getPane:function(){return this._pane;},getCaptionBar:function(){return this._captionBar;},getStatusBar:function(){return this._statusBar;},close:function(){this.hide();},open:function($0){if($0!=null){this.setOpener($0);}if(this.getCentered()){this.centerToBrowser();}this.show();},focus:function(){this.setActive(true);},blur:function(){this.setActive(false);},maximize:function(){this.setMode($[70]);},minimize:function(){this.setMode($[226]);},restore:function(){this.setMode(null);},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.popup.PopupManager.getInstance().update();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);this.getWindowManager().add(this);this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);var $0=qx.event.handler.EventHandler.getInstance().getFocusRoot();if($0==this||this.contains($0)){qx.event.handler.EventHandler.getInstance().setFocusRoot(null);}var $1=qx.event.handler.EventHandler.getInstance().getCaptureWidget();if($1&&this.contains($1)){$1.setCapture(false);}this.getWindowManager().remove(this);this._makeInactive();},_minZIndex:1e5,_sendTo:function(){var $0=qx.lang.Object.getValues(this.getWindowManager().getAll()).sort(qx.util.Compare.byZIndex);var $1=$0.length;var $2=this._minZIndex;for(var $3=0;$3<$1;$3++){$0[$3].setZIndex($2++);}},_applyActive:function($0,$1){if($1){if(this.getFocused()){this.setFocused(false);}if(this.getWindowManager().getActiveWindow()==this){this.getWindowManager().setActiveWindow(null);}this.removeState($[59]);this._captionBar.removeState($[59]);this._minimizeButton.removeState($[59]);this._restoreButton.removeState($[59]);this._maximizeButton.removeState($[59]);this._closeButton.removeState($[59]);}else{if(!this.getFocusedChild()){this.setFocused(true);}this.getWindowManager().setActiveWindow(this);this.bringToFront();this.addState($[59]);this._captionBar.addState($[59]);this._minimizeButton.addState($[59]);this._restoreButton.addState($[59]);this._maximizeButton.addState($[59]);this._closeButton.addState($[59]);}},_applyModal:function($0,$1){if(this._initialLayoutDone&&this.getVisibility()&&this.getDisplay()){var $2=this.getTopLevelWidget();$0?$2.block(this):$2.release(this);}},_applyAllowClose:function($0,$1){this._closeButtonManager();},_applyAllowMaximize:function($0,$1){this._maximizeButtonManager();},_applyAllowMinimize:function($0,$1){this._minimizeButtonManager();},_applyMode:function($0,$1){switch($0){case $[226]:this._disableResize=true;this._minimize();break;case $[70]:this._disableResize=true;this._maximize();break;default:delete this._disableResize;switch($1){case $[70]:this._restoreFromMaximized();break;case $[226]:this._restoreFromMinimized();break;}}},_applyShowCaption:function($0,$1){if($0){this._captionBar.addAt(this._captionTitle,this.getShowIcon()?1:0);}else{this._captionBar.remove(this._captionTitle);}},_applyShowIcon:function($0,$1){if($0){this._captionBar.addAtBegin(this._captionIcon);}else{this._captionBar.remove(this._captionIcon);}},_applyShowStatusbar:function($0,$1){if($0){this._layout.addAtEnd(this._statusBar);}else{this._layout.remove(this._statusBar);}},_applyShowClose:function($0,$1){if($0){this._captionBar.addAtEnd(this._closeButton);}else{this._captionBar.remove(this._closeButton);}},_applyShowMaximize:function($0,$1){if($0){var $2=this.getMode()==$[70]?this._restoreButton:this._maximizeButton;if(this.getShowMinimize()){this._captionBar.addAfter($2,this._minimizeButton);}else{this._captionBar.addAfter($2,this._captionFlex);}}else{this._captionBar.remove(this._maximizeButton);this._captionBar.remove(this._restoreButton);}},_applyShowMinimize:function($0,$1){if($0){this._captionBar.addAfter(this._minimizeButton,this._captionFlex);}else{this._captionBar.remove(this._minimizeButton);}},_minimizeButtonManager:function(){this.getAllowMinimize()===false?this._minimizeButton.setEnabled(false):this._minimizeButton.resetEnabled();},_closeButtonManager:function(){this.getAllowClose()===false?this._closeButton.setEnabled(false):this._closeButton.resetEnabled();},_maximizeButtonManager:function(){var $0=this.getAllowMaximize()&&this.getResizable()&&this._computedMaxWidthTypeNull&&this._computedMaxHeightTypeNull;if(this._maximizeButton){$0===false?this._maximizeButton.setEnabled(false):this._maximizeButton.resetEnabled();}if(this._restoreButton){$0===false?this._restoreButton.setEnabled(false):this._restoreButton.resetEnabled();}},_applyStatus:function($0,$1){this._statusText.setText($0);},_applyMaxWidth:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyMaxHeight:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyResizable:function($0,$1){this._maximizeButtonManager();},_applyCaption:function($0,$1){this._captionTitle.setText($0);},_applyIcon:function($0,$1){this._captionIcon.setSource($0);},_minimize:function(){this.blur();this.hide();},_restoreFromMaximized:function(){this.setLeft(this._previousLeft?this._previousLeft:null);this.setWidth(this._previousWidth?this._previousWidth:null);this.setRight(this._previousRight?this._previousRight:null);this.setTop(this._previousTop?this._previousTop:null);this.setHeight(this._previousHeight?this._previousHeight:null);this.setBottom(this._previousBottom?this._previousBottom:null);this.removeState($[70]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._restoreButton);$0.remove(this._restoreButton);$0.addAt(this._maximizeButton,$1);}this.focus();},_restoreFromMinimized:function(){if(this.hasState($[70])){this.setMode($[70]);}this.show();this.focus();},_maximize:function(){if(this.hasState($[70])){return;}this._previousLeft=this.getLeft();this._previousWidth=this.getWidth();this._previousRight=this.getRight();this._previousTop=this.getTop();this._previousHeight=this.getHeight();this._previousBottom=this.getBottom();this.setWidth(null);this.setLeft(0);this.setRight(0);this.setHeight(null);this.setTop(0);this.setBottom(0);this.addState($[70]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._maximizeButton);$0.remove(this._maximizeButton);$0.addAt(this._restoreButton,$1);}this.focus();},_onwindowclick:function($0){$0.stopPropagation();},_onwindowmousedown:function($0){this.focus();},_onbuttonmousedown:function($0){$0.stopPropagation();},_onminimizebuttonclick:function($0){this.minimize();this._minimizeButton.removeState($[14]);this._minimizeButton.removeState($[35]);this._minimizeButton.removeState($[43]);$0.stopPropagation();},_onrestorebuttonclick:function($0){this.restore();this._restoreButton.removeState($[14]);this._restoreButton.removeState($[35]);this._restoreButton.removeState($[43]);$0.stopPropagation();},_onmaximizebuttonclick:function($0){this.maximize();this._maximizeButton.removeState($[14]);this._maximizeButton.removeState($[35]);this._maximizeButton.removeState($[43]);$0.stopPropagation();},_onclosebuttonclick:function($0){this.close();this._closeButton.removeState($[14]);this._closeButton.removeState($[35]);this._closeButton.removeState($[43]);$0.stopPropagation();},_oncaptionmousedown:function($0){if(!$0.isLeftButtonPressed()||!this.getMoveable()||this.getMode()!=null){return;}this._captionBar.setCapture(true);var $1=this.getElement();var $2=this.getParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[26]);var $5=qx.bom.element.Location.get($1);this._dragSession={offsetX:$0.getPageX()-$5.left+$4.left,offsetY:$0.getPageY()-$5.top+$4.top,parentAvailableAreaLeft:$4.left+5,parentAvailableAreaTop:$4.top+5,parentAvailableAreaRight:$4.right-5,parentAvailableAreaBottom:$4.bottom-5};switch(this.getMoveMethod()){case $[139]:this.setOpacity(0.5);break;case $[81]:var $6=this._frame;if($6.getParent()!=this.getParent()){$6.setParent(this.getParent());qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}},_oncaptionmouseup:function($0){var $1=this._dragSession;if(!$1){return;}this._captionBar.setCapture(false);if($1.lastX!=null){this.setLeft($1.lastX);}if($1.lastY!=null){this.setTop($1.lastY);}switch(this.getMoveMethod()){case $[139]:this.setOpacity(null);break;case $[81]:this._frame.setParent(null);break;}delete this._dragSession;},_oncaptionmousemove:function($0){var $1=this._dragSession;if(!$1||!this._captionBar.getCapture()){return;}if(!qx.lang.Number.isBetweenRange($0.getPageX(),$1.parentAvailableAreaLeft,$1.parentAvailableAreaRight)||!qx.lang.Number.isBetweenRange($0.getPageY(),$1.parentAvailableAreaTop,$1.parentAvailableAreaBottom)){return;}var $2=this.getMoveMethod()==$[81]?this._frame:this;$2._renderRuntimeLeft($1.lastX=$0.getPageX()-$1.offsetX);$2._renderRuntimeTop($1.lastY=$0.getPageY()-$1.offsetY);},_oncaptiondblblick:function($0){if(!this._maximizeButton.getEnabled()){return;}return this.getMode()==$[70]?this.restore():this.maximize();}},destruct:function(){this._disposeObjects($[343],$[696],$[1484],$[669],$[916],$[1293],$[1255],$[973],$[914],$[431],$[1041],$[1250]);}}); |
108 |
qx.Mixin.define($[1070],{construct:function($0){this._frame=new qx.ui.basic.Terminator;this._frame.setAppearance($[1088]);this.addEventListener($[14],this._onmousedown);this.addEventListener($[25],this._onmouseup);this.addEventListener($[151],this._onmousemove);},properties:{resizableWest:{check:$[2],init:true,apply:$[207]},resizableNorth:{check:$[2],init:true,apply:$[207]},resizableEast:{check:$[2],init:true,apply:$[207]},resizableSouth:{check:$[2],init:true,apply:$[207]},resizable:{group:[$[604],$[560],$[1670],$[1467]],mode:$[104]},resizeMethod:{init:$[82],check:[$[244],$[463],$[82],$[143]],event:$[712]}},members:{isResizable:function(){return this.getResizableWest()||this.getResizableEast()||this.getResizableNorth()||this.getResizableSouth();},getResizable:function(){return this.isResizable();},_applyResizable:function($0,$1){},_onmousedown:function($0){if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCapture(true);this.getTopLevelWidget().setGlobalCursor(this.getCursor());var $1=this.getElement();var $2=this._getResizeParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[19]);var $5=qx.bom.element.Location.get($1);switch(this.getResizeMethod()){case $[143]:this.setOpacity(0.5);break;case $[82]:var $6=this._frame;if($6.getParent()!=$2){$6.setParent($2);qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}var $7=this._resizeSession={};var $8=this._getMinSizeReference();if(this._resizeWest){$7.boxWidth=$1.offsetWidth;$7.boxRight=$5.right;}if(this._resizeWest||this._resizeEast){$7.boxLeft=$5.left;$7.parentContentLeft=$4.left;$7.parentContentRight=$4.right;$7.minWidth=$8.getMinWidthValue();$7.maxWidth=$8.getMaxWidthValue();}if(this._resizeNorth){$7.boxHeight=$1.offsetHeight;$7.boxBottom=$5.bottom;}if(this._resizeNorth||this._resizeSouth){$7.boxTop=$5.top;$7.parentContentTop=$4.top;$7.parentContentBottom=$4.bottom;$7.minHeight=$8.getMinHeightValue();$7.maxHeight=$8.getMaxHeightValue();}}else{delete this._resizeSession;}$0.stopPropagation();},_onmouseup:function($0){var $1=this._resizeSession;if($1){this.setCapture(false);this.getTopLevelWidget().setGlobalCursor(null);switch(this.getResizeMethod()){case $[82]:var $2=this._frame;if(!($2&&$2.getParent())){break;}case $[463]:if($1.lastLeft!=null){this.setLeft($1.lastLeft);}if($1.lastTop!=null){this.setTop($1.lastTop);}if($1.lastWidth!=null){this._changeWidth($1.lastWidth);}if($1.lastHeight!=null){this._changeHeight($1.lastHeight);}if(this.getResizeMethod()==$[82]){this._frame.setParent(null);}break;case $[143]:this.setOpacity(null);break;}delete this._resizeSession;}$0.stopPropagation();},_near:function($0,$1){return $1>($0-5)&&$1<($0+5);},_onmousemove:function($0){if(this._disableResize){return;}var $1=this._resizeSession;if($1){if(this._resizeWest){$1.lastWidth=qx.lang.Number.limit($1.boxWidth+$1.boxLeft-Math.max($0.getPageX(),$1.parentContentLeft),$1.minWidth,$1.maxWidth);$1.lastLeft=$1.boxRight-$1.lastWidth-$1.parentContentLeft;}else if(this._resizeEast){$1.lastWidth=qx.lang.Number.limit(Math.min($0.getPageX(),$1.parentContentRight)-$1.boxLeft,$1.minWidth,$1.maxWidth);}if(this._resizeNorth){$1.lastHeight=qx.lang.Number.limit($1.boxHeight+$1.boxTop-Math.max($0.getPageY(),$1.parentContentTop),$1.minHeight,$1.maxHeight);$1.lastTop=$1.boxBottom-$1.lastHeight-$1.parentContentTop;}else if(this._resizeSouth){$1.lastHeight=qx.lang.Number.limit(Math.min($0.getPageY(),$1.parentContentBottom)-$1.boxTop,$1.minHeight,$1.maxHeight);}switch(this.getResizeMethod()){case $[244]:case $[143]:if(this._resizeWest||this._resizeEast){this.setWidth($1.lastWidth);if(this._resizeWest){this.setLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){this.setHeight($1.lastHeight);if(this._resizeNorth){this.setTop($1.lastTop);}}break;default:var $2=this.getResizeMethod()==$[82]?this._frame:this;if(this._resizeWest||this._resizeEast){$2._renderRuntimeWidth($1.lastWidth);if(this._resizeWest){$2._renderRuntimeLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){$2._renderRuntimeHeight($1.lastHeight);if(this._resizeNorth){$2._renderRuntimeTop($1.lastTop);}}}}else{var $3=$[0];var $4=this.getElement();this._resizeNorth=this._resizeSouth=this._resizeWest=this._resizeEast=false;var $5=qx.bom.element.Location.get($4);if(this._near($5.top,$0.getPageY())){if(this.getResizableNorth()){$3=$[648];this._resizeNorth=true;}}else if(this._near($5.bottom,$0.getPageY())){if(this.getResizableSouth()){$3=$[542];this._resizeSouth=true;}}if(this._near($5.left,$0.getPageX())){if(this.getResizableWest()){$3+=$[1424];this._resizeWest=true;}}else if(this._near($5.right,$0.getPageX())){if(this.getResizableEast()){$3+=$[1447];this._resizeEast=true;}}if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCursor($3+$[1511]);}else{this.resetCursor();}}$0.stopPropagation();}},destruct:function(){this._disposeObjects($[311]);}}); |
| 109 |
qx.Class.define($[717],{extend:qx.ui.core.Parent,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setOrientation($0);}else{this.initOrientation();}},statics:{STR_REVERSED:"-reversed"},properties:{orientation:{check:[$[132],$[117]],init:$[132],apply:$[1555],event:$[1779]},spacing:{check:$[5],init:0,themeable:true,apply:$[577],event:$[1563]},horizontalChildrenAlign:{check:[$[11],$[57],$[9]],init:$[11],themeable:true,apply:$[1087]},verticalChildrenAlign:{check:[$[20],$[62],$[17]],init:$[20],themeable:true,apply:$[1008]},reverseChildrenOrder:{check:$[2],init:false,apply:$[1729]},stretchChildrenOrthogonalAxis:{check:$[2],init:true,apply:$[761]},useAdvancedFlexAllocation:{check:$[2],init:false,apply:$[1586]},accumulatedChildrenOuterWidth:{_cached:true,defaultValue:null},accumulatedChildrenOuterHeight:{_cached:true,defaultValue:null}},members:{_createLayoutImpl:function(){return this.getOrientation()==$[117]?new qx.ui.layout.impl.VerticalBoxLayoutImpl(this):new qx.ui.layout.impl.HorizontalBoxLayoutImpl(this);},_layoutHorizontal:false,_layoutVertical:false,_layoutMode:$[11],isHorizontal:function(){return this._layoutHorizontal;},isVertical:function(){return this._layoutVertical;},getLayoutMode:function(){if(this._layoutMode==null){this._updateLayoutMode();}return this._layoutMode;},_updateLayoutMode:function(){this._layoutMode=this._layoutVertical?this.getVerticalChildrenAlign():this.getHorizontalChildrenAlign();if(this.getReverseChildrenOrder()){this._layoutMode+=qx.ui.layout.BoxLayout.STR_REVERSED;}},_invalidateLayoutMode:function(){this._layoutMode=null;},_applyOrientation:function($0,$1){this._layoutHorizontal=$0==$[132];this._layoutVertical=$0==$[117];if(this._layoutImpl){this._layoutImpl.dispose();this._layoutImpl=null;}if($0){this._layoutImpl=this._createLayoutImpl();}this._doLayoutOrder($0,$1);this.addToQueueRuntime($[1374]);},_applySpacing:function($0,$1){this._doLayout();this.addToQueueRuntime($[1653]);},_applyHorizontalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1495]);},_applyVerticalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1226]);},_applyReverseChildrenOrder:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[869]);},_applyStretchChildrenOrthogonalAxis:function($0,$1){this.addToQueueRuntime($[1523]);},_applyUseAdvancedFlexAllocation:function($0,$1){this.addToQueueRuntime($[1777]);},_doLayoutOrder:function(){this._invalidateLayoutMode();this._doLayout();},_doLayout:function(){this._invalidatePreferredInnerDimensions();this._invalidateAccumulatedChildrenOuterWidth();this._invalidateAccumulatedChildrenOuterHeight();},_computeAccumulatedChildrenOuterWidth:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterWidth()+$3;}return $4;},_computeAccumulatedChildrenOuterHeight:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterHeight()+$3;}return $4;},_recomputeChildrenStretchingX:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingX()&&$1._recomputeBoxWidth()){$1._recomputeOuterWidth();}}},_recomputeChildrenStretchingY:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingY()&&$1._recomputeBoxHeight()){$1._recomputeOuterHeight();}}}}}); |
109 |
qx.Interface.define($[1006],{members:{_changeWidth:function($0){return true;},_changeHeight:function($0){return true;},_getResizeParent:function(){return true;},_getMinSizeReference:function(){return true;}}}); |
| 110 |
qx.Class.define($[861],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull&&$0.getAllowStretchX()){return this.getWidget().getInnerWidth();}return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexHeight:function(){if(this._childrenFlexHeightComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexHeightComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerHeight();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedHeightTypeFlex){$4.push($3);if($0._computedHeightTypeAuto){$6+=$3.getPreferredBoxHeight();}}else{$6+=$3.getOuterHeight();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedHeightParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightParsed*$b);$6+=$3._computedHeightFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedHeightFlexValue=$3._computedHeightParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinHeightValue(),$3.getMaxHeightValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxHeightValue()||Infinity)-$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinHeightValue())?$3._computedHeightFlexValue-$3.getMinHeightValue():$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedHeightParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedHeightFlexValue+=$f/$g*$3._computedHeightParsed;if($3._allocationLoops==$d){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedHeightFlexValue+=$5-$6;},invalidateChildrenFlexHeight:function(){delete this._childrenFlexHeightComputed;},computeChildrenNeededHeight:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededHeight_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterHeightChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();},updateChildOnInnerWidthChange:function($0){var $1=$0._recomputePercentX();var $2=$0._recomputeStretchingX();if(($0.getHorizontalAlign()||this.getWidget().getHorizontalChildrenAlign())==$[57]){$0.addToLayoutChanges($[100]);}return $1||$2;},updateChildOnInnerHeightChange:function($0){if(this.getWidget().getVerticalChildrenAlign()==$[62]){$0.addToLayoutChanges($[113]);}var $1=$0._recomputePercentY();var $2=$0._recomputeFlexY();return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[113]);}if($0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[100]);}if($0.stretchChildrenOrthogonalAxis){$1=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for(var $6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexY()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[17]:case $[221]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[113]);}break;case $[62]:case $[228]:while($5=$3[++$6]){$5.addToLayoutChanges($[113]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[113]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[113]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexHeight();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexY()){$4._computedHeightValue=null;if($4._recomputeBoxHeight()){$4._recomputeOuterHeight();$4._recomputeInnerHeight();}$0[$4.toHashCode()]=$4;$4._layoutChanges.height=true;}}}switch($1.getLayoutMode()){case $[17]:case $[221]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[62]:case $[228]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if(($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull))||($0.getAllowStretchX()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull)){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationY:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[17]:case $[221]:var $3=$2.getPaddingBottom()+$2.getAccumulatedChildrenOuterHeight()-$0.getOuterHeight();break;case $[62]:case $[228]:var $3=$2.getPaddingTop()+Math.round(($2.getInnerHeight()-$2.getAccumulatedChildrenOuterHeight())/2);break;default:var $3=$2.getPaddingTop();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[17]:case $[221]:var $3=$4._cachedLocationVertical-$0.getOuterHeight()-$2.getSpacing();break;default:var $3=$4._cachedLocationVertical+$4.getOuterHeight()+$2.getSpacing();}}$0._cachedLocationVertical=$3;switch(this.getWidget().getLayoutMode()){case $[17]:case $[1265]:case $[228]:$3+=!$0._computedBottomTypeNull?$0.getBottomValue():!$0._computedTopTypeNull?-($0.getTopValue()):0;$0._resetRuntimeTop();$0._renderRuntimeBottom($3);break;default:$3+=!$0._computedTopTypeNull?$0.getTopValue():!$0._computedBottomTypeNull?-($0.getBottomValue()):0;$0._resetRuntimeBottom();$0._renderRuntimeTop($3);}},layoutChild_locationX:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[21])){if($0.getAllowStretchX()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull){$0._renderRuntimeLeft($2.getPaddingLeft()||0);$0._renderRuntimeRight($2.getPaddingRight()||0);return;}}var $3=$0.getHorizontalAlign()||$2.getHorizontalChildrenAlign();var $4=$3==$[57]?Math.round(($2.getInnerWidth()-$0.getOuterWidth())/2):0;if($3==$[9]){$4+=$2.getPaddingRight();if(!$0._computedRightTypeNull){$4+=$0.getRightValue();}else if(!$0._computedLeftTypeNull){$4-=$0.getLeftValue();}$0._resetRuntimeLeft();$0._renderRuntimeRight($4);}else{$4+=$2.getPaddingLeft();if(!$0._computedLeftTypeNull){$4+=$0.getLeftValue();}else if(!$0._computedRightTypeNull){$4-=$0.getRightValue();}$0._resetRuntimeRight();$0._renderRuntimeLeft($4);}}}}); |
110 |
qx.Class.define($[1484],{extend:qx.ui.popup.Popup,include:qx.ui.resizer.MResizable,implement:qx.ui.resizer.IResizable,construct:function(){arguments.callee.base.call(this);this.initMinWidth();this.initMinHeight();this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1469]},minWidth:{refine:true,init:$[3]},minHeight:{refine:true,init:$[3]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]}},members:{_changeWidth:function($0){this.setWidth($0);},_changeHeight:function($0){this.setHeight($0);},_getResizeParent:function(){return this.getParent();},_getMinSizeReference:function(){return this;}}}); |
| 111 |
qx.Class.define($[1422],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull&&$0.getAllowStretchY()){return this.getWidget().getInnerHeight();}return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexWidth:function(){if(this._childrenFlexWidthComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexWidthComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerWidth();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedWidthTypeFlex){$4.push($3);if($0._computedWidthTypeAuto){$6+=$3.getPreferredBoxWidth();}}else{$6+=$3.getOuterWidth();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedWidthParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthParsed*$b);$6+=$3._computedWidthFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedWidthFlexValue=$3._computedWidthParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinWidthValue(),$3.getMaxWidthValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxWidthValue()||Infinity)-$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinWidthValue())?$3._computedWidthFlexValue-$3.getMinWidthValue():$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedWidthParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedWidthFlexValue+=$f/$g*$3._computedWidthParsed;if($3._allocationLoops==$d){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedWidthFlexValue+=$5-$6;},invalidateChildrenFlexWidth:function(){delete this._childrenFlexWidthComputed;},computeChildrenNeededWidth:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterWidthChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();},updateChildOnInnerWidthChange:function($0){if(this.getWidget().getHorizontalChildrenAlign()==$[57]){$0.addToLayoutChanges($[100]);}var $1=$0._recomputePercentX();var $2=$0._recomputeFlexX();return $1||$2;},updateChildOnInnerHeightChange:function($0){var $1=$0._recomputePercentY();var $2=$0._recomputeStretchingY();if(($0.getVerticalAlign()||this.getWidget().getVerticalChildrenAlign())==$[62]){$0.addToLayoutChanges($[113]);}return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[100]);}if($0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[113]);}if($0.stretchChildrenOrthogonalAxis){$2=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for($6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexX()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[9]:case $[217]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[100]);}break;case $[57]:case $[229]:while($5=$3[++$6]){$5.addToLayoutChanges($[100]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[100]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[100]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexWidth();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexX()){$4._computedWidthValue=null;if($4._recomputeBoxWidth()){$4._recomputeOuterWidth();$4._recomputeInnerWidth();}$0[$4.toHashCode()]=$4;$4._layoutChanges.width=true;}}}switch($1.getLayoutMode()){case $[9]:case $[217]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[57]:case $[229]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull)){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if(($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull))||($0.getAllowStretchY()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationX:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[9]:case $[217]:var $3=$2.getPaddingRight()+$2.getAccumulatedChildrenOuterWidth()-$0.getOuterWidth();break;case $[57]:case $[229]:var $3=$2.getPaddingLeft()+Math.round(($2.getInnerWidth()-$2.getAccumulatedChildrenOuterWidth())/2);break;default:var $3=$2.getPaddingLeft();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[9]:case $[217]:var $3=$4._cachedLocationHorizontal-$0.getOuterWidth()-$2.getSpacing();break;default:var $3=$4._cachedLocationHorizontal+$4.getOuterWidth()+$2.getSpacing();}}$0._cachedLocationHorizontal=$3;switch($2.getLayoutMode()){case $[9]:case $[1062]:case $[229]:$3+=!$0._computedRightTypeNull?$0.getRightValue():!$0._computedLeftTypeNull?-($0.getLeftValue()):0;$0._resetRuntimeLeft();$0._renderRuntimeRight($3);break;default:$3+=!$0._computedLeftTypeNull?$0.getLeftValue():!$0._computedRightTypeNull?-($0.getRightValue()):0;$0._resetRuntimeRight();$0._renderRuntimeLeft($3);}},layoutChild_locationY:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[21])){if($0.getAllowStretchY()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull){$0._renderRuntimeTop($2.getPaddingTop()||0);$0._renderRuntimeBottom($2.getPaddingBottom()||0);return;}}var $3=$0.getVerticalAlign()||$2.getVerticalChildrenAlign();var $4=$3==$[62]?Math.round(($2.getInnerHeight()-$0.getOuterHeight())/2):0;if($3==$[17]){$4+=$2.getPaddingBottom();if(!$0._computedBottomTypeNull){$4+=$0.getBottomValue();}else if(!$0._computedTopTypeNull){$4-=$0.getTopValue();}$0._resetRuntimeTop();$0._renderRuntimeBottom($4);}else{$4+=$2.getPaddingTop();if(!$0._computedTopTypeNull){$4+=$0.getTopValue();}else if(!$0._computedBottomTypeNull){$4-=$0.getBottomValue();}$0._resetRuntimeBottom();$0._renderRuntimeTop($4);}}}}); |
111 |
qx.Class.define($[510],{extend:qx.ui.resizer.ResizablePopup,construct:function($0,$1,$2){arguments.callee.base.call(this);this.setWindowManager($2||qx.ui.window.Window.getDefaultWindowManager());var $3=this._layout=new qx.ui.layout.VerticalBoxLayout;$3.setEdge(0);this.add($3);var $4=this._captionBar=new qx.ui.layout.HorizontalBoxLayout;$4.setAppearance($[989]);$4.setHeight($[3]);$4.setOverflow($[22]);$3.add($4);var $5=this._captionIcon=new qx.ui.basic.Image;$5.setAppearance($[1092]);$4.add($5);var $6=this._captionTitle=new qx.ui.basic.Label($0);$6.setAppearance($[1667]);$6.setSelectable(false);$4.add($6);var $7=this._captionFlex=new qx.ui.basic.HorizontalSpacer;$4.add($7);var $8=this._minimizeButton=new qx.ui.form.Button;$8.setAppearance($[1547]);$8.setTabIndex(-1);$8.addEventListener($[133],this._onminimizebuttonclick,this);$8.addEventListener($[14],this._onbuttonmousedown,this);$4.add($8);var $9=this._restoreButton=new qx.ui.form.Button;$9.setAppearance($[832]);$9.setTabIndex(-1);$9.addEventListener($[133],this._onrestorebuttonclick,this);$9.addEventListener($[14],this._onbuttonmousedown,this);var $a=this._maximizeButton=new qx.ui.form.Button;$a.setAppearance($[1215]);$a.setTabIndex(-1);$a.addEventListener($[133],this._onmaximizebuttonclick,this);$a.addEventListener($[14],this._onbuttonmousedown,this);$4.add($a);var $b=this._closeButton=new qx.ui.form.Button;$b.setAppearance($[1711]);$b.setTabIndex(-1);$b.addEventListener($[133],this._onclosebuttonclick,this);$b.addEventListener($[14],this._onbuttonmousedown,this);$4.add($b);var $c=this._pane=new qx.ui.layout.CanvasLayout;$c.setHeight($[142]);$c.setOverflow($[22]);$3.add($c);var $d=this._statusBar=new qx.ui.layout.HorizontalBoxLayout;$d.setAppearance($[943]);$d.setHeight($[3]);var $e=this._statusText=new qx.ui.basic.Label($[402]);$e.setAppearance($[1409]);$e.setSelectable(false);$d.add($e);if($0!=null){this.setCaption($0);}if($1!=null){this.setIcon($1);}this.setAutoHide(false);this.addEventListener($[14],this._onwindowmousedown);this.addEventListener($[56],this._onwindowclick);$4.addEventListener($[14],this._oncaptionmousedown,this);$4.addEventListener($[25],this._oncaptionmouseup,this);$4.addEventListener($[151],this._oncaptionmousemove,this);$4.addEventListener($[105],this._oncaptiondblblick,this);this.remapChildrenHandlingTo(this._pane);},statics:{getDefaultWindowManager:function(){if(!qx.ui.window.Window._defaultWindowManager){qx.ui.window.Window._defaultWindowManager=new qx.ui.window.Manager;}return qx.ui.window.Window._defaultWindowManager;}},properties:{appearance:{refine:true,init:$[902]},windowManager:{check:$[515],event:$[1438]},active:{check:$[2],init:false,apply:$[550],event:$[1514]},modal:{check:$[2],init:false,apply:$[1633],event:$[939]},mode:{check:[$[229],$[72]],init:null,nullable:true,apply:$[1815],event:$[1164]},opener:{check:$[69]},caption:{apply:$[1095],event:$[1446],dispose:true},icon:{check:$[6],nullable:true,apply:$[181],event:$[770]},status:{check:$[6],init:$[402],apply:$[1159],event:$[1503]},showClose:{check:$[2],init:true,apply:$[1036]},showMaximize:{check:$[2],init:true,apply:$[1114]},showMinimize:{check:$[2],init:true,apply:$[1555]},showStatusbar:{check:$[2],init:false,apply:$[1181]},allowClose:{check:$[2],init:true,apply:$[569]},allowMaximize:{check:$[2],init:true,apply:$[762]},allowMinimize:{check:$[2],init:true,apply:$[1282]},showCaption:{check:$[2],init:true,apply:$[1518]},showIcon:{check:$[2],init:true,apply:$[1557]},moveable:{check:$[2],init:true,event:$[1494]},moveMethod:{check:[$[244],$[82],$[143]],init:$[244],event:$[955]}},members:{getPane:function(){return this._pane;},getCaptionBar:function(){return this._captionBar;},getStatusBar:function(){return this._statusBar;},close:function(){this.hide();},open:function($0){if($0!=null){this.setOpener($0);}if(this.getCentered()){this.centerToBrowser();}this.show();},focus:function(){this.setActive(true);},blur:function(){this.setActive(false);},maximize:function(){this.setMode($[72]);},minimize:function(){this.setMode($[229]);},restore:function(){this.setMode(null);},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.popup.PopupManager.getInstance().update();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);this.getWindowManager().add(this);this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);var $0=qx.event.handler.EventHandler.getInstance().getFocusRoot();if($0==this||this.contains($0)){qx.event.handler.EventHandler.getInstance().setFocusRoot(null);}var $1=qx.event.handler.EventHandler.getInstance().getCaptureWidget();if($1&&this.contains($1)){$1.setCapture(false);}this.getWindowManager().remove(this);this._makeInactive();},_minZIndex:1e5,_sendTo:function(){var $0=qx.lang.Object.getValues(this.getWindowManager().getAll()).sort(qx.util.Compare.byZIndex);var $1=$0.length;var $2=this._minZIndex;for(var $3=0;$3<$1;$3++){$0[$3].setZIndex($2++);}},_applyActive:function($0,$1){if($1){if(this.getFocused()){this.setFocused(false);}if(this.getWindowManager().getActiveWindow()==this){this.getWindowManager().setActiveWindow(null);}this.removeState($[63]);this._captionBar.removeState($[63]);this._minimizeButton.removeState($[63]);this._restoreButton.removeState($[63]);this._maximizeButton.removeState($[63]);this._closeButton.removeState($[63]);}else{if(!this.getFocusedChild()){this.setFocused(true);}this.getWindowManager().setActiveWindow(this);this.bringToFront();this.addState($[63]);this._captionBar.addState($[63]);this._minimizeButton.addState($[63]);this._restoreButton.addState($[63]);this._maximizeButton.addState($[63]);this._closeButton.addState($[63]);}},_applyModal:function($0,$1){if(this._initialLayoutDone&&this.getVisibility()&&this.getDisplay()){var $2=this.getTopLevelWidget();$0?$2.block(this):$2.release(this);}},_applyAllowClose:function($0,$1){this._closeButtonManager();},_applyAllowMaximize:function($0,$1){this._maximizeButtonManager();},_applyAllowMinimize:function($0,$1){this._minimizeButtonManager();},_applyMode:function($0,$1){switch($0){case $[229]:this._disableResize=true;this._minimize();break;case $[72]:this._disableResize=true;this._maximize();break;default:delete this._disableResize;switch($1){case $[72]:this._restoreFromMaximized();break;case $[229]:this._restoreFromMinimized();break;}}},_applyShowCaption:function($0,$1){if($0){this._captionBar.addAt(this._captionTitle,this.getShowIcon()?1:0);}else{this._captionBar.remove(this._captionTitle);}},_applyShowIcon:function($0,$1){if($0){this._captionBar.addAtBegin(this._captionIcon);}else{this._captionBar.remove(this._captionIcon);}},_applyShowStatusbar:function($0,$1){if($0){this._layout.addAtEnd(this._statusBar);}else{this._layout.remove(this._statusBar);}},_applyShowClose:function($0,$1){if($0){this._captionBar.addAtEnd(this._closeButton);}else{this._captionBar.remove(this._closeButton);}},_applyShowMaximize:function($0,$1){if($0){var $2=this.getMode()==$[72]?this._restoreButton:this._maximizeButton;if(this.getShowMinimize()){this._captionBar.addAfter($2,this._minimizeButton);}else{this._captionBar.addAfter($2,this._captionFlex);}}else{this._captionBar.remove(this._maximizeButton);this._captionBar.remove(this._restoreButton);}},_applyShowMinimize:function($0,$1){if($0){this._captionBar.addAfter(this._minimizeButton,this._captionFlex);}else{this._captionBar.remove(this._minimizeButton);}},_minimizeButtonManager:function(){this.getAllowMinimize()===false?this._minimizeButton.setEnabled(false):this._minimizeButton.resetEnabled();},_closeButtonManager:function(){this.getAllowClose()===false?this._closeButton.setEnabled(false):this._closeButton.resetEnabled();},_maximizeButtonManager:function(){var $0=this.getAllowMaximize()&&this.getResizable()&&this._computedMaxWidthTypeNull&&this._computedMaxHeightTypeNull;if(this._maximizeButton){$0===false?this._maximizeButton.setEnabled(false):this._maximizeButton.resetEnabled();}if(this._restoreButton){$0===false?this._restoreButton.setEnabled(false):this._restoreButton.resetEnabled();}},_applyStatus:function($0,$1){this._statusText.setText($0);},_applyMaxWidth:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyMaxHeight:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyResizable:function($0,$1){this._maximizeButtonManager();},_applyCaption:function($0,$1){this._captionTitle.setText($0);},_applyIcon:function($0,$1){this._captionIcon.setSource($0);},_minimize:function(){this.blur();this.hide();},_restoreFromMaximized:function(){this.setLeft(this._previousLeft?this._previousLeft:null);this.setWidth(this._previousWidth?this._previousWidth:null);this.setRight(this._previousRight?this._previousRight:null);this.setTop(this._previousTop?this._previousTop:null);this.setHeight(this._previousHeight?this._previousHeight:null);this.setBottom(this._previousBottom?this._previousBottom:null);this.removeState($[72]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._restoreButton);$0.remove(this._restoreButton);$0.addAt(this._maximizeButton,$1);}this.focus();},_restoreFromMinimized:function(){if(this.hasState($[72])){this.setMode($[72]);}this.show();this.focus();},_maximize:function(){if(this.hasState($[72])){return;}this._previousLeft=this.getLeft();this._previousWidth=this.getWidth();this._previousRight=this.getRight();this._previousTop=this.getTop();this._previousHeight=this.getHeight();this._previousBottom=this.getBottom();this.setWidth(null);this.setLeft(0);this.setRight(0);this.setHeight(null);this.setTop(0);this.setBottom(0);this.addState($[72]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._maximizeButton);$0.remove(this._maximizeButton);$0.addAt(this._restoreButton,$1);}this.focus();},_onwindowclick:function($0){$0.stopPropagation();},_onwindowmousedown:function($0){this.focus();},_onbuttonmousedown:function($0){$0.stopPropagation();},_onminimizebuttonclick:function($0){this.minimize();this._minimizeButton.removeState($[15]);this._minimizeButton.removeState($[35]);this._minimizeButton.removeState($[44]);$0.stopPropagation();},_onrestorebuttonclick:function($0){this.restore();this._restoreButton.removeState($[15]);this._restoreButton.removeState($[35]);this._restoreButton.removeState($[44]);$0.stopPropagation();},_onmaximizebuttonclick:function($0){this.maximize();this._maximizeButton.removeState($[15]);this._maximizeButton.removeState($[35]);this._maximizeButton.removeState($[44]);$0.stopPropagation();},_onclosebuttonclick:function($0){this.close();this._closeButton.removeState($[15]);this._closeButton.removeState($[35]);this._closeButton.removeState($[44]);$0.stopPropagation();},_oncaptionmousedown:function($0){if(!$0.isLeftButtonPressed()||!this.getMoveable()||this.getMode()!=null){return;}this._captionBar.setCapture(true);var $1=this.getElement();var $2=this.getParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[19]);var $5=qx.bom.element.Location.get($1);this._dragSession={offsetX:$0.getPageX()-$5.left+$4.left,offsetY:$0.getPageY()-$5.top+$4.top,parentAvailableAreaLeft:$4.left+5,parentAvailableAreaTop:$4.top+5,parentAvailableAreaRight:$4.right-5,parentAvailableAreaBottom:$4.bottom-5};switch(this.getMoveMethod()){case $[143]:this.setOpacity(0.5);break;case $[82]:var $6=this._frame;if($6.getParent()!=this.getParent()){$6.setParent(this.getParent());qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}},_oncaptionmouseup:function($0){var $1=this._dragSession;if(!$1){return;}this._captionBar.setCapture(false);if($1.lastX!=null){this.setLeft($1.lastX);}if($1.lastY!=null){this.setTop($1.lastY);}switch(this.getMoveMethod()){case $[143]:this.setOpacity(null);break;case $[82]:this._frame.setParent(null);break;}delete this._dragSession;},_oncaptionmousemove:function($0){var $1=this._dragSession;if(!$1||!this._captionBar.getCapture()){return;}if(!qx.lang.Number.isBetweenRange($0.getPageX(),$1.parentAvailableAreaLeft,$1.parentAvailableAreaRight)||!qx.lang.Number.isBetweenRange($0.getPageY(),$1.parentAvailableAreaTop,$1.parentAvailableAreaBottom)){return;}var $2=this.getMoveMethod()==$[82]?this._frame:this;$2._renderRuntimeLeft($1.lastX=$0.getPageX()-$1.offsetX);$2._renderRuntimeTop($1.lastY=$0.getPageY()-$1.offsetY);},_oncaptiondblblick:function($0){if(!this._maximizeButton.getEnabled()){return;}return this.getMode()==$[72]?this.restore():this.maximize();}},destruct:function(){this._disposeObjects($[350],$[708],$[1505],$[680],$[935],$[1315],$[1278],$[992],$[933],$[439],$[1059],$[1273]);}}); |
| 112 |
qx.Class.define($[1743],{extend:qx.ui.layout.BoxLayout,properties:{orientation:{refine:true,init:$[117]}}}); |
112 |
qx.Class.define($[728],{extend:qx.ui.core.Parent,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setOrientation($0);}else{this.initOrientation();}},statics:{STR_REVERSED:"-reversed"},properties:{orientation:{check:[$[136],$[122]],init:$[136],apply:$[1576],event:$[1799]},spacing:{check:$[5],init:0,themeable:true,apply:$[587],event:$[1585]},horizontalChildrenAlign:{check:[$[11],$[61],$[9]],init:$[11],themeable:true,apply:$[1105]},verticalChildrenAlign:{check:[$[23],$[66],$[18]],init:$[23],themeable:true,apply:$[1026]},reverseChildrenOrder:{check:$[2],init:false,apply:$[1749]},stretchChildrenOrthogonalAxis:{check:$[2],init:true,apply:$[773]},useAdvancedFlexAllocation:{check:$[2],init:false,apply:$[1608]},accumulatedChildrenOuterWidth:{_cached:true,defaultValue:null},accumulatedChildrenOuterHeight:{_cached:true,defaultValue:null}},members:{_createLayoutImpl:function(){return this.getOrientation()==$[122]?new qx.ui.layout.impl.VerticalBoxLayoutImpl(this):new qx.ui.layout.impl.HorizontalBoxLayoutImpl(this);},_layoutHorizontal:false,_layoutVertical:false,_layoutMode:$[11],isHorizontal:function(){return this._layoutHorizontal;},isVertical:function(){return this._layoutVertical;},getLayoutMode:function(){if(this._layoutMode==null){this._updateLayoutMode();}return this._layoutMode;},_updateLayoutMode:function(){this._layoutMode=this._layoutVertical?this.getVerticalChildrenAlign():this.getHorizontalChildrenAlign();if(this.getReverseChildrenOrder()){this._layoutMode+=qx.ui.layout.BoxLayout.STR_REVERSED;}},_invalidateLayoutMode:function(){this._layoutMode=null;},_applyOrientation:function($0,$1){this._layoutHorizontal=$0==$[136];this._layoutVertical=$0==$[122];if(this._layoutImpl){this._layoutImpl.dispose();this._layoutImpl=null;}if($0){this._layoutImpl=this._createLayoutImpl();}this._doLayoutOrder($0,$1);this.addToQueueRuntime($[1392]);},_applySpacing:function($0,$1){this._doLayout();this.addToQueueRuntime($[1675]);},_applyHorizontalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1516]);},_applyVerticalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1249]);},_applyReverseChildrenOrder:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[887]);},_applyStretchChildrenOrthogonalAxis:function($0,$1){this.addToQueueRuntime($[1545]);},_applyUseAdvancedFlexAllocation:function($0,$1){this.addToQueueRuntime($[1797]);},_doLayoutOrder:function(){this._invalidateLayoutMode();this._doLayout();},_doLayout:function(){this._invalidatePreferredInnerDimensions();this._invalidateAccumulatedChildrenOuterWidth();this._invalidateAccumulatedChildrenOuterHeight();},_computeAccumulatedChildrenOuterWidth:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterWidth()+$3;}return $4;},_computeAccumulatedChildrenOuterHeight:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterHeight()+$3;}return $4;},_recomputeChildrenStretchingX:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingX()&&$1._recomputeBoxWidth()){$1._recomputeOuterWidth();}}},_recomputeChildrenStretchingY:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingY()&&$1._recomputeBoxHeight()){$1._recomputeOuterHeight();}}}}}); |
| 113 |
qx.Class.define($[930],{extend:qx.ui.layout.BoxLayout}); |
113 |
qx.Class.define($[879],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull&&$0.getAllowStretchX()){return this.getWidget().getInnerWidth();}return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexHeight:function(){if(this._childrenFlexHeightComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexHeightComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerHeight();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedHeightTypeFlex){$4.push($3);if($0._computedHeightTypeAuto){$6+=$3.getPreferredBoxHeight();}}else{$6+=$3.getOuterHeight();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedHeightParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightParsed*$b);$6+=$3._computedHeightFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedHeightFlexValue=$3._computedHeightParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinHeightValue(),$3.getMaxHeightValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxHeightValue()||Infinity)-$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinHeightValue())?$3._computedHeightFlexValue-$3.getMinHeightValue():$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedHeightParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedHeightFlexValue+=$f/$g*$3._computedHeightParsed;if($3._allocationLoops==$d){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedHeightFlexValue+=$5-$6;},invalidateChildrenFlexHeight:function(){delete this._childrenFlexHeightComputed;},computeChildrenNeededHeight:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededHeight_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterHeightChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();},updateChildOnInnerWidthChange:function($0){var $1=$0._recomputePercentX();var $2=$0._recomputeStretchingX();if(($0.getHorizontalAlign()||this.getWidget().getHorizontalChildrenAlign())==$[61]){$0.addToLayoutChanges($[101]);}return $1||$2;},updateChildOnInnerHeightChange:function($0){if(this.getWidget().getVerticalChildrenAlign()==$[66]){$0.addToLayoutChanges($[118]);}var $1=$0._recomputePercentY();var $2=$0._recomputeFlexY();return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[118]);}if($0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[101]);}if($0.stretchChildrenOrthogonalAxis){$1=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for(var $6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexY()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[18]:case $[224]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[118]);}break;case $[66]:case $[231]:while($5=$3[++$6]){$5.addToLayoutChanges($[118]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[118]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[118]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexHeight();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexY()){$4._computedHeightValue=null;if($4._recomputeBoxHeight()){$4._recomputeOuterHeight();$4._recomputeInnerHeight();}$0[$4.toHashCode()]=$4;$4._layoutChanges.height=true;}}}switch($1.getLayoutMode()){case $[18]:case $[224]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[66]:case $[231]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if(($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull))||($0.getAllowStretchX()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull)){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationY:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[18]:case $[224]:var $3=$2.getPaddingBottom()+$2.getAccumulatedChildrenOuterHeight()-$0.getOuterHeight();break;case $[66]:case $[231]:var $3=$2.getPaddingTop()+Math.round(($2.getInnerHeight()-$2.getAccumulatedChildrenOuterHeight())/2);break;default:var $3=$2.getPaddingTop();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[18]:case $[224]:var $3=$4._cachedLocationVertical-$0.getOuterHeight()-$2.getSpacing();break;default:var $3=$4._cachedLocationVertical+$4.getOuterHeight()+$2.getSpacing();}}$0._cachedLocationVertical=$3;switch(this.getWidget().getLayoutMode()){case $[18]:case $[1288]:case $[231]:$3+=!$0._computedBottomTypeNull?$0.getBottomValue():!$0._computedTopTypeNull?-($0.getTopValue()):0;$0._resetRuntimeTop();$0._renderRuntimeBottom($3);break;default:$3+=!$0._computedTopTypeNull?$0.getTopValue():!$0._computedBottomTypeNull?-($0.getBottomValue()):0;$0._resetRuntimeBottom();$0._renderRuntimeTop($3);}},layoutChild_locationX:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[16])){if($0.getAllowStretchX()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull){$0._renderRuntimeLeft($2.getPaddingLeft()||0);$0._renderRuntimeRight($2.getPaddingRight()||0);return;}}var $3=$0.getHorizontalAlign()||$2.getHorizontalChildrenAlign();var $4=$3==$[61]?Math.round(($2.getInnerWidth()-$0.getOuterWidth())/2):0;if($3==$[9]){$4+=$2.getPaddingRight();if(!$0._computedRightTypeNull){$4+=$0.getRightValue();}else if(!$0._computedLeftTypeNull){$4-=$0.getLeftValue();}$0._resetRuntimeLeft();$0._renderRuntimeRight($4);}else{$4+=$2.getPaddingLeft();if(!$0._computedLeftTypeNull){$4+=$0.getLeftValue();}else if(!$0._computedRightTypeNull){$4-=$0.getRightValue();}$0._resetRuntimeRight();$0._renderRuntimeLeft($4);}}}}); |
| 114 |
qx.Class.define($[742],{extend:qx.ui.basic.Terminator,construct:function($0,$1,$2){arguments.callee.base.call(this);this._blank=qx.io.Alias.getInstance().resolve($[456]);if($0!=null){this.setSource($0);}if($1!=null){this.setWidth($1);}else{this.initWidth();}if($2!=null){this.setHeight($2);}else{this.initHeight();}this.initSelectable();},events:{"error":$[4]},properties:{allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1046]},source:{check:$[6],apply:$[364],event:$[393],nullable:true,themeable:true},preloader:{check:$[416],apply:$[624],nullable:true},loaded:{check:$[2],init:false,apply:$[1277]},resizeToInner:{check:$[2],init:false}},members:{_onload:function(){this.setLoaded(true);},_onerror:function(){this.warn("Could not load: "+this.getSource());this.setLoaded(false);if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}},_beforeAppear:function(){var $0=this.getSource();if($0){qx.io.image.Manager.getInstance().show($0);this._registeredAsVisible=true;}return arguments.callee.base.call(this);},_beforeDisappear:function(){var $0=this.getSource();if($0&&this._registeredAsVisible){qx.io.image.Manager.getInstance().hide($0);delete this._registeredAsVisible;}return arguments.callee.base.call(this);},_applySource:function($0,$1){var $2=qx.io.image.Manager.getInstance();if($1){$2.remove($1);if(this._registeredAsVisible){$2.hide($1);delete this._registeredAsVisible;}}if($0){$2.add($0);if(this.isSeeable()){this._registeredAsVisible=true;$2.show($0);}}if(this.isCreated()){this._connect();}},_connect:function(){var $0=qx.io.Alias.getInstance();$0.connect(this._syncSource,this,this.getSource());},_syncSource:function($0){if($0===null){this.setPreloader(null);}else{var $1=qx.io.image.PreloaderManager.getInstance().create($0);this.setPreloader($1);}},_applyPreloader:function($0,$1){if($1){$1.removeEventListener($[82],this._onload,this);$1.removeEventListener($[95],this._onerror,this);}if($0){this.setLoaded(false);if($0.isErroneous()){this._onerror();}else if($0.isLoaded()){this.setLoaded(true);}else{$0.addEventListener($[82],this._onload,this);$0.addEventListener($[95],this._onerror,this);}}else{this.setLoaded(false);}},_applyLoaded:function($0,$1){if($0&&this.isCreated()){this._renderContent();}else if(!$0){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();}},_applyElement:function($0,$1){if($0){if(!this._image){try{if(qx.core.Variant.isSet($[1],$[147])){this._image=document.createElement($[944]);}else{this._image=new Image;}this._image.style.border=$[426];this._image.style.verticalAlign=$[20];this._image.alt=$[0];this._image.title=$[0];}catch(ex){this.error("Failed while creating image #1",ex);}if(qx.core.Variant.isSet($[1],$[350])){this._styleEnabled();}}$0.appendChild(this._image);}arguments.callee.base.call(this,$0,$1);if($0&&this.getSource()){this._connect();}},_postApply:function(){this._postApplyDimensions();this._updateContent();},_applyEnabled:function($0,$1){if(this._image){this._styleEnabled();}return arguments.callee.base.call(this,$0,$1);},_updateContent:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this._image;var $1=this.getPreloader();var $2=$1&&$1.isLoaded()?$1.getSource():this._blank;if($1&&$1.getIsPng()&&this.getEnabled()){$0.src=this._blank;$0.style.filter=$[616]+$2+$[1715];}else{$0.src=$2;$0.style.filter=this.getEnabled()?$[0]:$[947];}},"default":function(){var $0=this.getPreloader();var $1=$0&&$0.isLoaded()?$0.getSource():this._blank;this._image.src=$1;}}),_resetContent:qx.core.Variant.select($[1],{"mshtml":function(){this._image.src=this._blank;this._image.style.filter=$[0];},"default":function(){this._image.src=this._blank;}}),_styleEnabled:qx.core.Variant.select($[1],{"mshtml":function(){this._updateContent();},"default":function(){if(this._image){var $0=this.getEnabled()===false?0.3:$[0];var $1=this._image.style;$1.opacity=$1.KhtmlOpacity=$1.MozOpacity=$0;}}}),_computePreferredInnerWidth:function(){var $0=this.getPreloader();return $0?$0.getWidth():0;},_computePreferredInnerHeight:function(){var $0=this.getPreloader();return $0?$0.getHeight():0;},_renderContent:function(){arguments.callee.base.call(this);qx.ui.core.Widget.flushGlobalQueues();},_postApplyDimensions:qx.core.Variant.select($[1],{"mshtml":function(){try{var $0=this._image.style;if(this.getResizeToInner()){$0.pixelWidth=this.getInnerWidth();$0.pixelHeight=this.getInnerHeight();}else{$0.pixelWidth=this.getPreferredInnerWidth();$0.pixelHeight=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}},"default":function(){try{var $0=this._image;if(this.getResizeToInner()){$0.width=this.getInnerWidth();$0.height=this.getInnerHeight();}else{$0.width=this.getPreferredInnerWidth();$0.height=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}}}),_changeInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelWidth=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.width=$0;}}}),_changeInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelHeight=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.height=$0;}}})},destruct:function(){if(this._image){this._image.style.filter=$[0];}this._disposeFields($[1345]);}}); |
114 |
qx.Class.define($[1440],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull&&$0.getAllowStretchY()){return this.getWidget().getInnerHeight();}return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexWidth:function(){if(this._childrenFlexWidthComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexWidthComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerWidth();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedWidthTypeFlex){$4.push($3);if($0._computedWidthTypeAuto){$6+=$3.getPreferredBoxWidth();}}else{$6+=$3.getOuterWidth();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedWidthParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthParsed*$b);$6+=$3._computedWidthFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedWidthFlexValue=$3._computedWidthParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinWidthValue(),$3.getMaxWidthValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxWidthValue()||Infinity)-$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinWidthValue())?$3._computedWidthFlexValue-$3.getMinWidthValue():$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedWidthParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedWidthFlexValue+=$f/$g*$3._computedWidthParsed;if($3._allocationLoops==$d){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedWidthFlexValue+=$5-$6;},invalidateChildrenFlexWidth:function(){delete this._childrenFlexWidthComputed;},computeChildrenNeededWidth:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterWidthChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();},updateChildOnInnerWidthChange:function($0){if(this.getWidget().getHorizontalChildrenAlign()==$[61]){$0.addToLayoutChanges($[101]);}var $1=$0._recomputePercentX();var $2=$0._recomputeFlexX();return $1||$2;},updateChildOnInnerHeightChange:function($0){var $1=$0._recomputePercentY();var $2=$0._recomputeStretchingY();if(($0.getVerticalAlign()||this.getWidget().getVerticalChildrenAlign())==$[66]){$0.addToLayoutChanges($[118]);}return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[101]);}if($0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[118]);}if($0.stretchChildrenOrthogonalAxis){$2=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for($6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexX()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[9]:case $[219]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[101]);}break;case $[61]:case $[233]:while($5=$3[++$6]){$5.addToLayoutChanges($[101]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[101]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[101]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexWidth();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexX()){$4._computedWidthValue=null;if($4._recomputeBoxWidth()){$4._recomputeOuterWidth();$4._recomputeInnerWidth();}$0[$4.toHashCode()]=$4;$4._layoutChanges.width=true;}}}switch($1.getLayoutMode()){case $[9]:case $[219]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[61]:case $[233]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull)){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if(($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull))||($0.getAllowStretchY()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationX:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[9]:case $[219]:var $3=$2.getPaddingRight()+$2.getAccumulatedChildrenOuterWidth()-$0.getOuterWidth();break;case $[61]:case $[233]:var $3=$2.getPaddingLeft()+Math.round(($2.getInnerWidth()-$2.getAccumulatedChildrenOuterWidth())/2);break;default:var $3=$2.getPaddingLeft();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[9]:case $[219]:var $3=$4._cachedLocationHorizontal-$0.getOuterWidth()-$2.getSpacing();break;default:var $3=$4._cachedLocationHorizontal+$4.getOuterWidth()+$2.getSpacing();}}$0._cachedLocationHorizontal=$3;switch($2.getLayoutMode()){case $[9]:case $[1080]:case $[233]:$3+=!$0._computedRightTypeNull?$0.getRightValue():!$0._computedLeftTypeNull?-($0.getLeftValue()):0;$0._resetRuntimeLeft();$0._renderRuntimeRight($3);break;default:$3+=!$0._computedLeftTypeNull?$0.getLeftValue():!$0._computedRightTypeNull?-($0.getRightValue()):0;$0._resetRuntimeRight();$0._renderRuntimeLeft($3);}},layoutChild_locationY:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[16])){if($0.getAllowStretchY()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull){$0._renderRuntimeTop($2.getPaddingTop()||0);$0._renderRuntimeBottom($2.getPaddingBottom()||0);return;}}var $3=$0.getVerticalAlign()||$2.getVerticalChildrenAlign();var $4=$3==$[66]?Math.round(($2.getInnerHeight()-$0.getOuterHeight())/2):0;if($3==$[18]){$4+=$2.getPaddingBottom();if(!$0._computedBottomTypeNull){$4+=$0.getBottomValue();}else if(!$0._computedTopTypeNull){$4-=$0.getTopValue();}$0._resetRuntimeTop();$0._renderRuntimeBottom($4);}else{$4+=$2.getPaddingTop();if(!$0._computedTopTypeNull){$4+=$0.getTopValue();}else if(!$0._computedBottomTypeNull){$4-=$0.getBottomValue();}$0._resetRuntimeBottom();$0._renderRuntimeTop($4);}}}}); |
| 115 |
qx.Class.define($[1209],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setText($0);}this.initWidth();this.initHeight();this.initSelectable();this.initCursor();this.initWrap();},statics:{_getMeasureNode:function(){var $0=this._measureNode;if(!$0){$0=document.createElement($[67]);var $1=$0.style;$1.width=$1.height=$[3];$1.visibility=$[36];$1.position=$[54];$1.zIndex=$[1232];document.body.appendChild($0);this._measureNode=$0;}return $0;}},properties:{appearance:{refine:true,init:$[195]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},text:{apply:$[573],init:$[0],dispose:true,check:$[280]},wrap:{check:$[2],init:false,nullable:true,apply:$[271]},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},textOverflow:{check:$[2],init:true},mode:{check:[$[1648],$[254],$[3]],init:$[3]}},members:{_content:$[0],_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[244]):this.setStyleProperty($[244],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this._invalidatePreferredInnerDimensions();$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[233],$0):this.removeStyleProperty($[233]);},_applyWrap:function($0,$1){$0==null?this.removeStyleProperty($[415]):this.setStyleProperty($[415],$0?$[156]:$[321]);},_applyText:function($0,$1){this._syncText(this.getText());},_syncText:function($0){this._content=$0;if(this._isCreated){this._renderContent();}},_computeObjectNeededDimensions:function(){var $0=arguments.callee.self._getMeasureNode();var $1=$0.style;var $2=this._styleProperties;$1.fontFamily=$2.fontFamily||$[0];$1.fontSize=$2.fontSize||$[0];$1.fontWeight=$2.fontWeight||$[0];$1.fontStyle=$2.fontStyle||$[0];$0.innerHTML=this._content;this._cachedPreferredInnerWidth=$0.scrollWidth;this._cachedPreferredInnerHeight=$0.scrollHeight;},_computePreferredInnerWidth:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerWidth;},_computePreferredInnerHeight:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerHeight;},_postApply:function(){var $0=this._content;var $1=this._getTargetNode();if($0==null){$1.innerHTML=$[0];}else{var $2=$1.style;if(!this.getWrap()){if(this.getInnerWidth()<this.getPreferredInnerWidth()){$2.overflow=$[36];}else{$2.overflow=$[0];}}$1.innerHTML=$0;}}}}); |
115 |
qx.Class.define($[1763],{extend:qx.ui.layout.BoxLayout,properties:{orientation:{refine:true,init:$[122]}}}); |
| 116 |
qx.Class.define($[1784],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.initWidth();},properties:{width:{refine:true,init:$[138]}}}); |
116 |
qx.Class.define($[950],{extend:qx.ui.layout.BoxLayout}); |
| 117 |
qx.Class.define($[1072],{extend:qx.ui.layout.BoxLayout,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this);this.getLayoutImpl().setEnableFlexSupport(false);if($0!==undefined){this.setLabel($0);}if(qx.Class.isDefined($[356])&&$4!=null&&$2!=null&&$3!=null&&qx.ui.embed.Flash.getPlayerVersion().getMajor()>0){this._flashMode=true;this.setIcon($4);}else if($1!=null){this.setIcon($1);}if($1||$4){if($2!=null){this.setIconWidth($2);}if($3!=null){this.setIconHeight($3);}}this.initWidth();this.initHeight();},properties:{orientation:{refine:true,init:$[132]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[1347]},stretchChildrenOrthogonalAxis:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},horizontalChildrenAlign:{refine:true,init:$[57]},verticalChildrenAlign:{refine:true,init:$[62]},spacing:{refine:true,init:4},label:{apply:$[256],nullable:true,dispose:true,check:$[280]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},disabledIcon:{check:$[6],apply:$[1670],nullable:true,themeable:true},show:{init:$[110],check:[$[110],$[195],$[133],$[7]],themeable:true,nullable:true,inheritable:true,apply:$[1298],event:$[269]},iconPosition:{init:$[11],check:[$[20],$[9],$[17],$[11]],themeable:true,apply:$[1328]},iconWidth:{check:$[5],themeable:true,apply:$[1039],nullable:true},iconHeight:{check:$[5],themeable:true,apply:$[1566],nullable:true}},members:{_flashMode:false,_labelObject:null,_iconObject:null,_createLabel:function(){var $0=this._labelObject=new qx.ui.basic.Label(this.getLabel());$0.setAnonymous(true);this.addAt($0,this._iconObject?1:0);},_createIcon:function(){if(this._flashMode&&qx.Class.isDefined($[356])){var $0=this._iconObject=new qx.ui.embed.Flash(this.getIcon());}else{var $0=this._iconObject=new qx.ui.basic.Image();}$0.setAnonymous(true);var $1=this.getIconWidth();if($1!==null){this._iconObject.setWidth($1);}var $2=this.getIconWidth();if($2!==null){this._iconObject.setHeight($2);}this._updateIcon();this.addAt($0,0);},_updateIcon:function(){var $0=this.getIcon();if(this._iconObject&&this.getIcon&&this.getDisabledIcon){var $1=this.getDisabledIcon();if($1){if(this.getEnabled()){$0?this._iconObject.setSource($0):this._iconObject.resetSource();}else{$1?this._iconObject.setSource($1):this._iconObject.resetSource();}this._iconObject.setEnabled(true);}else{$0?this._iconObject.setSource($0):this._iconObject.resetSource();this._iconObject.resetEnabled();}}},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;},_applyIconPosition:function($0,$1){switch($0){case $[20]:case $[17]:this.setOrientation($[117]);this.setReverseChildrenOrder($0==$[17]);break;default:this.setOrientation($[132]);this.setReverseChildrenOrder($0==$[9]);break;}},_applyShow:function($0,$1){this._handleIcon();this._handleLabel();},_applyLabel:function($0,$1){if(this._labelObject){$0?this._labelObject.setText($0):this._labelObject.resetText();}this._handleLabel();},_applyIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyDisabledIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyIconWidth:function($0,$1){if(this._iconObject){this._iconObject.setWidth($0);}},_applyIconHeight:function($0,$1){if(this._iconObject){this._iconObject.setHeight($0);}},_iconIsVisible:false,_labelIsVisible:false,_handleLabel:function(){switch(this.getShow()){case $[195]:case $[110]:case $[116]:this._labelIsVisible=!!this.getLabel();break;default:this._labelIsVisible=false;}if(this._labelIsVisible){this._labelObject?this._labelObject.setDisplay(true):this._createLabel();}else if(this._labelObject){this._labelObject.setDisplay(false);}},_handleIcon:function(){switch(this.getShow()){case $[133]:case $[110]:case $[116]:this._iconIsVisible=!!this.getIcon();break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}}},destruct:function(){this._disposeObjects($[297],$[249]);}}); |
117 |
qx.Class.define($[753],{extend:qx.ui.basic.Terminator,construct:function($0,$1,$2){arguments.callee.base.call(this);this._blank=qx.io.Alias.getInstance().resolve($[464]);if($0!=null){this.setSource($0);}if($1!=null){this.setWidth($1);}else{this.initWidth();}if($2!=null){this.setHeight($2);}else{this.initHeight();}this.initSelectable();},events:{"error":$[4]},properties:{allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1064]},source:{check:$[6],apply:$[369],event:$[399],nullable:true,themeable:true},preloader:{check:$[424],apply:$[638],nullable:true},loaded:{check:$[2],init:false,apply:$[1299]},resizeToInner:{check:$[2],init:false}},members:{_onload:function(){this.setLoaded(true);},_onerror:function(){this.warn("Could not load: "+this.getSource());this.setLoaded(false);if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}},_beforeAppear:function(){var $0=this.getSource();if($0){qx.io.image.Manager.getInstance().show($0);this._registeredAsVisible=true;}return arguments.callee.base.call(this);},_beforeDisappear:function(){var $0=this.getSource();if($0&&this._registeredAsVisible){qx.io.image.Manager.getInstance().hide($0);delete this._registeredAsVisible;}return arguments.callee.base.call(this);},_applySource:function($0,$1){var $2=qx.io.image.Manager.getInstance();if($1){$2.remove($1);if(this._registeredAsVisible){$2.hide($1);delete this._registeredAsVisible;}}if($0){$2.add($0);if(this.isSeeable()){this._registeredAsVisible=true;$2.show($0);}}if(this.isCreated()){this._connect();}},_connect:function(){var $0=qx.io.Alias.getInstance();$0.connect(this._syncSource,this,this.getSource());},_syncSource:function($0){if($0===null){this.setPreloader(null);}else{var $1=qx.io.image.PreloaderManager.getInstance().create($0);this.setPreloader($1);}},_applyPreloader:function($0,$1){if($1){$1.removeEventListener($[83],this._onload,this);$1.removeEventListener($[95],this._onerror,this);}if($0){this.setLoaded(false);if($0.isErroneous()){this._onerror();}else if($0.isLoaded()){this.setLoaded(true);}else{$0.addEventListener($[83],this._onload,this);$0.addEventListener($[95],this._onerror,this);}}else{this.setLoaded(false);}},_applyLoaded:function($0,$1){if($0&&this.isCreated()){this._renderContent();}else if(!$0){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();}},_applyElement:function($0,$1){if($0){if(!this._image){try{if(qx.core.Variant.isSet($[1],$[94])){this._image=document.createElement($[963]);}else{this._image=new Image;}this._image.style.border=$[434];this._image.style.verticalAlign=$[23];this._image.alt=$[0];this._image.title=$[0];}catch(ex){this.error("Failed while creating image #1",ex);}if(qx.core.Variant.isSet($[1],$[357])){this._styleEnabled();}}$0.appendChild(this._image);}arguments.callee.base.call(this,$0,$1);if($0&&this.getSource()){this._connect();}},_postApply:function(){this._postApplyDimensions();this._updateContent();},_applyEnabled:function($0,$1){if(this._image){this._styleEnabled();}return arguments.callee.base.call(this,$0,$1);},_updateContent:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this._image;var $1=this.getPreloader();var $2=$1&&$1.isLoaded()?$1.getSource():this._blank;if($1&&$1.getIsPng()&&this.getEnabled()){$0.src=this._blank;$0.style.filter=$[630]+$2+$[1735];}else{$0.src=$2;$0.style.filter=this.getEnabled()?$[0]:$[595];}},"default":function(){var $0=this.getPreloader();var $1=$0&&$0.isLoaded()?$0.getSource():this._blank;this._image.src=$1;}}),_resetContent:qx.core.Variant.select($[1],{"mshtml":function(){this._image.src=this._blank;this._image.style.filter=$[0];},"default":function(){this._image.src=this._blank;}}),_styleEnabled:qx.core.Variant.select($[1],{"mshtml":function(){this._updateContent();},"default":function(){if(this._image){var $0=this.getEnabled()===false?0.3:$[0];var $1=this._image.style;$1.opacity=$1.KhtmlOpacity=$1.MozOpacity=$0;}}}),_computePreferredInnerWidth:function(){var $0=this.getPreloader();return $0?$0.getWidth():0;},_computePreferredInnerHeight:function(){var $0=this.getPreloader();return $0?$0.getHeight():0;},_renderContent:function(){arguments.callee.base.call(this);qx.ui.core.Widget.flushGlobalQueues();},_postApplyDimensions:qx.core.Variant.select($[1],{"mshtml":function(){try{var $0=this._image.style;if(this.getResizeToInner()){$0.pixelWidth=this.getInnerWidth();$0.pixelHeight=this.getInnerHeight();}else{$0.pixelWidth=this.getPreferredInnerWidth();$0.pixelHeight=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}},"default":function(){try{var $0=this._image;if(this.getResizeToInner()){$0.width=this.getInnerWidth();$0.height=this.getInnerHeight();}else{$0.width=this.getPreferredInnerWidth();$0.height=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}}}),_changeInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelWidth=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.width=$0;}}}),_changeInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelHeight=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.height=$0;}}})},destruct:function(){if(this._image){this._image.style.filter=$[0];}this._disposeFields($[577]);}}); |
| 118 |
qx.Class.define($[303],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initTabIndex();this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[16],this._onkeydown);this.addEventListener($[84],this._onkeyup);},properties:{appearance:{refine:true,init:$[1763]},tabIndex:{refine:true,init:1}},members:{_onmouseover:function($0){if($0.getTarget()!=this){return;}if(this.hasState($[35])){this.removeState($[35]);this.addState($[14]);}this.addState($[43]);},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[43]);if(this.hasState($[14])){this.setCapture(true);this.removeState($[14]);this.addState($[35]);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.removeState($[35]);this.addState($[14]);},_onmouseup:function($0){this.setCapture(false);var $1=this.hasState($[14]);var $2=this.hasState($[35]);if($1){this.removeState($[14]);}if($2){this.removeState($[35]);}if(!$2){this.addState($[43]);if($1){this.execute();}}},_onkeydown:function($0){switch($0.getKeyIdentifier()){case $[46]:case $[85]:this.removeState($[35]);this.addState($[14]);$0.stopPropagation();}},_onkeyup:function($0){switch($0.getKeyIdentifier()){case $[46]:case $[85]:if(this.hasState($[14])){this.removeState($[35]);this.removeState($[14]);this.execute();$0.stopPropagation();}}}}}); |
118 |
qx.Class.define($[1232],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setText($0);}this.initWidth();this.initHeight();this.initSelectable();this.initCursor();this.initWrap();},statics:{_getMeasureNode:function(){var $0=this._measureNode;if(!$0){$0=document.createElement($[70]);var $1=$0.style;$1.width=$1.height=$[3];$1.visibility=$[22];$1.position=$[58];$1.zIndex=$[1255];document.body.appendChild($0);this._measureNode=$0;}return $0;}},properties:{appearance:{refine:true,init:$[196]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},text:{apply:$[583],init:$[0],dispose:true,check:$[283]},wrap:{check:$[2],init:false,nullable:true,apply:$[273]},textAlign:{check:[$[11],$[61],$[9],$[267]],nullable:true,themeable:true,apply:$[290]},textOverflow:{check:$[2],init:true},mode:{check:[$[314],$[206],$[3]],init:$[3]}},members:{_content:$[0],_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[246]):this.setStyleProperty($[246],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this._invalidatePreferredInnerDimensions();$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[238],$0):this.removeStyleProperty($[238]);},_applyWrap:function($0,$1){$0==null?this.removeStyleProperty($[423]):this.setStyleProperty($[423],$0?$[158]:$[327]);},_applyText:function($0,$1){this._syncText(this.getText());},_syncText:function($0){this._content=$0;if(this._isCreated){this._renderContent();}},_computeObjectNeededDimensions:function(){var $0=arguments.callee.self._getMeasureNode();var $1=$0.style;var $2=this._styleProperties;$1.fontFamily=$2.fontFamily||$[0];$1.fontSize=$2.fontSize||$[0];$1.fontWeight=$2.fontWeight||$[0];$1.fontStyle=$2.fontStyle||$[0];$0.innerHTML=this._content;this._cachedPreferredInnerWidth=$0.scrollWidth;this._cachedPreferredInnerHeight=$0.scrollHeight;},_computePreferredInnerWidth:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerWidth;},_computePreferredInnerHeight:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerHeight;},_postApply:function(){var $0=this._content;var $1=this._getTargetNode();if($0==null){$1.innerHTML=$[0];}else{var $2=$1.style;if(!this.getWrap()){if(this.getInnerWidth()<this.getPreferredInnerWidth()){$2.overflow=$[22];}else{$2.overflow=$[0];}}$1.innerHTML=$0;}}}}); |
| 119 |
qx.Class.define($[862],{extend:qx.log.appender.Abstract,properties:{element:{check:$[519],nullable:true,apply:$[468]},maxMessages:{check:$[5],init:500},useLongFormat:{refine:true,init:false}},members:{__backgroundColors:{0:$[201],200:$[201],500:$[1623],600:$[1244],700:$[410],800:$[410],1000:$[201]},_prepare:function(){if(!this._frame){this._frame=document.createElement($[67]);}},_applyElement:function($0,$1){this._prepare();if($0){$0.appendChild(this._frame);}else if($1){$1.removeChild(this._frame);}},clear:function(){if(this._frame){this._frame.innerHTML=$[0];}},appendLogEvent:function($0){this._prepare();var $1=$0.logger.getName();if($0.instanceId!=null){$1+=$[512]+$0.instanceId+$[115];}if($1!=this._lastGroup){var $2=document.createElement($[67]);$2.style.fontWeight=$[278];$2.innerHTML=$1;this._frame.appendChild($2);this._lastGroup=$1;}var $2=document.createElement($[67]);$2.style.backgroundColor=this.__backgroundColors[$0.level];$2.innerHTML=this.formatLogEvent($0).replace(/&/g,$[479]).replace(/</g,$[335]).replace(/ /g,$[1372]).replace(/[\n]/g,$[484]);this._frame.appendChild($2);while(this._frame.childNodes.length>this.getMaxMessages()){this._frame.removeChild(this._frame.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._frame.firstChild.className=$[0];this._frame.firstChild.innerHTML=$[316]+this._removedMessageCount+$[458];}}},destruct:function(){this._disposeFields($[307]);}}); |
119 |
qx.Class.define($[1804],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.initWidth();},properties:{width:{refine:true,init:$[142]}}}); |
| 120 |
qx.Class.define($[1258],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function($0){this._indentObject=$0._indentObject;this._iconObject=$0._iconObject;this._labelObject=$0._labelObject;this._indentObject.setAnonymous(true);this._iconObject.setAnonymous(true);this._labelObject.setAnonymous(true);this._labelObject.setSelectable(false);this._labelObject.setStyleProperty($[522],$[56]);this._labelObject.setMode($[254]);arguments.callee.base.call(this);if(qx.util.Validation.isValid($0._label)){this.setLabel($0._label);}this.initSelectable();this.BASE_URI=qx.io.Alias.getInstance().resolve("widget/tree/");for(var $1=0;$1<$0._fields.length;$1++){this.add($0._fields[$1]);}if($0._icons.unselected!==undefined){this.setIcon($0._icons.unselected);this.setIconSelected($0._icons.unselected);}else{this.initIcon();}if($0._icons.selected!==undefined){this.setIconSelected($0._icons.selected);}if(($0._icons.selected===undefined)&&($0._icons.unselected!==undefined)){this.initIconSelected();}this._iconObject.setAppearance($[1541]);this._labelObject.setAppearance($[959]);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);},properties:{orientation:{refine:true,init:$[132]},selectable:{refine:true,init:false},appearance:{refine:true,init:$[1796]},icon:{check:$[6],nullable:true,init:$[1225],apply:$[181]},iconSelected:{check:$[6],event:$[806],nullable:true,init:null,apply:$[181]},label:{check:$[280],apply:$[256],dispose:true},selected:{check:$[2],init:false,apply:$[267],event:$[261]}},members:{_applyLabel:function($0,$1){if(this._labelObject){this._labelObject.setText($0);}},_applyIcon:function($0,$1){var $2=this.getIconObject();if($2){var $3=this._evalCurrentIcon();if(!$3){$2.setDisplay(false);}else{$2.setDisplay(true);$2.setSource($3);}this.addToTreeQueue();}},_applySelected:function($0,$1){if($0){this.addState($[92]);this._labelObject.addState($[92]);}else{this.removeState($[92]);this._labelObject.removeState($[92]);}var $2=this.getTree();if(!$2._fastUpdate||($1&&$2._oldItem==this)){this._iconObject.setSource(this._evalCurrentIcon());if($0){this._iconObject.addState($[92]);}else{this._iconObject.removeState($[92]);}}var $3=this.getTree().getManager();$3.setItemSelected(this,$0);},_getRowStructure:function($0,$1,$2){if($0 instanceof qx.ui.tree.TreeRowStructure){return $0;}else{return qx.ui.tree.TreeRowStructure.getInstance().standard($0,$1,$2);}},_evalCurrentIcon:function(){if(this.getSelected()&&this.getIconSelected()){return this.getIconSelected();}else{return this.getIcon();}},getParentFolder:function(){if(this.getParent()&&typeof (this.getParent().getParent)==$[37]){return this.getParent().getParent();}return null;},getLevel:function(){var $0=this.getParentFolder();return $0?$0.getLevel()+1:null;},getTree:function(){var $0=this.getParentFolder();return $0?$0.getTree():null;},getIndentObject:function(){return this._indentObject;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},destroy:function(){var $0=this.getTree()?this.getTree().getManager():null;if($0){if($0.getItemSelected(this)){if($0.getMultiSelection()){$0.setItemSelected(this,false);}else{$0.deselectAll();}}if($0.getLeadItem()==this){$0.setLeadItem(null);}if($0.getAnchorItem()==this){$0.setAnchorItem(null);}}if(this.destroyContent){this.destroyContent();}this.disconnect();var $1=this.getParentFolder();if($1){$1.remove(this);}qx.client.Timer.once(function(){this.dispose();},this,0);},getHierarchy:function($0){if(this._labelObject){$0.unshift(this._labelObject.getText());}var $1=this.getParentFolder();if($1){$1.getHierarchy($0);}return $0;},addToTreeQueue:function(){var $0=this.getTree();if($0){$0.addChildToTreeQueue(this);}},removeFromTreeQueue:function(){var $0=this.getTree();if($0){$0.removeChildFromTreeQueue(this);}},addToCustomQueues:function($0){this.addToTreeQueue();arguments.callee.base.call(this,$0);},removeFromCustomQueues:function($0){this.removeFromTreeQueue();arguments.callee.base.call(this,$0);},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1&&!$1.isDisplayable()&&$1.getParent()&&$1.getParent().isDisplayable()){$1.getParent().addToTreeQueue();}if($0&&!$0.isDisplayable()&&$0.getParent()&&$0.getParent().isDisplayable()){$0.getParent().addToTreeQueue();}},_handleDisplayableCustom:function($0,$1,$2){arguments.callee.base.call(this,$0,$1,$2);if($2){var $3=this.getParentFolder();var $4=this._previousParentFolder;if($4){if(this._wasLastVisibleChild){$4._updateIndent();}else if(!$4.hasContent()){$4.addToTreeQueue();}}if($3&&$3.isDisplayable()&&$3._initialLayoutDone){$3.addToTreeQueue();}if(this.isLastVisibleChild()){var $5=this.getPreviousVisibleSibling();if($5&&$5 instanceof qx.ui.tree.AbstractTreeElement){$5._updateIndent();}}if($0){this._updateIndent();}}},_onmousedown:function($0){if($0._treeProcessed){return;}this.getTree().getManager().handleMouseDown(this,$0);$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}},flushTree:function(){this._previousParentFolder=this.getParentFolder();this._wasLastVisibleChild=this.isLastVisibleChild();var $0=this.getLevel();var $1=this.getTree();if(!$1){return;}var $2;var $3=[];var $4=this;var $5=0;var $6=$0;if($1.getRootOpenClose()){$6=$0+1;}if($1.getHideNode()){$5=1;}for(var $7=$5;$7<$6;$7++){$2=$4.getIndentSymbol($1.getUseTreeLines(),$7,$5,$6);if($2){$3.push($[762]);$3.push(($6-$7-1)*19);$3.push($[885]);$3.push(this.BASE_URI);$3.push($2);$3.push($[24]);$3.push($[1476]);$3.push($[1400]);}$4=$4.getParentFolder();}this._indentObject.setHtml($3.join($[0]));this._indentObject.setWidth(($6-$5)*19);}},destruct:function(){this._disposeObjects($[715],$[297],$[249]);this._disposeFields($[1188]);}}); |
120 |
qx.Class.define($[1090],{extend:qx.ui.layout.BoxLayout,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this);this.getLayoutImpl().setEnableFlexSupport(false);if($0!==undefined){this.setLabel($0);}if(qx.Class.isDefined($[362])&&$4!=null&&$2!=null&&$3!=null&&qx.ui.embed.Flash.getPlayerVersion().getMajor()>0){this._flashMode=true;this.setIcon($4);}else if($1!=null){this.setIcon($1);}if($1||$4){if($2!=null){this.setIconWidth($2);}if($3!=null){this.setIconHeight($3);}}this.initWidth();this.initHeight();},properties:{orientation:{refine:true,init:$[136]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[1366]},stretchChildrenOrthogonalAxis:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},horizontalChildrenAlign:{refine:true,init:$[61]},verticalChildrenAlign:{refine:true,init:$[66]},spacing:{refine:true,init:4},label:{apply:$[257],nullable:true,dispose:true,check:$[283]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},disabledIcon:{check:$[6],apply:$[1691],nullable:true,themeable:true},show:{init:$[115],check:[$[115],$[196],$[138],$[8]],themeable:true,nullable:true,inheritable:true,apply:$[1320],event:$[272]},iconPosition:{init:$[11],check:[$[23],$[9],$[18],$[11]],themeable:true,apply:$[1348]},iconWidth:{check:$[5],themeable:true,apply:$[1057],nullable:true},iconHeight:{check:$[5],themeable:true,apply:$[1588],nullable:true}},members:{_flashMode:false,_labelObject:null,_iconObject:null,_createLabel:function(){var $0=this._labelObject=new qx.ui.basic.Label(this.getLabel());$0.setAnonymous(true);this.addAt($0,this._iconObject?1:0);},_createIcon:function(){if(this._flashMode&&qx.Class.isDefined($[362])){var $0=this._iconObject=new qx.ui.embed.Flash(this.getIcon());}else{var $0=this._iconObject=new qx.ui.basic.Image();}$0.setAnonymous(true);var $1=this.getIconWidth();if($1!==null){this._iconObject.setWidth($1);}var $2=this.getIconWidth();if($2!==null){this._iconObject.setHeight($2);}this._updateIcon();this.addAt($0,0);},_updateIcon:function(){var $0=this.getIcon();if(this._iconObject&&this.getIcon&&this.getDisabledIcon){var $1=this.getDisabledIcon();if($1){if(this.getEnabled()){$0?this._iconObject.setSource($0):this._iconObject.resetSource();}else{$1?this._iconObject.setSource($1):this._iconObject.resetSource();}this._iconObject.setEnabled(true);}else{$0?this._iconObject.setSource($0):this._iconObject.resetSource();this._iconObject.resetEnabled();}}},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;},_applyIconPosition:function($0,$1){switch($0){case $[23]:case $[18]:this.setOrientation($[122]);this.setReverseChildrenOrder($0==$[18]);break;default:this.setOrientation($[136]);this.setReverseChildrenOrder($0==$[9]);break;}},_applyShow:function($0,$1){this._handleIcon();this._handleLabel();},_applyLabel:function($0,$1){if(this._labelObject){$0?this._labelObject.setText($0):this._labelObject.resetText();}this._handleLabel();},_applyIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyDisabledIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyIconWidth:function($0,$1){if(this._iconObject){this._iconObject.setWidth($0);}},_applyIconHeight:function($0,$1){if(this._iconObject){this._iconObject.setHeight($0);}},_iconIsVisible:false,_labelIsVisible:false,_handleLabel:function(){switch(this.getShow()){case $[196]:case $[115]:case $[121]:this._labelIsVisible=!!this.getLabel();break;default:this._labelIsVisible=false;}if(this._labelIsVisible){this._labelObject?this._labelObject.setDisplay(true):this._createLabel();}else if(this._labelObject){this._labelObject.setDisplay(false);}},_handleIcon:function(){switch(this.getShow()){case $[138]:case $[115]:case $[121]:this._iconIsVisible=!!this.getIcon();break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}}},destruct:function(){this._disposeObjects($[301],$[251]);}}); |
| 121 |
qx.Class.define($[1206],{type:$[18],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{newRow:function(){this._indentObject=new qx.ui.embed.HtmlEmbed;this._iconObject=new qx.ui.basic.Image;this._labelObject=new qx.ui.basic.Label;this._fields=new Array;this._icons=new Object;this._fields.push(this._indentObject);this._indentAdded=false;this._iconAdded=false;this._labelAdded=false;return this;},standard:function($0,$1,$2){this.newRow();this.addIcon($1,$2);this.addLabel($0);return this;},addIndent:function(){if(!this._indentAdded){this._fields.shift();this._indentAdded=true;}else{throw new Error("Indent object added more than once.");}this._fields.push(this._indentObject);},addIcon:function($0,$1){if(!this._iconAdded){this._iconAdded=true;}else{throw new Error("Icon object added more than once.");}if($0!==undefined){this._icons.unselected=$0;}if($1!==undefined){this._icons.selected=$1;}this._fields.push(this._iconObject);},addLabel:function($0){if(!this._labelAdded){this._labelAdded=true;}else{throw new Error("Label added more than once.");}this._label=$0;this._fields.push(this._labelObject);},addObject:function($0,$1){if(typeof $1==$[58]){$0.setAnonymous($1);}this._fields.push($0);},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;}},destruct:function(){this._disposeFields($[745]);this._disposeObjects($[1349],$[1753],$[833]);this._disposeObjectDeep($[1038],1);}}); |
121 |
qx.Class.define($[307],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initTabIndex();this.addEventListener($[65],this._onmouseover);this.addEventListener($[106],this._onmouseout);this.addEventListener($[14],this._onmousedown);this.addEventListener($[25],this._onmouseup);this.addEventListener($[12],this._onkeydown);this.addEventListener($[85],this._onkeyup);},properties:{appearance:{refine:true,init:$[1783]},tabIndex:{refine:true,init:1}},members:{_onmouseover:function($0){if($0.getTarget()!=this){return;}if(this.hasState($[35])){this.removeState($[35]);this.addState($[15]);}this.addState($[44]);},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[44]);if(this.hasState($[15])){this.setCapture(true);this.removeState($[15]);this.addState($[35]);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.removeState($[35]);this.addState($[15]);},_onmouseup:function($0){this.setCapture(false);var $1=this.hasState($[15]);var $2=this.hasState($[35]);if($1){this.removeState($[15]);}if($2){this.removeState($[35]);}if(!$2){this.addState($[44]);if($1){this.execute();}}},_onkeydown:function($0){switch($0.getKeyIdentifier()){case $[49]:case $[86]:this.removeState($[35]);this.addState($[15]);$0.stopPropagation();}},_onkeyup:function($0){switch($0.getKeyIdentifier()){case $[49]:case $[86]:if(this.hasState($[15])){this.removeState($[35]);this.removeState($[15]);this.execute();$0.stopPropagation();}}}}}); |
| 122 |
qx.Class.define($[1263],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setHtml($0);}},properties:{html:{check:$[6],init:$[0],apply:$[1169],event:$[827]},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},font:{refine:true,init:null},textColor:{refine:true,init:null}},members:{_applyHtml:function(){if(this._isCreated){this._syncHtml();}},_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[244]):this.setStyleProperty($[244],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[233],$0):this.removeStyleProperty($[233]);},_applyElementData:function(){this._syncHtml();},_syncHtml:function(){this._getTargetNode().innerHTML=this.getHtml();}}}); |
122 |
qx.Class.define($[880],{extend:qx.log.appender.Abstract,properties:{element:{check:$[526],nullable:true,apply:$[476]},maxMessages:{check:$[5],init:500},useLongFormat:{refine:true,init:false}},members:{__backgroundColors:{0:$[202],200:$[202],500:$[1646],600:$[1267],700:$[417],800:$[417],1000:$[202]},_prepare:function(){if(!this._frame){this._frame=document.createElement($[70]);}},_applyElement:function($0,$1){this._prepare();if($0){$0.appendChild(this._frame);}else if($1){$1.removeChild(this._frame);}},clear:function(){if(this._frame){this._frame.innerHTML=$[0];}},appendLogEvent:function($0){this._prepare();var $1=$0.logger.getName();if($0.instanceId!=null){$1+=$[519]+$0.instanceId+$[120];}if($1!=this._lastGroup){var $2=document.createElement($[70]);$2.style.fontWeight=$[280];$2.innerHTML=$1;this._frame.appendChild($2);this._lastGroup=$1;}var $2=document.createElement($[70]);$2.style.backgroundColor=this.__backgroundColors[$0.level];$2.innerHTML=this.formatLogEvent($0).replace(/&/g,$[487]).replace(/</g,$[343]).replace(/ /g,$[1390]).replace(/[\n]/g,$[492]);this._frame.appendChild($2);while(this._frame.childNodes.length>this.getMaxMessages()){this._frame.removeChild(this._frame.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._frame.firstChild.className=$[0];this._frame.firstChild.innerHTML=$[322]+this._removedMessageCount+$[466];}}},destruct:function(){this._disposeFields($[311]);}}); |
| 123 |
qx.Class.define($[553],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){var $3=this._getRowStructure($0,$1,$2);arguments.callee.base.call(this,$3);this._treeRowStructureFields=$3._fields;this._iconObject.setAppearance($[1001]);this._labelObject.setAppearance($[1524]);this.addEventListener($[104],this._ondblclick);this.add=this.addToFolder;this.addBefore=this.addBeforeToFolder;this.addAfter=this.addAfterToFolder;this.addAt=this.addAtToFolder;this.addAtBegin=this.addAtBeginToFolder;this.addAtEnd=this.addAtEndToFolder;},events:{"treeOpenWithContent":$[98],"treeOpenWhileEmpty":$[98],"treeClose":$[98]},properties:{appearance:{refine:true,init:$[504]},icon:{refine:true,init:$[681]},iconSelected:{refine:true,init:$[852]},open:{check:$[2],init:false,apply:$[651],event:$[1029]},alwaysShowPlusMinusSymbol:{check:$[2],init:false,apply:$[1418]}},members:{hasContent:function(){return this._containerObject&&this._containerObject.getChildrenLength()>0;},open:function(){if(this.getOpen()){return;}if(this.hasContent()){if(this.getTree().hasEventListeners($[399])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[399],this),true);}this.getTopLevelWidget().setGlobalCursor($[582]);qx.client.Timer.once(this._openCallback,this,0);}else{if(this.getTree().hasEventListeners($[391])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[391],this),true);}this.setOpen(true);}},close:function(){if(this.getTree().hasEventListeners($[318])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[318],this),true);}if(this.getOpen()){if(qx.lang.Array.contains(this.getItems(true,true),this.getTree().getSelectedElement())){this.getTree().getManager().setSelectedItem(this);}}this.setOpen(false);},toggle:function(){this.getOpen()?this.close():this.open();},_openCallback:function(){this.setOpen(true);qx.ui.core.Widget.flushGlobalQueues();this.getTopLevelWidget().setGlobalCursor(null);},_createChildrenStructure:function(){if(!(this instanceof qx.ui.tree.Tree)){this.setHeight($[3]);}this.setVerticalChildrenAlign($[20]);if(!this._horizontalLayout){this.setOrientation($[117]);this._horizontalLayout=new qx.ui.layout.HorizontalBoxLayout;this._horizontalLayout.setWidth(null);this._horizontalLayout.setParent(this);this._horizontalLayout.setAnonymous(true);this._horizontalLayout.setAppearance(this instanceof qx.ui.tree.Tree?$[1252]:$[504]);this.setAppearance($[216]);for(var $0=0;$0<this._treeRowStructureFields.length;$0++){this._treeRowStructureFields[$0].setParent(this._horizontalLayout);}this._treeRowStructureFields=null;}if(!this._containerObject){this._containerObject=new qx.ui.layout.VerticalBoxLayout;this._containerObject.setWidth(null);this._containerObject.setHeight($[3]);this._containerObject.setAnonymous(true);this._containerObject.setDisplay(this.getOpen());this._containerObject.setParent(this);}},_handleChildMove:function($0,$1,$2){if($0.isDisplayable()){var $3=this._containerObject.getChildren();var $4=$3.indexOf($0);if($4!=-1){if($2){$1=$3.indexOf($2);}if($1==$3.length-1){$0._updateIndent();this._containerObject.getLastVisibleChild()._updateIndent();}else if($0._wasLastVisibleChild){$0._updateIndent();var $5=$0.getPreviousVisibleSibling();if($5){$5._updateIndent();}}}}},addToFolder:function($0){this._createChildrenStructure();if(this._containerObject){return this._containerObject.add.apply(this._containerObject,arguments);}},addBeforeToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addBefore.apply(this._containerObject,arguments);}},addAfterToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.apply(this._containerObject,arguments);}},addAtToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,$1);return this._containerObject.addAt.apply(this._containerObject,arguments);}},addAtBeginToFolder:function($0){return this.addAtToFolder($0,0);},addAtEndToFolder:function($0){this._createChildrenStructure();if(this._containerObject){var $1=this._containerObject.getLastChild();if($1){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.call(this._containerObject,$0,$1);}else{return this.addAtBeginToFolder($0);}}},__saveSelectionBeforeRemove:function(){var $0=this.getTree();if($0){this.__oldSelection=$0.getSelectedElement();$0.setSelectedElement($0);}},__restoreSelectionAfterRemove:function(){var $0=this.getTree();if($0){if(!this.__oldSelection||!this.__oldSelection.getTree()){$0.setSelectedElement($0);}else{$0.setSelectedElement(this.__oldSelection);}}},remove:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.remove.apply(this._containerObject,arguments);this.__restoreSelectionAfterRemove();}},removeAt:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAt($0);this.__restoreSelectionAfterRemove();}},removeAll:function(){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAll();this.__restoreSelectionAfterRemove();}},getContainerObject:function(){return this._containerObject;},getHorizontalLayout:function(){return this._horizontalLayout;},getFirstVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getFirstChild();}},getLastVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getLastChild();}},getItems:function($0,$1){var $2=[this];if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},destroyContent:function(){if(!this.hasContent()){return;}var $0=this.getTree()?this.getTree().getManager():null;var $1;var $2;if($0){$1=$0.getLeadItem();$2=$0.getAnchorItem();}this._containerObject.setDisplay(true);var $3=this._containerObject.getChildren();var $4;for(var $5=$3.length-1;$5>=0;--$5){$4=$3[$5];if($4!=this){if($0){if($1==$4){$0.setLeadItem(null);}if($2==$4){$0.setAnchorItem(null);}if($0.getItemSelected($4)){if($0.getMultiSelection()){$0.setItemSelected($4,false);}else{$0.deselectAll();}}if($4.destroyContent){$4.destroyContent();}}$4.removeFromTreeQueue();$4.disconnect();this._containerObject.remove($4);qx.client.Timer.once(function(){$4.dispose();delete $3[$5];},this,0);}}},_applyOpen:function($0,$1){var $2=this.getTree();if($2&&$2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}if(this._containerObject){this._containerObject.setDisplay($0);}},_applyAlwaysShowPlusMinusSymbol:function($0,$1){var $2=this.getTree();if($2){if($2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}}},_updateLastColumn:function(){if(this._indentObject){var $0=this._indentObject.getElement();if($0&&$0.firstChild){$0.firstChild.src=this.BASE_URI+this.getIndentSymbol(this.getTree().getUseTreeLines(),0,0,0)+$[1210];}}},_onmousedown:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:if(this._indentObject.getElement().firstChild==$0.getDomTarget()){this.getTree().getManager().handleMouseDown(this,$0);this.toggle();}break;case this._containerObject:break;case this:if(this._containerObject){break;}default:this.getTree().getManager().handleMouseDown(this,$0);}$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:if(!this.getTree().getUseDoubleClick()){this.open();this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}this.getTree().getManager().handleMouseUp($0.getTarget(),$0);}},_ondblclick:function($0){if(!this.getTree().getUseDoubleClick()){return;}this.toggle();$0.stopPropagation();},getIndentSymbol:function($0,$1,$2,$3){var $4=this.getLevel();var $5=this.getTree().getExcludeSpecificTreeLines();var $6=$5[$3-$1-1];if($1==$2){if(this.hasContent()||this.getAlwaysShowPlusMinusSymbol()){if(!$0){return this.getOpen()?$[445]:$[338];}if($4==1){var $7=this.getParentFolder();if($7&&!$7._horizontalLayout.getVisibility()&&this.isFirstChild()){if(this.isLastChild()||$6===true){return this.getOpen()?$[301]:$[250];}else{return this.getOpen()?$[1161]:$[896];}}}if($6===true){return this.getOpen()?$[301]:$[250];}else if(this.isLastChild()){return this.getOpen()?$[1035]:$[1236];}else{return this.getOpen()?$[1492]:$[1398];}}else if($0&&!($6===true)){return this.isLastChild()?$[475]:$[413];}}else{if($0&&!this.isLastChild()){if($6===true){return null;}return $[369];}return null;}},_updateIndent:function(){qx.ui.tree.TreeFile.prototype._updateIndent.call(this);if(!this._containerObject){return;}var $0=this._containerObject.getVisibleChildren();for(var $1=0,$2=$0.length;$1<$2;$1++){$0[$1]._updateIndent();}}},destruct:function(){this._disposeFields($[751]);this._disposeObjects($[646],$[1704]);}}); |
123 |
qx.Class.define($[1281],{type:$[53],extend:qx.ui.layout.BoxLayout,construct:function($0){this._indentObject=$0._indentObject;this._iconObject=$0._iconObject;this._labelObject=$0._labelObject;this._indentObject.setAnonymous(true);this._iconObject.setAnonymous(true);this._labelObject.setAnonymous(true);this._labelObject.setSelectable(false);this._labelObject.setStyleProperty($[529],$[60]);this._labelObject.setMode($[206]);arguments.callee.base.call(this);if(qx.util.Validation.isValid($0._label)){this.setLabel($0._label);}this.initSelectable();this.BASE_URI=qx.io.Alias.getInstance().resolve("widget/tree/");for(var $1=0;$1<$0._fields.length;$1++){this.add($0._fields[$1]);}if($0._icons.unselected!==undefined){this.setIcon($0._icons.unselected);this.setIconSelected($0._icons.unselected);}else{this.initIcon();}if($0._icons.selected!==undefined){this.setIconSelected($0._icons.selected);}if(($0._icons.selected===undefined)&&($0._icons.unselected!==undefined)){this.initIconSelected();}this._iconObject.setAppearance($[1563]);this._labelObject.setAppearance($[978]);this.addEventListener($[14],this._onmousedown);this.addEventListener($[25],this._onmouseup);},properties:{orientation:{refine:true,init:$[136]},selectable:{refine:true,init:false},appearance:{refine:true,init:$[1816]},icon:{check:$[6],nullable:true,init:$[1248],apply:$[181]},iconSelected:{check:$[6],event:$[822],nullable:true,init:null,apply:$[181]},label:{check:$[283],apply:$[257],dispose:true},selected:{check:$[2],init:false,apply:$[270],event:$[263]}},members:{_applyLabel:function($0,$1){if(this._labelObject){this._labelObject.setText($0);}},_applyIcon:function($0,$1){var $2=this.getIconObject();if($2){var $3=this._evalCurrentIcon();if(!$3){$2.setDisplay(false);}else{$2.setDisplay(true);$2.setSource($3);}this.addToTreeQueue();}},_applySelected:function($0,$1){if($0){this.addState($[92]);this._labelObject.addState($[92]);}else{this.removeState($[92]);this._labelObject.removeState($[92]);}var $2=this.getTree();if(!$2._fastUpdate||($1&&$2._oldItem==this)){this._iconObject.setSource(this._evalCurrentIcon());if($0){this._iconObject.addState($[92]);}else{this._iconObject.removeState($[92]);}}var $3=this.getTree().getManager();$3.setItemSelected(this,$0);},_getRowStructure:function($0,$1,$2){if($0 instanceof qx.ui.tree.TreeRowStructure){return $0;}else{return qx.ui.tree.TreeRowStructure.getInstance().standard($0,$1,$2);}},_evalCurrentIcon:function(){if(this.getSelected()&&this.getIconSelected()){return this.getIconSelected();}else{return this.getIcon();}},getParentFolder:function(){if(this.getParent()&&typeof (this.getParent().getParent)==$[38]){return this.getParent().getParent();}return null;},getLevel:function(){var $0=this.getParentFolder();return $0?$0.getLevel()+1:null;},getTree:function(){var $0=this.getParentFolder();return $0?$0.getTree():null;},getIndentObject:function(){return this._indentObject;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},destroy:function(){var $0=this.getTree()?this.getTree().getManager():null;if($0){if($0.getItemSelected(this)){if($0.getMultiSelection()){$0.setItemSelected(this,false);}else{$0.deselectAll();}}if($0.getLeadItem()==this){$0.setLeadItem(null);}if($0.getAnchorItem()==this){$0.setAnchorItem(null);}}if(this.destroyContent){this.destroyContent();}this.disconnect();var $1=this.getParentFolder();if($1){$1.remove(this);}arguments.callee.base.call(this);},getHierarchy:function($0){if(this._labelObject){$0.unshift(this._labelObject.getText());}var $1=this.getParentFolder();if($1){$1.getHierarchy($0);}return $0;},addToTreeQueue:function(){var $0=this.getTree();if($0){$0.addChildToTreeQueue(this);}},removeFromTreeQueue:function(){var $0=this.getTree();if($0){$0.removeChildFromTreeQueue(this);}},addToCustomQueues:function($0){this.addToTreeQueue();arguments.callee.base.call(this,$0);},removeFromCustomQueues:function($0){this.removeFromTreeQueue();arguments.callee.base.call(this,$0);},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1&&!$1.isDisplayable()&&$1.getParent()&&$1.getParent().isDisplayable()){$1.getParent().addToTreeQueue();}if($0&&!$0.isDisplayable()&&$0.getParent()&&$0.getParent().isDisplayable()){$0.getParent().addToTreeQueue();}},_handleDisplayableCustom:function($0,$1,$2){arguments.callee.base.call(this,$0,$1,$2);if($2){var $3=this.getParentFolder();var $4=this._previousParentFolder;if($4){if(this._wasLastVisibleChild){$4._updateIndent();}else if(!$4.hasContent()){$4.addToTreeQueue();}}if($3&&$3.isDisplayable()&&$3._initialLayoutDone){$3.addToTreeQueue();}if(this.isLastVisibleChild()){var $5=this.getPreviousVisibleSibling();if($5&&$5 instanceof qx.ui.tree.AbstractTreeElement){$5._updateIndent();}}if($0){this._updateIndent();}}},_onmousedown:function($0){if($0._treeProcessed){return;}this.getTree().getManager().handleMouseDown(this,$0);$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}},flushTree:function(){this._previousParentFolder=this.getParentFolder();this._wasLastVisibleChild=this.isLastVisibleChild();var $0=this.getLevel();var $1=this.getTree();if(!$1){return;}var $2;var $3=[];var $4=this;var $5=0;var $6=$0;if($1.getRootOpenClose()){$6=$0+1;}if($1.getHideNode()){$5=1;}for(var $7=$5;$7<$6;$7++){$2=$4.getIndentSymbol($1.getUseTreeLines(),$7,$5,$6);if($2){$3.push($[774]);$3.push(($6-$7-1)*19);$3.push($[903]);$3.push(this.BASE_URI);$3.push($2);$3.push($[24]);$3.push($[1497]);$3.push($[1418]);}$4=$4.getParentFolder();}this._indentObject.setHtml($3.join($[0]));this._indentObject.setWidth(($6-$5)*19);}},destruct:function(){this._disposeObjects($[726],$[301],$[251]);this._disposeFields($[1211]);}}); |
| 124 |
qx.Class.define($[774],{extend:qx.ui.tree.TreeFolder,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));this._manager=new qx.ui.tree.SelectionManager(this);this._iconObject.setAppearance($[662]);this._labelObject.setAppearance($[1639]);this.setOpen(true);this.addToFolder();this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[84],this._onkeyup);},statics:{isTreeFolder:function($0){return ($0&&$0 instanceof qx.ui.tree.TreeFolder&&!($0 instanceof qx.ui.tree.Tree));},isOpenTreeFolder:function($0){return ($0 instanceof qx.ui.tree.TreeFolder&&$0.getOpen()&&$0.hasContent());}},properties:{useDoubleClick:{check:$[2],init:false},useTreeLines:{check:$[2],init:true,apply:$[1478]},tabIndex:{refine:true,init:1},excludeSpecificTreeLines:{check:$[414],init:[],apply:$[1638]},hideNode:{check:$[2],init:false,apply:$[1477]},rootOpenClose:{check:$[2],init:false,apply:$[704]}},members:{useDoubleClick:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[956]);return this.getUseDoubleClick();},useTreeLines:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1212]);return this.getUseTreeLines();},hideNode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1222]);return this.getHideNode();},getManager:function(){return this._manager;},getSelectedElement:function(){return this.getManager().getSelectedItems()[0];},getItems:function($0,$1){var $2=[];if(!this.getHideNode()){$2.push(this);}if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},addChildToTreeQueue:function($0){if(!$0._isInTreeQueue&&!$0._isDisplayable){this.debug("Ignoring invisible child: "+$0);}if(!$0._isInTreeQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalWidgetQueue(this);if(!this._treeQueue){this._treeQueue={};}this._treeQueue[$0.toHashCode()]=$0;$0._isInTreeQueue=true;}},removeChildFromTreeQueue:function($0){if($0._isInTreeQueue){if(this._treeQueue){delete this._treeQueue[$0.toHashCode()];}delete $0._isInTreeQueue;}},flushWidgetQueue:function(){this.flushTreeQueue();},flushTreeQueue:function(){if(!qx.lang.Object.isEmpty(this._treeQueue)){for(var $0 in this._treeQueue){this._treeQueue[$0].flushTree();delete this._treeQueue[$0]._isInTreeQueue;}delete this._treeQueue;}},_applyUseTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},_applyHideNode:function($0,$1){if(!$0){this._horizontalLayout.setHeight(this._horizontalLayout.originalHeight);this._horizontalLayout.show();}else{this._horizontalLayout.originalHeight=this._horizontalLayout.getHeight();this._horizontalLayout.setHeight(0);this._horizontalLayout.hide();}if(this._initialLayoutDone){this._updateIndent();}},_applyRootOpenClose:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getExcludeSpecificTreeLines:function(){return qx.lang.Array.clone(this[$[1160]]);},_applyExcludeSpecificTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getTree:function(){return this;},getParentFolder:function(){return null;},getLevel:function(){return 0;},_onkeydown:function($0){var $1=this.getManager();$1.getSelectedItem();},_onkeypress:function($0){var $1=this.getManager();var $2=$1.getSelectedItem();switch($0.getKeyIdentifier()){case $[46]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){return $2.toggle();}break;case $[60]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if($3 instanceof qx.ui.tree.Tree&&$3.getHideNode()){return;}if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}else{return $2.close();}}else if($2 instanceof qx.ui.tree.TreeFile){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}break;case $[64]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){return $2.open();}else if($2.hasContent()){var $4=$2.getFirstVisibleChildOfFolder();this.setSelectedElement($4);if($4 instanceof qx.ui.tree.TreeFolder){$4.open();}return;}}break;default:if(!this._fastUpdate){this._fastUpdate=true;this._oldItem=$2;}$1.handleKeyPress($0);}},_onkeyup:function($0){if(this._fastUpdate){var $1=this.getManager().getSelectedItem();if(!$1){return;}$1.getIconObject().addState($[92]);delete this._fastUpdate;delete this._oldItem;}},getLastTreeChild:function(){var $0=this;while($0 instanceof qx.ui.tree.AbstractTreeElement){if(!($0 instanceof qx.ui.tree.TreeFolder)||!$0.getOpen()){return $0;}$0=$0.getLastVisibleChildOfFolder();}return null;},getFirstTreeChild:function(){return this;},setSelectedElement:function($0){var $1=this.getManager();$1.setSelectedItem($0);$1.setLeadItem($0);},getHierarchy:function($0){if(!this.getHideNode()&&this._labelObject){$0.unshift(this._labelObject.getText());}return $0;},getIndentSymbol:function($0,$1,$2){if($1==$2&&(this.hasContent()||this.getAlwaysShowPlusMinusSymbol())){if(!$0){return this.getOpen()?$[445]:$[338];}else{return this.getOpen()?$[301]:$[250];}}else{return null;}}},destruct:function(){this._disposeObjects($[213]);}}); |
124 |
qx.Class.define($[1229],{type:$[20],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{newRow:function(){this._indentObject=new qx.ui.embed.HtmlEmbed;this._iconObject=new qx.ui.basic.Image;this._labelObject=new qx.ui.basic.Label;this._fields=new Array;this._icons=new Object;this._fields.push(this._indentObject);this._indentAdded=false;this._iconAdded=false;this._labelAdded=false;return this;},standard:function($0,$1,$2){this.newRow();this.addIcon($1,$2);this.addLabel($0);return this;},addIndent:function(){if(!this._indentAdded){this._fields.shift();this._indentAdded=true;}else{throw new Error("Indent object added more than once.");}this._fields.push(this._indentObject);},addIcon:function($0,$1){if(!this._iconAdded){this._iconAdded=true;}else{throw new Error("Icon object added more than once.");}if($0!==undefined){this._icons.unselected=$0;}if($1!==undefined){this._icons.selected=$1;}this._fields.push(this._iconObject);},addLabel:function($0){if(!this._labelAdded){this._labelAdded=true;}else{throw new Error("Label added more than once.");}this._label=$0;this._fields.push(this._labelObject);},addObject:function($0,$1){if(typeof $1==$[54]){$0.setAnonymous($1);}this._fields.push($0);},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;}},destruct:function(){this._disposeFields($[756]);this._disposeObjects($[1368],$[1773],$[849]);this._disposeObjectDeep($[1056],1);}}); |
| 125 |
qx.Class.define($[1256],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this._selectedItems=new qx.ui.selection.Selection(this);if($0!=null){this.setBoundedWidget($0);}},events:{"changeSelection":$[98]},properties:{boundedWidget:{check:$[66],nullable:true},multiSelection:{check:$[2],init:true},dragSelection:{check:$[2],init:true},canDeselect:{check:$[2],init:true},fireChange:{check:$[2],init:true},anchorItem:{check:$[119],nullable:true,apply:$[626],event:$[1302]},leadItem:{check:$[119],nullable:true,apply:$[1264],event:$[729]},multiColumnSupport:{check:$[2],init:false}},members:{_applyAnchorItem:function($0,$1){if($1){this.renderItemAnchorState($1,false);}if($0){this.renderItemAnchorState($0,true);}},_applyLeadItem:function($0,$1){if($1){this.renderItemLeadState($1,false);}if($0){this.renderItemLeadState($0,true);}},_getFirst:function(){return this.getBoundedWidget().getFirstVisibleChild();},_getLast:function(){return this.getBoundedWidget().getLastVisibleChild();},getFirst:function(){var $0=this._getFirst();if($0){return $0.getEnabled()?$0:this.getNext($0);}},getLast:function(){var $0=this._getLast();if($0){return $0.getEnabled()?$0:this.getPrevious($0);}},getItems:function(){return this.getBoundedWidget().getChildren();},getNextSibling:function($0){return $0.getNextSibling();},getPreviousSibling:function($0){return $0.getPreviousSibling();},getNext:function($0){while($0){$0=this.getNextSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},getPrevious:function($0){while($0){$0=this.getPreviousSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},isBefore:function($0,$1){var $2=this.getItems();return $2.indexOf($0)<$2.indexOf($1);},isEqual:function($0,$1){return $0==$1;},getItemHashCode:function($0){return $0.toHashCode();},scrollItemIntoView:function($0,$1){$0.scrollIntoView($1);},getItemLeft:function($0){return $0.getOffsetLeft();},getItemTop:function($0){return $0.getOffsetTop();},getItemWidth:function($0){return $0.getOffsetWidth();},getItemHeight:function($0){return $0.getOffsetHeight();},getItemEnabled:function($0){return $0.getEnabled();},renderItemSelectionState:function($0,$1){$1?$0.addState($[92]):$0.removeState($[92]);if($0.handleStateChange){$0.handleStateChange();}},renderItemAnchorState:function($0,$1){$1?$0.addState($[460]):$0.removeState($[460]);if($0.handleStateChange!=null){$0.handleStateChange();}},renderItemLeadState:function($0,$1){$1?$0.addState($[276]):$0.removeState($[276]);if($0.handleStateChange!=null){$0.handleStateChange();}},getItemSelected:function($0){return this._selectedItems.contains($0);},setItemSelected:function($0,$1){switch(this.getMultiSelection()){case true:if(!this.getItemEnabled($0)){return;}if(this.getItemSelected($0)==$1){return;}this.renderItemSelectionState($0,$1);$1?this._selectedItems.add($0):this._selectedItems.remove($0);this._dispatchChange();break;case false:var $2=this.getSelectedItems()[0];if($1){var $3=$2;if(this.isEqual($0,$3)){return;}if($3!=null){this.renderItemSelectionState($3,false);}this.renderItemSelectionState($0,true);this._selectedItems.removeAll();this._selectedItems.add($0);this._dispatchChange();}else{if(!this.isEqual($2,$0)){this.renderItemSelectionState($0,false);this._selectedItems.removeAll();this._dispatchChange();}}break;}},getSelectedItems:function(){return this._selectedItems.toArray();},getSelectedItem:function(){return this._selectedItems.getFirst();},setSelectedItems:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();var $3;var $4=$0.length;for(var $5=0;$5<$4;$5++){$3=$0[$5];if(!this.getItemEnabled($3)){continue;}this._selectedItems.add($3);this.renderItemSelectionState($3,true);}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},setSelectedItem:function($0){if(!$0){return;}if(!this.getItemEnabled($0)){return;}var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();this._selectedItems.add($0);this.renderItemSelectionState($0,true);this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},selectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._selectAll();this.setFireChange($1);if($1&&this._hasChanged($0)){this._dispatchChange();}},_selectAll:function(){if(!this.getMultiSelection()){return;}var $0;var $1=this.getItems();var $2=$1.length;this._selectedItems.removeAll();for(var $3=0;$3<$2;$3++){$0=$1[$3];if(!this.getItemEnabled($0)){continue;}this._selectedItems.add($0);this.renderItemSelectionState($0,true);}return true;},deselectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._deselectAll();this.setFireChange($1);if($1&&this._hasChanged($0))this._dispatchChange();},_deselectAll:function(){var $0=this._selectedItems.toArray();for(var $1=0;$1<$0.length;$1++){this.renderItemSelectionState($0[$1],false);}this._selectedItems.removeAll();return true;},selectItemRange:function($0,$1){var $2=this._getChangeValue();var $3=this.getFireChange();this.setFireChange(false);this._selectItemRange($0,$1,true);this.setFireChange($3);if($3&&this._hasChanged($2)){this._dispatchChange();}},_selectItemRange:function($0,$1,$2){if(this.isBefore($1,$0)){return this._selectItemRange($1,$0,$2);}if($2){this._deselectAll();}var $3=$0;while($3!=null){if(this.getItemEnabled($3)){this._selectedItems.add($3);this.renderItemSelectionState($3,true);}if(this.isEqual($3,$1)){break;}$3=this.getNext($3);}return true;},_deselectItemRange:function($0,$1){if(this.isBefore($1,$0)){return this._deselectItemRange($1,$0);}var $2=$0;while($2!=null){this._selectedItems.remove($2);this.renderItemSelectionState($2,false);if(this.isEqual($2,$1)){break;}$2=this.getNext($2);}},_activeDragSession:false,handleMouseDown:function($0,$1){$1.stopPropagation();if(!$1.isLeftButtonPressed()&&!$1.isRightButtonPressed()){return;}if($1.isRightButtonPressed()&&this.getItemSelected($0)){return;}if($1.isShiftPressed()||this.getDragSelection()||(!this.getItemSelected($0)&&!$1.isCtrlPressed())){this._onmouseevent($0,$1);}else{this.setLeadItem($0);}this._activeDragSession=this.getDragSelection();if(this._activeDragSession){this.getBoundedWidget().addEventListener($[22],this._ondragup,this);this.getBoundedWidget().setCapture(true);}},_ondragup:function($0){this.getBoundedWidget().removeEventListener($[22],this._ondragup,this);this.getBoundedWidget().setCapture(false);this._activeDragSession=false;},handleMouseUp:function($0,$1){if(!$1.isLeftButtonPressed()){return;}if($1.isCtrlPressed()||this.getItemSelected($0)&&!this._activeDragSession){this._onmouseevent($0,$1);}if(this._activeDragSession){this._activeDragSession=false;this.getBoundedWidget().setCapture(false);}},handleMouseOver:function($0,$1){if(!this.getDragSelection()||!this._activeDragSession){return;}this._onmouseevent($0,$1,true);},handleClick:function($0,$1){},handleDblClick:function($0,$1){},_onmouseevent:function($0,$1,$2){if(!this.getItemEnabled($0)){return;}var $3=this._getChangeValue();var $4=this.getLeadItem();var $5=this.getFireChange();this.setFireChange(false);var $6=this.getSelectedItems();var $7=$6.length;this.setLeadItem($0);var $8=this.getAnchorItem();var $9=$1.isCtrlPressed();var $a=$1.isShiftPressed();if(!$8||$7==0||($9&&!$a&&this.getMultiSelection()&&!this.getDragSelection())){this.setAnchorItem($0);$8=$0;}if((!$9&&!$a&&!this._activeDragSession||!this.getMultiSelection())){if(!this.getItemEnabled($0)){return;}this._deselectAll();this.setAnchorItem($0);if(this._activeDragSession){this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}if(!this.getItemSelected($0)){this.renderItemSelectionState($0,true);}this._selectedItems.add($0);this._addToCurrentSelection=true;}else if(this._activeDragSession&&$2){if($4){this._deselectItemRange($8,$4);}if(this.isBefore($8,$0)){if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else{if(this._addToCurrentSelection){this._selectItemRange($0,$8,false);}else{this._deselectItemRange($0,$8);}}this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}else if(this.getMultiSelection()&&$9&&!$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}this.setItemSelected($0,this._addToCurrentSelection);this.setAnchorItem($0);}else if(this.getMultiSelection()&&$9&&$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else if(this.getMultiSelection()&&!$9&&$a){if(this.getCanDeselect()){this._selectItemRange($8,$0,true);}else{if($4){this._deselectItemRange($8,$4);}this._selectItemRange($8,$0,false);}}this.setFireChange($5);if($5&&this._hasChanged($3)){this._dispatchChange();}},handleKeyDown:function($0){this.warn("qx.ui.selection.SelectionManager.handleKeyDown is deprecated! "+"Use keypress insted and bind it to the onkeypress event.");this.handleKeyPress($0);},handleKeyPress:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);if($0.getKeyIdentifier()==$[174]&&$0.isCtrlPressed()){if(this.getMultiSelection()){this._selectAll();this.setLeadItem(this.getFirst());}}else{var $3=this.getAnchorItem();var $4=this.getItemToSelect($0);if($4&&this.getItemEnabled($4)){this.setLeadItem($4);this.scrollItemIntoView($4);$0.preventDefault();if($0.isShiftPressed()&&this.getMultiSelection()){if($3==null){this.setAnchorItem($4);}this._selectItemRange(this.getAnchorItem(),$4,true);}else if(!$0.isCtrlPressed()){this._deselectAll();this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}else if($0.getKeyIdentifier()==$[85]){if(this._selectedItems.contains($4)){this.renderItemSelectionState($4,false);this._selectedItems.remove($4);this.setAnchorItem(this._selectedItems.getFirst());}else{if(!$0.isCtrlPressed()||!this.getMultiSelection()){this._deselectAll();}this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}}}}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},getItemToSelect:function($0){if($0.isAltPressed()){return null;}switch($0.getKeyIdentifier()){case $[150]:return this.getHome(this.getLeadItem());case $[162]:return this.getEnd(this.getLeadItem());case $[76]:return this.getDown(this.getLeadItem());case $[69]:return this.getUp(this.getLeadItem());case $[60]:return this.getLeft(this.getLeadItem());case $[64]:return this.getRight(this.getLeadItem());case $[88]:return this.getPageUp(this.getLeadItem())||this.getHome(this.getLeadItem());case $[99]:return this.getPageDown(this.getLeadItem())||this.getEnd(this.getLeadItem());case $[85]:if($0.isCtrlPressed()){return this.getLeadItem();}}return null;},_dispatchChange:function(){if(!this.getFireChange()){return;}if(this.hasEventListeners($[532])){this.dispatchEvent(new qx.event.type.DataEvent($[532],this.getSelectedItems()),true);}},_hasChanged:function($0){return $0!=this._getChangeValue();},_getChangeValue:function(){return this._selectedItems.getChangeValue();},getHome:function(){return this.getFirst();},getEnd:function(){return this.getLast();},getDown:function($0){if(!$0){return this.getFirst();}return this.getMultiColumnSupport()?(this.getUnder($0)||this.getLast()):this.getNext($0);},getUp:function($0){if(!$0){return this.getLast();}return this.getMultiColumnSupport()?(this.getAbove($0)||this.getFirst()):this.getPrevious($0);},getLeft:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getLast():this.getPrevious($0);},getRight:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getFirst():this.getNext($0);},getAbove:function($0){throw new Error("getAbove(): Not implemented yet");},getUnder:function($0){throw new Error("getUnder(): Not implemented yet");},getPageUp:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&(this.getItemTop($4)-this.getItemHeight($4)>=$2)){$4=this.getUp($4);}if($4==null){break;}if($4!=this.getLeadItem()){this.scrollItemIntoView($4,true);break;}$1.setScrollTop($2-$3-this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;},getPageDown:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&((this.getItemTop($4)+(2*this.getItemHeight($4)))<=($2+$3))){$4=this.getDown($4);}if($4==null){break;}if($4!=this.getLeadItem()){break;}$1.setScrollTop($2+$3-2*this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;}},destruct:function(){this._disposeObjects($[740]);}}); |
125 |
qx.Class.define($[1286],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setHtml($0);}},properties:{html:{check:$[6],init:$[0],apply:$[1188],event:$[843]},textAlign:{check:[$[11],$[61],$[9],$[267]],nullable:true,themeable:true,apply:$[290]},font:{refine:true,init:null},textColor:{refine:true,init:null}},members:{_applyHtml:function(){if(this._isCreated){this._syncHtml();}},_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[246]):this.setStyleProperty($[246],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[238],$0):this.removeStyleProperty($[238]);},_applyElementData:function(){this._syncHtml();},_syncHtml:function(){this._getTargetNode().innerHTML=this.getHtml();}}}); |
| 126 |
qx.Class.define($[1516],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.__manager=$0;this.removeAll();},members:{add:function($0){this.__storage[this.getItemHashCode($0)]=$0;},remove:function($0){delete this.__storage[this.getItemHashCode($0)];},removeAll:function(){this.__storage={};},contains:function($0){return this.getItemHashCode($0) in this.__storage;},toArray:function(){var $0=[];for(var $1 in this.__storage){$0.push(this.__storage[$1]);}return $0;},getFirst:function(){for(var $0 in this.__storage){return this.__storage[$0];}return null;},getChangeValue:function(){var $0=[];for(var $1 in this.__storage){$0.push($1);}$0.sort();return $0.join($[79]);},getItemHashCode:function($0){return this.__manager.getItemHashCode($0);},isEmpty:function(){return qx.lang.Object.isEmpty(this.__storage);}},destruct:function(){this._disposeFields($[1578],$[1010]);}}); |
126 |
qx.Class.define($[562],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){var $3=this._getRowStructure($0,$1,$2);arguments.callee.base.call(this,$3);this._treeRowStructureFields=$3._fields;this._iconObject.setAppearance($[1019]);this._labelObject.setAppearance($[1546]);this.addEventListener($[105],this._ondblclick);this.add=this.addToFolder;this.addBefore=this.addBeforeToFolder;this.addAfter=this.addAfterToFolder;this.addAt=this.addAtToFolder;this.addAtBegin=this.addAtBeginToFolder;this.addAtEnd=this.addAtEndToFolder;},events:{"treeOpenWithContent":$[98],"treeOpenWhileEmpty":$[98],"treeClose":$[98]},properties:{appearance:{refine:true,init:$[511]},icon:{refine:true,init:$[692]},iconSelected:{refine:true,init:$[868]},open:{check:$[2],init:false,apply:$[664],event:$[1047]},alwaysShowPlusMinusSymbol:{check:$[2],init:false,apply:$[1436]}},members:{hasContent:function(){return this._containerObject&&this._containerObject.getChildrenLength()>0;},open:function(){if(this.getOpen()){return;}if(this.hasContent()){if(this.getTree().hasEventListeners($[405])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[405],this),true);}this.getTopLevelWidget().setGlobalCursor($[593]);qx.client.Timer.once(this._openCallback,this,0);}else{if(this.getTree().hasEventListeners($[397])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[397],this),true);}this.setOpen(true);}},close:function(){var $0=this instanceof qx.ui.tree.Tree;if($0&&this.isHideNode()){return;}var $1=$0?this:this.getTree();if(!$1.getRootOpenClose()&&($0||$1.isHideNode()&&this.getParentFolder()==$1)){return;}if($1.hasEventListeners($[324])){$1.dispatchEvent(new qx.event.type.DataEvent($[324],this),true);}if(this.getOpen()){if(qx.lang.Array.contains(this.getItems(true,true),$1.getSelectedElement())){$1.getManager().setSelectedItem(this);}}this.setOpen(false);},toggle:function(){this.getOpen()?this.close():this.open();},_openCallback:function(){this.setOpen(true);qx.ui.core.Widget.flushGlobalQueues();this.getTopLevelWidget().setGlobalCursor(null);},_createChildrenStructure:function(){if(!(this instanceof qx.ui.tree.Tree)){this.setHeight($[3]);}this.setVerticalChildrenAlign($[23]);if(!this._horizontalLayout){this.setOrientation($[122]);this._horizontalLayout=new qx.ui.layout.HorizontalBoxLayout;this._horizontalLayout.setWidth(null);this._horizontalLayout.setParent(this);this._horizontalLayout.setAnonymous(true);this._horizontalLayout.setAppearance(this instanceof qx.ui.tree.Tree?$[1275]:$[511]);this.setAppearance($[218]);for(var $0=0;$0<this._treeRowStructureFields.length;$0++){this._treeRowStructureFields[$0].setParent(this._horizontalLayout);}this._treeRowStructureFields=null;}if(!this._containerObject){this._containerObject=new qx.ui.layout.VerticalBoxLayout;this._containerObject.setWidth(null);this._containerObject.setHeight($[3]);this._containerObject.setAnonymous(true);this._containerObject.setDisplay(this.getOpen());this._containerObject.setParent(this);}},_handleChildMove:function($0,$1,$2){if($0.isDisplayable()){var $3=this._containerObject.getChildren();var $4=$3.indexOf($0);if($4!=-1){if($2){$1=$3.indexOf($2);}if($1==$3.length-1){$0._updateIndent();this._containerObject.getLastVisibleChild()._updateIndent();}else if($0._wasLastVisibleChild){$0._updateIndent();var $5=$0.getPreviousVisibleSibling();if($5){$5._updateIndent();}}}}},addToFolder:function($0){this._createChildrenStructure();if(this._containerObject){return this._containerObject.add.apply(this._containerObject,arguments);}},addBeforeToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addBefore.apply(this._containerObject,arguments);}},addAfterToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.apply(this._containerObject,arguments);}},addAtToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,$1);return this._containerObject.addAt.apply(this._containerObject,arguments);}},addAtBeginToFolder:function($0){return this.addAtToFolder($0,0);},addAtEndToFolder:function($0){this._createChildrenStructure();if(this._containerObject){var $1=this._containerObject.getLastChild();if($1){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.call(this._containerObject,$0,$1);}else{return this.addAtBeginToFolder($0);}}},__saveSelectionBeforeRemove:function(){var $0=this.getTree();if($0){this.__oldSelection=$0.getSelectedElement();$0.setSelectedElement($0);}},__restoreSelectionAfterRemove:function(){var $0=this.getTree();if($0){if(!this.__oldSelection||!this.__oldSelection.getTree()){$0.setSelectedElement($0);}else{$0.setSelectedElement(this.__oldSelection);}}},remove:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.remove.apply(this._containerObject,arguments);this.__restoreSelectionAfterRemove();}},removeAt:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAt($0);this.__restoreSelectionAfterRemove();}},removeAll:function(){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAll();this.__restoreSelectionAfterRemove();}},getContainerObject:function(){return this._containerObject;},getHorizontalLayout:function(){return this._horizontalLayout;},getFirstVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getFirstChild();}},getLastVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getLastChild();}},getItems:function($0,$1){var $2=[this];if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},destroyContent:function(){if(!this.hasContent()){return;}var $0=this.getTree()?this.getTree().getManager():null;var $1;var $2;if($0){$1=$0.getLeadItem();$2=$0.getAnchorItem();}this._containerObject.setDisplay(true);var $3=this._containerObject.getChildren();var $4;for(var $5=$3.length-1;$5>=0;--$5){$4=$3[$5];if($4!=this){if($0){if($1==$4){$0.setLeadItem(null);}if($2==$4){$0.setAnchorItem(null);}if($0.getItemSelected($4)){if($0.getMultiSelection()){$0.setItemSelected($4,false);}else{$0.deselectAll();}}if($4.destroyContent){$4.destroyContent();}}$4.removeFromTreeQueue();$4.disconnect();this._containerObject.remove($4);var $6=function($7){return function(){$7.dispose();};};qx.client.Timer.once($6($4),this,0);}}},_applyOpen:function($0,$1){var $2=this.getTree();if($2&&$2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}if(this._containerObject){this._containerObject.setDisplay($0);}},_applyAlwaysShowPlusMinusSymbol:function($0,$1){var $2=this.getTree();if($2){if($2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}}},_updateLastColumn:function(){if(this._indentObject){var $0=this._indentObject.getElement();if($0&&$0.firstChild){$0.firstChild.src=this.BASE_URI+this.getIndentSymbol(this.getTree().getUseTreeLines(),0,0,0)+$[1233];}}},_onmousedown:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:if(this._indentObject.getElement().firstChild==$0.getDomTarget()){this.getTree().getManager().handleMouseDown(this,$0);this.toggle();}break;case this._containerObject:break;case this:if(this._containerObject){break;}default:this.getTree().getManager().handleMouseDown(this,$0);}$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:if(!this.getTree().getUseDoubleClick()){this.open();this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}this.getTree().getManager().handleMouseUp($0.getTarget(),$0);}},_ondblclick:function($0){if(!this.getTree().getUseDoubleClick()){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:this.toggle();}$0.stopPropagation();},getIndentSymbol:function($0,$1,$2,$3){var $4=this.getLevel();var $5=this.getTree().getExcludeSpecificTreeLines();var $6=$5[$3-$1-1];if($1==$2){if(this.hasContent()||this.getAlwaysShowPlusMinusSymbol()){if(!$0){return this.getOpen()?$[453]:$[346];}if($4==1){var $7=this.getParentFolder();if($7&&!$7._horizontalLayout.getVisibility()&&this.isFirstChild()){if(this.isLastChild()||$6===true){return this.getOpen()?$[305]:$[252];}else{return this.getOpen()?$[1180]:$[914];}}}if($6===true){return this.getOpen()?$[305]:$[252];}else if(this.isLastChild()){return this.getOpen()?$[1053]:$[1259];}else{return this.getOpen()?$[1513]:$[1416];}}else if($0&&!($6===true)){return this.isLastChild()?$[483]:$[421];}}else{if($0&&!this.isLastChild()){if($6===true){return null;}return $[374];}return null;}},_updateIndent:function(){qx.ui.tree.TreeFile.prototype._updateIndent.call(this);if(!this._containerObject){return;}var $0=this._containerObject.getVisibleChildren();for(var $1=0,$2=$0.length;$1<$2;$1++){$0[$1]._updateIndent();}}},destruct:function(){this._disposeFields($[763]);this._disposeObjects($[659],$[1725]);}}); |
| 127 |
qx.Class.define($[1158],{extend:qx.ui.selection.SelectionManager,construct:function($0){arguments.callee.base.call(this,$0);},properties:{multiSelection:{refine:true,init:false},dragSelection:{refine:true,init:false}},members:{_getFirst:function(){return qx.lang.Array.getFirst(this.getItems());},_getLast:function(){return qx.lang.Array.getLast(this.getItems());},getItems:function(){return this.getBoundedWidget().getItems();},getNext:function($0){if($0){if(qx.ui.tree.Tree.isOpenTreeFolder($0)){return $0.getFirstVisibleChildOfFolder();}else if($0.isLastVisibleChild()){var $1=$0;while($1&&$1.isLastVisibleChild()){$1=$1.getParentFolder();}if($1&&$1 instanceof qx.ui.tree.AbstractTreeElement&&$1.getNextVisibleSibling()&&$1.getNextVisibleSibling() instanceof qx.ui.tree.AbstractTreeElement){return $1.getNextVisibleSibling();}}else{return $0.getNextVisibleSibling();}}else{return this.getBoundedWidget().getFirstTreeChild();}},getPrevious:function($0){if($0){if($0==this.getBoundedWidget()){return;}else if($0.isFirstVisibleChild()){if($0.getParentFolder() instanceof qx.ui.tree.TreeFolder){if($0.getParentFolder() instanceof qx.ui.tree.Tree&&$0.getParentFolder().getHideNode()){return $0;}return $0.getParentFolder();}}else{var $1=$0.getPreviousVisibleSibling();while($1 instanceof qx.ui.tree.AbstractTreeElement){if(qx.ui.tree.Tree.isOpenTreeFolder($1)){$1=$1.getLastVisibleChildOfFolder();}else{break;}}return $1;}}else{return this.getBoundedWidget().getLastTreeChild();}},getItemTop:function($0){var $1=this.getBoundedWidget();var $2=$0.getElement();var $3=0;while($2&&$2.qx_Widget!=$1){$3+=$2.offsetTop;$2=$2.parentNode;}return $3;},getItemHeight:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.getOffsetHeight();}else{return $0.getOffsetHeight();}},scrollItemIntoView:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.scrollIntoView();}else{return $0.scrollIntoView();}},renderItemSelectionState:function($0,$1){if($1&&!$0.isSeeable()){var $2=$0;var $3=[];while($2){$2=$2.getParentFolder();$3.push($2);}$3.pop();while($3.length){$3.pop().open();}}if($1){if($0.isCreated()){this.scrollItemIntoView($0);}else{$0.addEventListener($[193],function($4){this.scrollItemIntoView($0);},this);}}$0.setSelected($1);}}}); |
127 |
qx.Class.define($[786],{extend:qx.ui.tree.TreeFolder,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));this._manager=new qx.ui.tree.SelectionManager(this);this._iconObject.setAppearance($[673]);this._labelObject.setAppearance($[1662]);this.setOpen(true);this.addToFolder();this.addEventListener($[12],this._onkeydown);this.addEventListener($[37],this._onkeypress);this.addEventListener($[85],this._onkeyup);},statics:{isTreeFolder:function($0){return ($0&&$0 instanceof qx.ui.tree.TreeFolder&&!($0 instanceof qx.ui.tree.Tree));},isOpenTreeFolder:function($0){return ($0 instanceof qx.ui.tree.TreeFolder&&$0.getOpen()&&$0.hasContent());}},properties:{useDoubleClick:{check:$[2],init:false},useTreeLines:{check:$[2],init:true,apply:$[1499]},tabIndex:{refine:true,init:1},excludeSpecificTreeLines:{check:$[422],init:[],apply:$[1661]},hideNode:{check:$[2],init:false,apply:$[1498]},rootOpenClose:{check:$[2],init:false,apply:$[715]}},members:{useDoubleClick:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[975]);return this.getUseDoubleClick();},useTreeLines:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1235]);return this.getUseTreeLines();},hideNode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1245]);return this.getHideNode();},getManager:function(){return this._manager;},getSelectedElement:function(){return this.getManager().getSelectedItems()[0];},getItems:function($0,$1){var $2=[];if(!this.getHideNode()){$2.push(this);}if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},addChildToTreeQueue:function($0){if(!$0._isInTreeQueue&&!$0._isDisplayable){this.debug("Ignoring invisible child: "+$0);}if(!$0._isInTreeQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalWidgetQueue(this);if(!this._treeQueue){this._treeQueue={};}this._treeQueue[$0.toHashCode()]=$0;$0._isInTreeQueue=true;}},removeChildFromTreeQueue:function($0){if($0._isInTreeQueue){if(this._treeQueue){delete this._treeQueue[$0.toHashCode()];}delete $0._isInTreeQueue;}},flushWidgetQueue:function(){this.flushTreeQueue();},flushTreeQueue:function(){if(!qx.lang.Object.isEmpty(this._treeQueue)){for(var $0 in this._treeQueue){this._treeQueue[$0].flushTree();delete this._treeQueue[$0]._isInTreeQueue;}delete this._treeQueue;}},_applyUseTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},_applyHideNode:function($0,$1){if(!$0){this._horizontalLayout.setHeight(this._horizontalLayout.originalHeight);this._horizontalLayout.show();}else{this._horizontalLayout.originalHeight=this._horizontalLayout.getHeight();this._horizontalLayout.setHeight(0);this._horizontalLayout.hide();}if(this._initialLayoutDone){this._updateIndent();}},_applyRootOpenClose:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getExcludeSpecificTreeLines:function(){return qx.lang.Array.clone(this[$[1179]]);},_applyExcludeSpecificTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getTree:function(){return this;},getParentFolder:function(){return null;},getLevel:function(){return 0;},_onkeydown:function($0){var $1=this.getManager();$1.getSelectedItem();},_onkeypress:function($0){var $1=this.getManager();var $2=$1.getSelectedItem();switch($0.getKeyIdentifier()){case $[49]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){return $2.toggle();}break;case $[64]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if($3 instanceof qx.ui.tree.Tree&&$3.getHideNode()){return;}if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}else{return $2.close();}}else if($2 instanceof qx.ui.tree.TreeFile){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}break;case $[67]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){return $2.open();}else if($2.hasContent()){var $4=$2.getFirstVisibleChildOfFolder();this.setSelectedElement($4);if($4 instanceof qx.ui.tree.TreeFolder){$4.open();}return;}}break;default:if(!this._fastUpdate){this._fastUpdate=true;this._oldItem=$2;}$1.handleKeyPress($0);}},_onkeyup:function($0){if(this._fastUpdate){var $1=this.getManager().getSelectedItem();if(!$1){return;}$1.getIconObject().addState($[92]);delete this._fastUpdate;delete this._oldItem;}},getLastTreeChild:function(){var $0=this;while($0 instanceof qx.ui.tree.AbstractTreeElement){if(!($0 instanceof qx.ui.tree.TreeFolder)||!$0.getOpen()){return $0;}$0=$0.getLastVisibleChildOfFolder();}return null;},getFirstTreeChild:function(){return this;},setSelectedElement:function($0){var $1=this.getManager();$1.setSelectedItem($0);$1.setLeadItem($0);},getHierarchy:function($0){if(!this.getHideNode()&&this._labelObject){$0.unshift(this._labelObject.getText());}return $0;},getIndentSymbol:function($0,$1,$2){if($1==$2&&(this.hasContent()||this.getAlwaysShowPlusMinusSymbol())){if(!$0){return this.getOpen()?$[453]:$[346];}else{return this.getOpen()?$[305]:$[252];}}else{return null;}}},destruct:function(){this._disposeObjects($[215]);}}); |
| 128 |
qx.Class.define($[1793],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));},members:{getIndentSymbol:function($0,$1,$2,$3){var $4=this.getTree().getExcludeSpecificTreeLines();var $5=$4[$3-$1-1];if($0&&!($5===true)){if($1==$2){return this.isLastChild()?$[475]:$[413];}else{return $[369];}}return null;},_updateIndent:function(){this.addToTreeQueue();},getItems:function(){return [this];}}}); |
128 |
qx.Class.define($[1279],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this._selectedItems=new qx.ui.selection.Selection(this);if($0!=null){this.setBoundedWidget($0);}},events:{"changeSelection":$[98]},properties:{boundedWidget:{check:$[69],nullable:true},multiSelection:{check:$[2],init:true},dragSelection:{check:$[2],init:true},canDeselect:{check:$[2],init:true},fireChange:{check:$[2],init:true},anchorItem:{check:$[124],nullable:true,apply:$[639],event:$[1323]},leadItem:{check:$[124],nullable:true,apply:$[1287],event:$[740]},multiColumnSupport:{check:$[2],init:false}},members:{_applyAnchorItem:function($0,$1){if($1){this.renderItemAnchorState($1,false);}if($0){this.renderItemAnchorState($0,true);}},_applyLeadItem:function($0,$1){if($1){this.renderItemLeadState($1,false);}if($0){this.renderItemLeadState($0,true);}},_getFirst:function(){return this.getBoundedWidget().getFirstVisibleChild();},_getLast:function(){return this.getBoundedWidget().getLastVisibleChild();},getFirst:function(){var $0=this._getFirst();if($0){return $0.getEnabled()?$0:this.getNext($0);}},getLast:function(){var $0=this._getLast();if($0){return $0.getEnabled()?$0:this.getPrevious($0);}},getItems:function(){return this.getBoundedWidget().getChildren();},getNextSibling:function($0){return $0.getNextSibling();},getPreviousSibling:function($0){return $0.getPreviousSibling();},getNext:function($0){while($0){$0=this.getNextSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},getPrevious:function($0){while($0){$0=this.getPreviousSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},isBefore:function($0,$1){var $2=this.getItems();return $2.indexOf($0)<$2.indexOf($1);},isEqual:function($0,$1){return $0==$1;},getItemHashCode:function($0){return $0.toHashCode();},scrollItemIntoView:function($0,$1){$0.scrollIntoView($1);},getItemLeft:function($0){return $0.getOffsetLeft();},getItemTop:function($0){return $0.getOffsetTop();},getItemWidth:function($0){return $0.getOffsetWidth();},getItemHeight:function($0){return $0.getOffsetHeight();},getItemEnabled:function($0){return $0.getEnabled();},renderItemSelectionState:function($0,$1){$1?$0.addState($[92]):$0.removeState($[92]);if($0.handleStateChange){$0.handleStateChange();}},renderItemAnchorState:function($0,$1){$1?$0.addState($[467]):$0.removeState($[467]);if($0.handleStateChange!=null){$0.handleStateChange();}},renderItemLeadState:function($0,$1){$1?$0.addState($[278]):$0.removeState($[278]);if($0.handleStateChange!=null){$0.handleStateChange();}},getItemSelected:function($0){return this._selectedItems.contains($0);},setItemSelected:function($0,$1){switch(this.getMultiSelection()){case true:if(!this.getItemEnabled($0)){return;}if(this.getItemSelected($0)==$1){return;}this.renderItemSelectionState($0,$1);$1?this._selectedItems.add($0):this._selectedItems.remove($0);this._dispatchChange();break;case false:var $2=this.getSelectedItems()[0];if($1){var $3=$2;if(this.isEqual($0,$3)){return;}if($3!=null){this.renderItemSelectionState($3,false);}this.renderItemSelectionState($0,true);this._selectedItems.removeAll();this._selectedItems.add($0);this._dispatchChange();}else{if(!this.isEqual($2,$0)){this.renderItemSelectionState($0,false);this._selectedItems.removeAll();this._dispatchChange();}}break;}},getSelectedItems:function(){return this._selectedItems.toArray();},getSelectedItem:function(){return this._selectedItems.getFirst();},setSelectedItems:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();var $3;var $4=$0.length;for(var $5=0;$5<$4;$5++){$3=$0[$5];if(!this.getItemEnabled($3)){continue;}this._selectedItems.add($3);this.renderItemSelectionState($3,true);}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},setSelectedItem:function($0){if(!$0){return;}if(!this.getItemEnabled($0)){return;}var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();this._selectedItems.add($0);this.renderItemSelectionState($0,true);this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},selectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._selectAll();this.setFireChange($1);if($1&&this._hasChanged($0)){this._dispatchChange();}},_selectAll:function(){if(!this.getMultiSelection()){return;}var $0;var $1=this.getItems();var $2=$1.length;this._selectedItems.removeAll();for(var $3=0;$3<$2;$3++){$0=$1[$3];if(!this.getItemEnabled($0)){continue;}this._selectedItems.add($0);this.renderItemSelectionState($0,true);}return true;},deselectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._deselectAll();this.setFireChange($1);if($1&&this._hasChanged($0))this._dispatchChange();},_deselectAll:function(){var $0=this._selectedItems.toArray();for(var $1=0;$1<$0.length;$1++){this.renderItemSelectionState($0[$1],false);}this._selectedItems.removeAll();return true;},selectItemRange:function($0,$1){var $2=this._getChangeValue();var $3=this.getFireChange();this.setFireChange(false);this._selectItemRange($0,$1,true);this.setFireChange($3);if($3&&this._hasChanged($2)){this._dispatchChange();}},_selectItemRange:function($0,$1,$2){if(this.isBefore($1,$0)){return this._selectItemRange($1,$0,$2);}if($2){this._deselectAll();}var $3=$0;while($3!=null){if(this.getItemEnabled($3)){this._selectedItems.add($3);this.renderItemSelectionState($3,true);}if(this.isEqual($3,$1)){break;}$3=this.getNext($3);}return true;},_deselectItemRange:function($0,$1){if(this.isBefore($1,$0)){return this._deselectItemRange($1,$0);}var $2=$0;while($2!=null){this._selectedItems.remove($2);this.renderItemSelectionState($2,false);if(this.isEqual($2,$1)){break;}$2=this.getNext($2);}},_activeDragSession:false,handleMouseDown:function($0,$1){$1.stopPropagation();if(!$1.isLeftButtonPressed()&&!$1.isRightButtonPressed()){return;}if($1.isRightButtonPressed()&&this.getItemSelected($0)){return;}if($1.isShiftPressed()||this.getDragSelection()||(!this.getItemSelected($0)&&!$1.isCtrlPressed())){this._onmouseevent($0,$1);}else{this.setLeadItem($0);}this._activeDragSession=this.getDragSelection();if(this._activeDragSession){this.getBoundedWidget().addEventListener($[25],this._ondragup,this);this.getBoundedWidget().setCapture(true);}},_ondragup:function($0){this.getBoundedWidget().removeEventListener($[25],this._ondragup,this);this.getBoundedWidget().setCapture(false);this._activeDragSession=false;},handleMouseUp:function($0,$1){if(!$1.isLeftButtonPressed()){return;}if($1.isCtrlPressed()||this.getItemSelected($0)&&!this._activeDragSession){this._onmouseevent($0,$1);}if(this._activeDragSession){this._activeDragSession=false;this.getBoundedWidget().setCapture(false);}},handleMouseOver:function($0,$1){if(!this.getDragSelection()||!this._activeDragSession){return;}this._onmouseevent($0,$1,true);},handleClick:function($0,$1){},handleDblClick:function($0,$1){},_onmouseevent:function($0,$1,$2){if(!this.getItemEnabled($0)){return;}var $3=this._getChangeValue();var $4=this.getLeadItem();var $5=this.getFireChange();this.setFireChange(false);var $6=this.getSelectedItems();var $7=$6.length;this.setLeadItem($0);var $8=this.getAnchorItem();var $9=$1.isCtrlPressed();var $a=$1.isShiftPressed();if(!$8||$7==0||($9&&!$a&&this.getMultiSelection()&&!this.getDragSelection())){this.setAnchorItem($0);$8=$0;}if((!$9&&!$a&&!this._activeDragSession||!this.getMultiSelection())){if(!this.getItemEnabled($0)){return;}this._deselectAll();this.setAnchorItem($0);if(this._activeDragSession){this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}if(!this.getItemSelected($0)){this.renderItemSelectionState($0,true);}this._selectedItems.add($0);this._addToCurrentSelection=true;}else if(this._activeDragSession&&$2){if($4){this._deselectItemRange($8,$4);}if(this.isBefore($8,$0)){if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else{if(this._addToCurrentSelection){this._selectItemRange($0,$8,false);}else{this._deselectItemRange($0,$8);}}this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}else if(this.getMultiSelection()&&$9&&!$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}this.setItemSelected($0,this._addToCurrentSelection);this.setAnchorItem($0);}else if(this.getMultiSelection()&&$9&&$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else if(this.getMultiSelection()&&!$9&&$a){if(this.getCanDeselect()){this._selectItemRange($8,$0,true);}else{if($4){this._deselectItemRange($8,$4);}this._selectItemRange($8,$0,false);}}this.setFireChange($5);if($5&&this._hasChanged($3)){this._dispatchChange();}},handleKeyDown:function($0){this.warn("qx.ui.selection.SelectionManager.handleKeyDown is deprecated! "+"Use keypress insted and bind it to the onkeypress event.");this.handleKeyPress($0);},handleKeyPress:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);if($0.getKeyIdentifier()==$[176]&&$0.isCtrlPressed()){if(this.getMultiSelection()){this._selectAll();this.setLeadItem(this.getFirst());}}else{var $3=this.getAnchorItem();var $4=this.getItemToSelect($0);if($4&&this.getItemEnabled($4)){this.setLeadItem($4);this.scrollItemIntoView($4);$0.preventDefault();if($0.isShiftPressed()&&this.getMultiSelection()){if($3==null){this.setAnchorItem($4);}this._selectItemRange(this.getAnchorItem(),$4,true);}else if(!$0.isCtrlPressed()){this._deselectAll();this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}else if($0.getKeyIdentifier()==$[86]){if(this._selectedItems.contains($4)){this.renderItemSelectionState($4,false);this._selectedItems.remove($4);this.setAnchorItem(this._selectedItems.getFirst());}else{if(!$0.isCtrlPressed()||!this.getMultiSelection()){this._deselectAll();}this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}}}}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},getItemToSelect:function($0){if($0.isAltPressed()){return null;}switch($0.getKeyIdentifier()){case $[153]:return this.getHome(this.getLeadItem());case $[164]:return this.getEnd(this.getLeadItem());case $[78]:return this.getDown(this.getLeadItem());case $[71]:return this.getUp(this.getLeadItem());case $[64]:return this.getLeft(this.getLeadItem());case $[67]:return this.getRight(this.getLeadItem());case $[88]:return this.getPageUp(this.getLeadItem())||this.getHome(this.getLeadItem());case $[100]:return this.getPageDown(this.getLeadItem())||this.getEnd(this.getLeadItem());case $[86]:if($0.isCtrlPressed()){return this.getLeadItem();}}return null;},_dispatchChange:function(){if(!this.getFireChange()){return;}if(this.hasEventListeners($[540])){this.dispatchEvent(new qx.event.type.DataEvent($[540],this.getSelectedItems()),true);}},_hasChanged:function($0){return $0!=this._getChangeValue();},_getChangeValue:function(){return this._selectedItems.getChangeValue();},getHome:function(){return this.getFirst();},getEnd:function(){return this.getLast();},getDown:function($0){if(!$0){return this.getFirst();}return this.getMultiColumnSupport()?(this.getUnder($0)||this.getLast()):this.getNext($0);},getUp:function($0){if(!$0){return this.getLast();}return this.getMultiColumnSupport()?(this.getAbove($0)||this.getFirst()):this.getPrevious($0);},getLeft:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getLast():this.getPrevious($0);},getRight:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getFirst():this.getNext($0);},getAbove:function($0){throw new Error("getAbove(): Not implemented yet");},getUnder:function($0){throw new Error("getUnder(): Not implemented yet");},getPageUp:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&(this.getItemTop($4)-this.getItemHeight($4)>=$2)){$4=this.getUp($4);}if($4==null){break;}if($4!=this.getLeadItem()){this.scrollItemIntoView($4,true);break;}$1.setScrollTop($2-$3-this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;},getPageDown:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&((this.getItemTop($4)+(2*this.getItemHeight($4)))<=($2+$3))){$4=this.getDown($4);}if($4==null){break;}if($4!=this.getLeadItem()){break;}$1.setScrollTop($2+$3-2*this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;}},destruct:function(){this._disposeObjects($[751]);}}); |
| 129 |
qx.Class.define($[1216],{extend:qx.ui.popup.Popup,construct:function($0,$1){arguments.callee.base.call(this);this._atom=new qx.ui.basic.Atom($0,$1);this._atom.setParent(this);},members:{_isFocusRoot:false,getAtom:function(){return this._atom;}},destruct:function(){this._disposeObjects($[744]);}}); |
129 |
qx.Class.define($[1538],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.__manager=$0;this.removeAll();},members:{add:function($0){this.__storage[this.getItemHashCode($0)]=$0;},remove:function($0){delete this.__storage[this.getItemHashCode($0)];},removeAll:function(){this.__storage={};},contains:function($0){return this.getItemHashCode($0) in this.__storage;},toArray:function(){var $0=[];for(var $1 in this.__storage){$0.push(this.__storage[$1]);}return $0;},getFirst:function(){for(var $0 in this.__storage){return this.__storage[$0];}return null;},getChangeValue:function(){var $0=[];for(var $1 in this.__storage){$0.push($1);}$0.sort();return $0.join($[42]);},getItemHashCode:function($0){return this.__manager.getItemHashCode($0);},isEmpty:function(){return qx.lang.Object.isEmpty(this.__storage);}},destruct:function(){this._disposeFields($[1600],$[1028]);}}); |
| 130 |
qx.Class.define($[241],{extend:qx.ui.popup.PopupAtom,construct:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setStyleProperty($[144],$[1262]);this._showTimer=new qx.client.Timer(this.getShowInterval());this._showTimer.addEventListener($[86],this._onshowtimer,this);this._hideTimer=new qx.client.Timer(this.getHideInterval());this._hideTimer.addEventListener($[86],this._onhidetimer,this);this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseover);},properties:{appearance:{refine:true,init:$[1724]},hideOnHover:{check:$[2],init:true},mousePointerOffsetX:{check:$[5],init:1},mousePointerOffsetY:{check:$[5],init:20},showInterval:{check:$[5],init:1000,apply:$[674]},hideInterval:{check:$[5],init:4000,apply:$[819]},boundToWidget:{check:$[66],apply:$[680]}},members:{_minZIndex:1e7,_applyHideInterval:function($0,$1){this._hideTimer.setInterval($0);},_applyShowInterval:function($0,$1){this._showTimer.setInterval($0);},_applyBoundToWidget:function($0,$1){if($0){this.setParent($0.getTopLevelWidget());}else if($1){this.setParent(null);}},_beforeAppear:function(){arguments.callee.base.call(this);this._stopShowTimer();this._startHideTimer();},_beforeDisappear:function(){arguments.callee.base.call(this);this._stopHideTimer();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=parseInt(this.getRestrictToPageLeft());var $4=parseInt(this.getRestrictToPageRight());var $5=parseInt(this.getRestrictToPageTop());var $6=parseInt(this.getRestrictToPageBottom());var $7=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $8=this.getTop();var $9=this.getBoxWidth();var $a=this.getBoxHeight();var $b=qx.event.type.MouseEvent.getPageX();var $c=qx.event.type.MouseEvent.getPageY();var $d=this.getLeft();var $e=$8;if($7+$9>$1-$4){$7=$1-$4-$9;}if($8+$a>$2-$6){$8=$2-$6-$a;}if($7<$3){$7=$3;}if($8<$5){$8=$5;}if($7<=$b&&$b<=$7+$9&&$8<=$c&&$c<=$8+$a){var $f=$c-$8;var $g=$f-$a;var $h=$b-$7;var $i=$h-$9;var $j=Math.max(0,$5-($8+$g));var $k=Math.max(0,$8+$a+$f-($2-$6));var $l=Math.max(0,$3-($7+$i));var $m=Math.max(0,$7+$9+$h-($1-$4));var $n=[[0,$g,$j],[0,$f,$k],[$i,0,$l],[$h,0,$m]];$n.sort(function($o,$p){return $o[2]-$p[2]||(Math.abs($o[0])+Math.abs($o[1]))-(Math.abs($p[0])+Math.abs($p[1]));});var $q=$n[0];$7=$7+$q[0];$8=$8+$q[1];}if($7!=$d||$8!=$e){var $r=this;window.setTimeout(function(){$r.setLeft($7);$r.setTop($8);},0);}}},_startShowTimer:function(){if(!this._showTimer.getEnabled()){this._showTimer.start();}},_startHideTimer:function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start();}},_stopShowTimer:function(){if(this._showTimer.getEnabled()){this._showTimer.stop();}},_stopHideTimer:function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop();}},_onmouseover:function($0){if(this.getHideOnHover()){this.hide();}},_onshowtimer:function($0){this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX());this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY());this.show();},_onhidetimer:function($0){return this.hide();}},destruct:function(){var $0=qx.ui.popup.ToolTipManager.getInstance();$0.remove(this);if($0.getCurrentToolTip()==this){$0.resetCurrentToolTip();}this._disposeObjects($[664],$[579]);}}); |
130 |
qx.Class.define($[1177],{extend:qx.ui.selection.SelectionManager,construct:function($0){arguments.callee.base.call(this,$0);},properties:{multiSelection:{refine:true,init:false},dragSelection:{refine:true,init:false}},members:{_getFirst:function(){return qx.lang.Array.getFirst(this.getItems());},_getLast:function(){return qx.lang.Array.getLast(this.getItems());},getItems:function(){return this.getBoundedWidget().getItems();},getNext:function($0){if($0){if(qx.ui.tree.Tree.isOpenTreeFolder($0)){return $0.getFirstVisibleChildOfFolder();}else if($0.isLastVisibleChild()){var $1=$0;while($1&&$1.isLastVisibleChild()){$1=$1.getParentFolder();}if($1&&$1 instanceof qx.ui.tree.AbstractTreeElement&&$1.getNextVisibleSibling()&&$1.getNextVisibleSibling() instanceof qx.ui.tree.AbstractTreeElement){return $1.getNextVisibleSibling();}}else{return $0.getNextVisibleSibling();}}else{return this.getBoundedWidget().getFirstTreeChild();}},getPrevious:function($0){if($0){if($0==this.getBoundedWidget()){return;}else if($0.isFirstVisibleChild()){if($0.getParentFolder() instanceof qx.ui.tree.TreeFolder){if($0.getParentFolder() instanceof qx.ui.tree.Tree&&$0.getParentFolder().getHideNode()){return $0;}return $0.getParentFolder();}}else{var $1=$0.getPreviousVisibleSibling();while($1 instanceof qx.ui.tree.AbstractTreeElement){if(qx.ui.tree.Tree.isOpenTreeFolder($1)){$1=$1.getLastVisibleChildOfFolder();}else{break;}}return $1;}}else{return this.getBoundedWidget().getLastTreeChild();}},getItemTop:function($0){var $1=this.getBoundedWidget();var $2=$0.getElement();var $3=0;while($2&&$2.qx_Widget!=$1){$3+=$2.offsetTop;$2=$2.parentNode;}return $3;},getItemHeight:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.getOffsetHeight();}else{return $0.getOffsetHeight();}},scrollItemIntoView:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.scrollIntoView();}else{return $0.scrollIntoView();}},renderItemSelectionState:function($0,$1){if($1&&!$0.isSeeable()){var $2=$0;var $3=[];while($2){$2=$2.getParentFolder();$3.push($2);}$3.pop();while($3.length){$3.pop().open();}}if($1){if($0.isCreated()){this.scrollItemIntoView($0);}else{$0.addEventListener($[194],function($4){this.scrollItemIntoView($0);},this);}}$0.setSelected($1);}}}); |
| 131 |
qx.Class.define($[151],{type:$[18],extend:qx.util.manager.Object,properties:{currentToolTip:{check:$[241],nullable:true,apply:$[1378]}},members:{_applyCurrentToolTip:function($0,$1){if($1&&$1.contains($0)){return;}if($1&&!$1.isDisposed()){$1.hide();$1._stopShowTimer();$1._stopHideTimer();}if($0){$0._startShowTimer();}},handleMouseOver:function($0){var $1=$0.getTarget();var $2;if(!($1 instanceof qx.ui.core.Widget)&&$1.nodeType==1){$1=qx.event.handler.EventHandler.getTargetObject($1);}while($1!=null&&!($2=$1.getToolTip())){$1=$1.getParent();}if($2!=null){$2.setBoundToWidget($1);}this.setCurrentToolTip($2);},handleMouseOut:function($0){var $1=$0.getTarget();var $2=$0.getRelatedTarget();var $3=this.getCurrentToolTip();if($3&&($2==$3||$3.contains($2))){return;}if($2&&$1&&$1.contains($2)){return;}if($3&&!$2){this.setCurrentToolTip(null);}},handleFocus:function($0){var $1=$0.getTarget();var $2=$1.getToolTip();if($2!=null){$2.setBoundToWidget($1);this.setCurrentToolTip($2);}},handleBlur:function($0){var $1=$0.getTarget();if(!$1){return;}var $2=this.getCurrentToolTip();if($2&&$2==$1.getToolTip()){this.setCurrentToolTip(null);}}}}); |
131 |
qx.Class.define($[1813],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));},members:{getIndentSymbol:function($0,$1,$2,$3){var $4=this.getTree().getExcludeSpecificTreeLines();var $5=$4[$3-$1-1];if($0&&!($5===true)){if($1==$2){return this.isLastChild()?$[483]:$[421];}else{return $[374];}}return null;},_updateIndent:function(){this.addToTreeQueue();},getItems:function(){return [this];}}}); |
| 132 |
qx.Class.define($[764],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.RadioManager;this.addEventListener($[184],this._onmousewheel);},members:{getManager:function(){return this._manager;},_lastDate:(new Date(0)).valueOf(),_onmousewheel:function($0){var $1=(new Date).valueOf();if(($1-50)<this._lastDate){return;}this._lastDate=$1;var $2=this.getManager();var $3=$2.getEnabledItems();var $4=$3.indexOf($2.getSelected());if(this.getWheelDelta($0)>0){var $5=$3[$4+1];if(!$5){$5=$3[0];}}else if($4>0){var $5=$3[$4-1];if(!$5){$5=$3[0];}}else{$5=$3[$3.length-1];}$2.setSelected($5);},getWheelDelta:function($0){return $0.getWheelDelta();}},destruct:function(){this._disposeObjects($[213]);}}); |
132 |
qx.Class.define($[1239],{extend:qx.ui.popup.Popup,construct:function($0,$1){arguments.callee.base.call(this);this._atom=new qx.ui.basic.Atom($0,$1);this._atom.setParent(this);},members:{_isFocusRoot:false,getAtom:function(){return this._atom;}},destruct:function(){this._disposeObjects($[755]);}}); |
| 133 |
qx.Class.define($[176],{extend:qx.core.Target,construct:function($0,$1){arguments.callee.base.call(this);this._items=[];this.setName($0!=null?$0:qx.ui.selection.RadioManager.AUTO_NAME_PREFIX+this.toHashCode());if($1!=null){this.add.apply(this,$1);}},statics:{AUTO_NAME_PREFIX:"qx-radio-"},properties:{selected:{nullable:true,apply:$[267],event:$[261],check:$[493]},name:{check:$[6],nullable:true,apply:$[260]}},members:{getItems:function(){return this._items;},getEnabledItems:function(){var $0=[];for(var $1=0,$2=this._items,$3=$2.length;$1<$3;$1++){if($2[$1].getEnabled()){$0.push($2[$1]);}}return $0;},handleItemChecked:function($0,$1){if($1){this.setSelected($0);}else if(this.getSelected()==$0){this.setSelected(null);}},add:function($0){var $1=arguments;var $2=$1.length;var $3;for(var $4=0;$4<$2;$4++){$3=$1[$4];if(qx.lang.Array.contains(this._items,$3)){return;}this._items.push($3);$3.setManager(this);if($3.getChecked()){this.setSelected($3);}$3.setName(this.getName());}},remove:function($0){qx.lang.Array.remove(this._items,$0);$0.setManager(null);if($0.getChecked()){this.setSelected(null);}},_applySelected:function($0,$1){if($1){$1.setChecked(false);}if($0){$0.setChecked(true);}},_applyName:function($0,$1){for(var $2=0,$3=this._items,$4=$3.length;$2<$4;$2++){$3[$2].setName($0);}},selectNext:function($0){var $1=this._items.indexOf($0);if($1==-1){return;}var $2=0;var $3=this._items.length;$1=($1+1)%$3;while($2<$3&&!this._items[$1].getEnabled()){$1=($1+1)%$3;$2++;}this._selectByIndex($1);},selectPrevious:function($0){var $1=this._items.indexOf($0);if($1==-1){return;}var $2=0;var $3=this._items.length;$1=($1-1+$3)%$3;while($2<$3&&!this._items[$1].getEnabled()){$1=($1-1+$3)%$3;$2++;}this._selectByIndex($1);},_selectByIndex:function($0){if(this._items[$0].getEnabled()){this.setSelected(this._items[$0]);this._items[$0].setFocused(true);}}},destruct:function(){this._disposeObjectDeep($[1741],1);}}); |
133 |
qx.Class.define($[248],{extend:qx.ui.popup.PopupAtom,construct:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setStyleProperty($[148],$[1285]);this._showTimer=new qx.client.Timer(this.getShowInterval());this._showTimer.addEventListener($[76],this._onshowtimer,this);this._hideTimer=new qx.client.Timer(this.getHideInterval());this._hideTimer.addEventListener($[76],this._onhidetimer,this);this.addEventListener($[65],this._onmouseover);this.addEventListener($[106],this._onmouseover);},properties:{appearance:{refine:true,init:$[1744]},hideOnHover:{check:$[2],init:true},mousePointerOffsetX:{check:$[5],init:1},mousePointerOffsetY:{check:$[5],init:20},showInterval:{check:$[5],init:1000,apply:$[684]},hideInterval:{check:$[5],init:4000,apply:$[835]},boundToWidget:{check:$[69],apply:$[691]}},members:{_minZIndex:1e7,_applyHideInterval:function($0,$1){this._hideTimer.setInterval($0);},_applyShowInterval:function($0,$1){this._showTimer.setInterval($0);},_applyBoundToWidget:function($0,$1){if($0){this.setParent($0.getTopLevelWidget());}else if($1){this.setParent(null);}},_beforeAppear:function(){arguments.callee.base.call(this);this._stopShowTimer();this._startHideTimer();},_beforeDisappear:function(){arguments.callee.base.call(this);this._stopHideTimer();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=parseInt(this.getRestrictToPageLeft());var $4=parseInt(this.getRestrictToPageRight());var $5=parseInt(this.getRestrictToPageTop());var $6=parseInt(this.getRestrictToPageBottom());var $7=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $8=this.getTop();var $9=this.getBoxWidth();var $a=this.getBoxHeight();var $b=qx.event.type.MouseEvent.getPageX();var $c=qx.event.type.MouseEvent.getPageY();var $d=this.getLeft();var $e=$8;if($7+$9>$1-$4){$7=$1-$4-$9;}if($8+$a>$2-$6){$8=$2-$6-$a;}if($7<$3){$7=$3;}if($8<$5){$8=$5;}if($7<=$b&&$b<=$7+$9&&$8<=$c&&$c<=$8+$a){var $f=$c-$8;var $g=$f-$a;var $h=$b-$7;var $i=$h-$9;var $j=Math.max(0,$5-($8+$g));var $k=Math.max(0,$8+$a+$f-($2-$6));var $l=Math.max(0,$3-($7+$i));var $m=Math.max(0,$7+$9+$h-($1-$4));var $n=[[0,$g,$j],[0,$f,$k],[$i,0,$l],[$h,0,$m]];$n.sort(function($o,$p){return $o[2]-$p[2]||(Math.abs($o[0])+Math.abs($o[1]))-(Math.abs($p[0])+Math.abs($p[1]));});var $q=$n[0];$7=$7+$q[0];$8=$8+$q[1];}if($7!=$d||$8!=$e){var $r=this;window.setTimeout(function(){$r.setLeft($7);$r.setTop($8);},0);}}},_startShowTimer:function(){if(!this._showTimer.getEnabled()){this._showTimer.start();}},_startHideTimer:function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start();}},_stopShowTimer:function(){if(this._showTimer.getEnabled()){this._showTimer.stop();}},_stopHideTimer:function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop();}},_onmouseover:function($0){if(this.getHideOnHover()){this.hide();}},_onshowtimer:function($0){this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX());this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY());this.show();},_onhidetimer:function($0){return this.hide();}},destruct:function(){var $0=qx.ui.popup.ToolTipManager.getInstance();$0.remove(this);if($0.getCurrentToolTip()==this){$0.resetCurrentToolTip();}this._disposeObjects($[675],$[590]);}}); |
| 134 |
qx.Class.define($[1475],{extend:qx.ui.pageview.AbstractBar,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[804]},zIndex:{refine:true,init:2},height:{refine:true,init:$[3]}}}); |
134 |
qx.Class.define($[154],{type:$[20],extend:qx.util.manager.Object,properties:{currentToolTip:{check:$[248],nullable:true,apply:$[1396]}},members:{_applyCurrentToolTip:function($0,$1){if($1&&$1.contains($0)){return;}if($1&&!$1.isDisposed()){$1.hide();$1._stopShowTimer();$1._stopHideTimer();}if($0){$0._startShowTimer();}},handleMouseOver:function($0){var $1=$0.getTarget();var $2;if(!($1 instanceof qx.ui.core.Widget)&&$1.nodeType==1){$1=qx.event.handler.EventHandler.getTargetObject($1);}while($1!=null&&!($2=$1.getToolTip())){$1=$1.getParent();}if($2!=null){$2.setBoundToWidget($1);}this.setCurrentToolTip($2);},handleMouseOut:function($0){var $1=$0.getTarget();var $2=$0.getRelatedTarget();var $3=this.getCurrentToolTip();if($3&&($2==$3||$3.contains($2))){return;}if($2&&$1&&$1.contains($2)){return;}if($3&&!$2){this.setCurrentToolTip(null);}},handleFocus:function($0){var $1=$0.getTarget();var $2=$1.getToolTip();if($2!=null){$2.setBoundToWidget($1);this.setCurrentToolTip($2);}},handleBlur:function($0){var $1=$0.getTarget();if(!$1){return;}var $2=this.getCurrentToolTip();if($2&&$2==$1.getToolTip()){this.setCurrentToolTip(null);}}}}); |
| 135 |
qx.Class.define($[470],{type:$[51],extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initChecked();this.initTabIndex();this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[12],this._onmousedown);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);},properties:{tabIndex:{refine:true,init:1},checked:{check:$[2],init:false,apply:$[165],event:$[270]},page:{check:$[454],apply:$[1025],nullable:true},manager:{check:$[176],nullable:true,apply:$[189]},name:{check:$[6],apply:$[260]}},members:{getView:function(){var $0=this.getParent();return $0?$0.getParent():null;},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1){$1.getManager().remove(this);}if($0){$0.getManager().add(this);}},_applyPage:function($0,$1){if($1){$1.setButton(null);}if($0){$0.setButton(this);this.getChecked()?$0.show():$0.hide();}},_applyChecked:function($0,$1){if(this._hasParent){var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}}$0?this.addState($[122]):this.removeState($[122]);var $3=this.getPage();if($3){this.getChecked()?$3.show():$3.hide();}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_onmousedown:function($0){this.setChecked(true);},_onmouseover:function($0){this.addState($[43]);},_onmouseout:function($0){this.removeState($[43]);},_onkeydown:function($0){},_onkeypress:function($0){}}}); |
135 |
qx.Class.define($[776],{type:$[53],extend:qx.ui.layout.BoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.RadioManager;this.addEventListener($[184],this._onmousewheel);},members:{getManager:function(){return this._manager;},_lastDate:(new Date(0)).valueOf(),_onmousewheel:function($0){var $1=(new Date).valueOf();if(($1-50)<this._lastDate){return;}this._lastDate=$1;var $2=this.getManager();var $3=$2.getEnabledItems();var $4=$3.indexOf($2.getSelected());if(this.getWheelDelta($0)>0){var $5=$3[$4+1];if(!$5){$5=$3[0];}}else if($4>0){var $5=$3[$4-1];if(!$5){$5=$3[0];}}else{$5=$3[$3.length-1];}$2.setSelected($5);},getWheelDelta:function($0){return $0.getWheelDelta();}},destruct:function(){this._disposeObjects($[215]);}}); |
| 136 |
qx.Class.define($[1781],{extend:qx.ui.pageview.AbstractButton,events:{"closetab":$[4]},properties:{appearance:{refine:true,init:$[699]},showCloseButton:{check:$[2],init:false,apply:$[992],event:$[1351]},closeButtonImage:{check:$[6],init:$[1397],apply:$[1740]}},members:{_onkeydown:function($0){var $1=$0.getKeyIdentifier();if($1==$[46]||$1==$[85]){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:var $1=this.getPreviousActiveSibling();if($1&&$1!=this){delete qx.event.handler.FocusHandler.mouseFocus;$1.setFocused(true);$1.setChecked(true);}break;case $[64]:var $2=this.getNextActiveSibling();if($2&&$2!=this){delete qx.event.handler.FocusHandler.mouseFocus;$2.setFocused(true);$2.setChecked(true);}break;}},_ontabclose:function($0){this.createDispatchDataEvent($[1552],this);$0.stopPropagation();},_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setZIndex($0?1:0);},_applyShowCloseButton:function($0,$1){if(!this._closeButtonImage){this._closeButtonImage=new qx.ui.basic.Image(this.getCloseButtonImage());}if($0){this._closeButtonImage.addEventListener($[53],this._ontabclose,this);this.add(this._closeButtonImage);}else{this.remove(this._closeButtonImage);this._closeButtonImage.removeEventListener($[53],this._ontabclose,this);}},_applyCloseButtonImage:function($0,$1){if(this._closeButtonImage){this._closeButtonImage.setSource($0);}},_renderAppearance:function(){if(this.getView()){this.isFirstVisibleChild()?this.addState($[1510]):this.removeState($[298]);this.isLastVisibleChild()?this.addState($[298]):this.removeState($[298]);this.getView().getAlignTabsToLeft()?this.addState($[394]):this.removeState($[394]);!this.getView().getAlignTabsToLeft()?this.addState($[443]):this.removeState($[443]);this.getView().getPlaceBarOnTop()?this.addState($[505]):this.removeState($[505]);!this.getView().getPlaceBarOnTop()?this.addState($[397]):this.removeState($[397]);}arguments.callee.base.call(this);}},destruct:function(){this._disposeObjects($[957]);}}); |
136 |
qx.Class.define($[177],{extend:qx.core.Target,construct:function($0,$1){arguments.callee.base.call(this);this._items=[];this.setName($0!=null?$0:qx.ui.selection.RadioManager.AUTO_NAME_PREFIX+this.toHashCode());if($1!=null){this.add.apply(this,$1);}},statics:{AUTO_NAME_PREFIX:"qx-radio-"},properties:{selected:{nullable:true,apply:$[270],event:$[263],check:$[501]},name:{check:$[6],nullable:true,apply:$[262]}},members:{getItems:function(){return this._items;},getEnabledItems:function(){var $0=[];for(var $1=0,$2=this._items,$3=$2.length;$1<$3;$1++){if($2[$1].getEnabled()){$0.push($2[$1]);}}return $0;},handleItemChecked:function($0,$1){if($1){this.setSelected($0);}else if(this.getSelected()==$0){this.setSelected(null);}},add:function($0){var $1=arguments;var $2=$1.length;var $3;for(var $4=0;$4<$2;$4++){$3=$1[$4];if(qx.lang.Array.contains(this._items,$3)){return;}this._items.push($3);$3.setManager(this);if($3.getChecked()){this.setSelected($3);}$3.setName(this.getName());}},remove:function($0){qx.lang.Array.remove(this._items,$0);$0.setManager(null);if($0.getChecked()){this.setSelected(null);}},_applySelected:function($0,$1){if($1){$1.setChecked(false);}if($0){$0.setChecked(true);}},_applyName:function($0,$1){for(var $2=0,$3=this._items,$4=$3.length;$2<$4;$2++){$3[$2].setName($0);}},selectNext:function($0){var $1=this._items.indexOf($0);if($1==-1){return;}var $2=0;var $3=this._items.length;$1=($1+1)%$3;while($2<$3&&!this._items[$1].getEnabled()){$1=($1+1)%$3;$2++;}this._selectByIndex($1);},selectPrevious:function($0){var $1=this._items.indexOf($0);if($1==-1){return;}var $2=0;var $3=this._items.length;$1=($1-1+$3)%$3;while($2<$3&&!this._items[$1].getEnabled()){$1=($1-1+$3)%$3;$2++;}this._selectByIndex($1);},_selectByIndex:function($0){if(this._items[$0].getEnabled()){this.setSelected(this._items[$0]);this._items[$0].setFocused(true);}}},destruct:function(){this._disposeObjectDeep($[1761],1);}}); |
| 137 |
qx.Class.define($[454],{type:$[51],extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this);if($0!==undefined){this.setButton($0);}this.initTop();this.initRight();this.initBottom();this.initLeft();},properties:{top:{refine:true,init:0},right:{refine:true,init:0},bottom:{refine:true,init:0},left:{refine:true,init:0},display:{refine:true,init:false},button:{check:$[470],apply:$[840]}},members:{_applyButton:function($0,$1){if($1){$1.setPage(null);}if($0){$0.setPage(this);}}}}); |
137 |
qx.Class.define($[1496],{extend:qx.ui.pageview.AbstractBar,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[820]},zIndex:{refine:true,init:2},height:{refine:true,init:$[3]}}}); |
| 138 |
qx.Class.define($[1318],{extend:qx.ui.pageview.AbstractPage,properties:{appearance:{refine:true,init:$[723]}}}); |
138 |
qx.Class.define($[479],{type:$[53],extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initChecked();this.initTabIndex();this.addEventListener($[65],this._onmouseover);this.addEventListener($[106],this._onmouseout);this.addEventListener($[14],this._onmousedown);this.addEventListener($[12],this._onkeydown);this.addEventListener($[37],this._onkeypress);},properties:{tabIndex:{refine:true,init:1},checked:{check:$[2],init:false,apply:$[167],event:$[222]},page:{check:$[462],apply:$[1043],nullable:true},manager:{check:$[177],nullable:true,apply:$[189]},name:{check:$[6],apply:$[262]}},members:{getView:function(){var $0=this.getParent();return $0?$0.getParent():null;},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1){$1.getManager().remove(this);}if($0){$0.getManager().add(this);}},_applyPage:function($0,$1){if($1){$1.setButton(null);}if($0){$0.setButton(this);this.getChecked()?$0.show():$0.hide();}},_applyChecked:function($0,$1){if(this._hasParent){var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}}$0?this.addState($[127]):this.removeState($[127]);var $3=this.getPage();if($3){this.getChecked()?$3.show():$3.hide();}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_onmousedown:function($0){this.setChecked(true);},_onmouseover:function($0){this.addState($[44]);},_onmouseout:function($0){this.removeState($[44]);},_onkeydown:function($0){},_onkeypress:function($0){}}}); |
| 139 |
qx.Class.define($[682],{type:$[51],extend:qx.ui.layout.CanvasLayout}); |
139 |
qx.Class.define($[1801],{extend:qx.ui.pageview.AbstractButton,events:{"closetab":$[4]},properties:{appearance:{refine:true,init:$[711]},showCloseButton:{check:$[2],init:false,apply:$[1010],event:$[1370]},closeButtonImage:{check:$[6],init:$[1415],apply:$[1760]}},members:{_onkeydown:function($0){var $1=$0.getKeyIdentifier();if($1==$[49]||$1==$[86]){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[64]:var $1=this.getPreviousActiveSibling();if($1&&$1!=this){delete qx.event.handler.FocusHandler.mouseFocus;$1.setFocused(true);$1.setChecked(true);}break;case $[67]:var $2=this.getNextActiveSibling();if($2&&$2!=this){delete qx.event.handler.FocusHandler.mouseFocus;$2.setFocused(true);$2.setChecked(true);}break;}},_ontabclose:function($0){this.createDispatchDataEvent($[1573],this);$0.stopPropagation();},_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setZIndex($0?1:0);},_applyShowCloseButton:function($0,$1){if(!this._closeButtonImage){this._closeButtonImage=new qx.ui.basic.Image(this.getCloseButtonImage());}if($0){this._closeButtonImage.addEventListener($[56],this._ontabclose,this);this.add(this._closeButtonImage);}else{this.remove(this._closeButtonImage);this._closeButtonImage.removeEventListener($[56],this._ontabclose,this);}},_applyCloseButtonImage:function($0,$1){if(this._closeButtonImage){this._closeButtonImage.setSource($0);}},_renderAppearance:function(){if(this.getView()){this.isFirstVisibleChild()?this.addState($[1531]):this.removeState($[302]);this.isLastVisibleChild()?this.addState($[302]):this.removeState($[302]);this.getView().getAlignTabsToLeft()?this.addState($[400]):this.removeState($[400]);!this.getView().getAlignTabsToLeft()?this.addState($[451]):this.removeState($[451]);this.getView().getPlaceBarOnTop()?this.addState($[512]):this.removeState($[512]);!this.getView().getPlaceBarOnTop()?this.addState($[403]):this.removeState($[403]);}arguments.callee.base.call(this);}},destruct:function(){this._disposeObjects($[976]);}}); |
| 140 |
qx.Class.define($[1314],{extend:qx.ui.pageview.AbstractPane,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[580]},zIndex:{refine:true,init:1},height:{refine:true,init:$[138]}}}); |
140 |
qx.Class.define($[462],{type:$[53],extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this);if($0!==undefined){this.setButton($0);}this.initTop();this.initRight();this.initBottom();this.initLeft();},properties:{top:{refine:true,init:0},right:{refine:true,init:0},bottom:{refine:true,init:0},left:{refine:true,init:0},display:{refine:true,init:false},button:{check:$[479],apply:$[856]}},members:{_applyButton:function($0,$1){if($1){$1.setPage(null);}if($0){$0.setPage(this);}}}}); |
| 141 |
qx.Class.define($[1539],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function($0,$1){arguments.callee.base.call(this);this._bar=new $0;this._pane=new $1;this.add(this._bar,this._pane);},members:{getPane:function(){return this._pane;},getBar:function(){return this._bar;}},destruct:function(){this._disposeObjects($[1461],$[431]);}}); |
141 |
qx.Class.define($[1339],{extend:qx.ui.pageview.AbstractPage,properties:{appearance:{refine:true,init:$[734]}}}); |
| 142 |
qx.Class.define($[788],{extend:qx.ui.pageview.AbstractPageView,construct:function(){arguments.callee.base.call(this,qx.ui.pageview.tabview.Bar,qx.ui.pageview.tabview.Pane);},properties:{appearance:{refine:true,init:$[1019]},orientation:{refine:true,init:$[117]},alignTabsToLeft:{check:$[2],init:true,apply:$[1413]},placeBarOnTop:{check:$[2],init:true,apply:$[1744]}},members:{_applyAlignTabsToLeft:function($0,$1){var $2=this._bar;$2.setHorizontalChildrenAlign($0?$[11]:$[9]);$2._addChildrenToStateQueue();},_applyPlaceBarOnTop:function($0,$1){var $2=this._bar;if($0){$2.moveSelfToBegin();}else{$2.moveSelfToEnd();}$2._addChildrenToStateQueue();}}}); |
142 |
qx.Class.define($[693],{type:$[53],extend:qx.ui.layout.CanvasLayout}); |
| 143 |
qx.Class.define($[1706],{extend:qx.ui.form.Button,properties:{tabIndex:{refine:true,init:-1},appearance:{refine:true,init:$[652]},show:{refine:true,init:$[116]},height:{refine:true,init:null},allowStretchY:{refine:true,init:true}},members:{_onkeydown:qx.lang.Function.returnTrue,_onkeyup:qx.lang.Function.returnTrue}}); |
143 |
qx.Class.define($[1335],{extend:qx.ui.pageview.AbstractPane,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[591]},zIndex:{refine:true,init:1},height:{refine:true,init:$[142]}}}); |
| 144 |
qx.Class.define($[968],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setChecked($2);}},properties:{checked:{check:$[2],init:false,apply:$[165],event:$[270]}},members:{_applyChecked:function($0,$1){$0?this.addState($[122]):this.removeState($[122]);},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[43]);this.setChecked(!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[14]);$0.stopPropagation();}}}); |
144 |
qx.Class.define($[1561],{type:$[53],extend:qx.ui.layout.BoxLayout,construct:function($0,$1){arguments.callee.base.call(this);this._bar=new $0;this._pane=new $1;this.add(this._bar,this._pane);},members:{getPane:function(){return this._pane;},getBar:function(){return this._bar;}},destruct:function(){this._disposeObjects($[1481],$[439]);}}); |
| 145 |
qx.Class.define($[1483],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$2,$3,$4,$5);if($1!=null){this.setMenu($1);}},properties:{menu:{check:$[160],nullable:true,apply:$[449],event:$[1628]},direction:{check:[$[348],$[257]],init:$[257],event:$[1709]}},members:{getParentToolBar:function(){var $0=this.getParent();if($0 instanceof qx.ui.toolbar.Part){$0=$0.getParent();}return $0 instanceof qx.ui.toolbar.ToolBar?$0:null;},_showMenu:function($0){var $1=this.getMenu();if($1){var $2=this.getElement();var $3=qx.bom.element.Location.get($2);$1.setLeft($3.left);switch(this.getDirection()){case $[348]:$1.setBottom($3.top);$1.setTop(null);break;case $[257]:$1.setTop($3.bottom);$1.setBottom(null);break;}this.addState($[14]);if($0){$1.setHoverItem($1.getFirstActiveChild());}$1.show();}},_hideMenu:function(){var $0=this.getMenu();if($0){$0.hide();}},_applyMenu:function($0,$1){if($1){$1.setOpener(null);$1.removeEventListener($[193],this._onmenuappear,this);$1.removeEventListener($[272],this._onmenudisappear,this);}if($0){$0.setOpener(this);$0.addEventListener($[193],this._onmenuappear,this);$0.addEventListener($[272],this._onmenudisappear,this);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.hasState($[14])?this._hideMenu():this._showMenu();},_onmouseup:function($0){},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[43]);},_onmouseover:function($0){var $1=this.getParentToolBar();if($1){var $2=this.getMenu();switch($1.getOpenMenu()){case null:case $2:break;default:qx.ui.menu.Manager.getInstance().update();this._showMenu();}}return arguments.callee.base.call(this,$0);},_onmenuappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();$1.setOpenMenu($2);},_onmenudisappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();if($1.getOpenMenu()==$2){$1.setOpenMenu(null);}}}}); |
145 |
qx.Class.define($[802],{extend:qx.ui.pageview.AbstractPageView,construct:function(){arguments.callee.base.call(this,qx.ui.pageview.tabview.Bar,qx.ui.pageview.tabview.Pane);},properties:{appearance:{refine:true,init:$[1037]},orientation:{refine:true,init:$[122]},alignTabsToLeft:{check:$[2],init:true,apply:$[1431]},placeBarOnTop:{check:$[2],init:true,apply:$[1764]}},members:{_applyAlignTabsToLeft:function($0,$1){var $2=this._bar;$2.setHorizontalChildrenAlign($0?$[11]:$[9]);$2._addChildrenToStateQueue();},_applyPlaceBarOnTop:function($0,$1){var $2=this._bar;if($0){$2.moveSelfToBegin();}else{$2.moveSelfToEnd();}$2._addChildrenToStateQueue();}}}); |
| 146 |
qx.Class.define($[1376],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this._handle=new qx.ui.toolbar.PartHandle;this.add(this._handle);this.initWidth();},properties:{appearance:{refine:true,init:$[1205]},width:{refine:true,init:$[3]},show:{init:$[116],check:[$[110],$[195],$[133],$[7]],nullable:true,inheritable:true,event:$[269]}},destruct:function(){this._disposeObjects($[837]);}}); |
146 |
qx.Class.define($[1727],{extend:qx.ui.form.Button,properties:{tabIndex:{refine:true,init:-1},appearance:{refine:true,init:$[665]},show:{refine:true,init:$[121]},height:{refine:true,init:null},allowStretchY:{refine:true,init:true}},members:{_onkeydown:qx.lang.Function.returnTrue,_onkeyup:qx.lang.Function.returnTrue}}); |
| 147 |
qx.Class.define($[1556],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[749]);this.add($0);},properties:{appearance:{refine:true,init:$[1063]}}}); |
147 |
qx.Class.define($[987],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setChecked($2);}},properties:{checked:{check:$[2],init:false,apply:$[167],event:$[222]}},members:{_applyChecked:function($0,$1){$0?this.addState($[127]):this.removeState($[127]);},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[44]);this.setChecked(!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[15]);$0.stopPropagation();}}}); |
| 148 |
qx.Class.define($[1191],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this.addEventListener($[40],this._onkeypress);this.initHeight();},properties:{appearance:{refine:true,init:$[1184]},height:{refine:true,init:$[3]},openMenu:{check:$[160],event:$[1771],nullable:true},show:{init:$[110],check:[$[110],$[195],$[133],$[7]],nullable:true,inheritable:true,event:$[269]}},members:{getAllButtons:function(){var $0=this.getChildren();var $1=$0.length;var $2=[];var $3;for(var $4=0;$4<$1;$4++){$3=$0[$4];if($3 instanceof qx.ui.toolbar.MenuButton){$2.push($3);}else if($3 instanceof qx.ui.toolbar.Part){$2=$2.concat($3.getChildren());}}return $2;},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:return this._onkeypress_left();case $[64]:return this._onkeypress_right();}},_onkeypress_left:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4-1;$7>=0;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=$3-1;$7>$4;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}},_onkeypress_right:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4+1;$7<$3;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=0;$7<$4;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}}}}); |
148 |
qx.Class.define($[1504],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$2,$3,$4,$5);if($1!=null){this.setMenu($1);}},properties:{menu:{check:$[161],nullable:true,apply:$[457],event:$[1651]},direction:{check:[$[355],$[313]],init:$[313],event:$[1730]}},members:{getParentToolBar:function(){var $0=this.getParent();if($0 instanceof qx.ui.toolbar.Part){$0=$0.getParent();}return $0 instanceof qx.ui.toolbar.ToolBar?$0:null;},_showMenu:function($0){var $1=this.getMenu();if($1){var $2=this.getElement();var $3=qx.bom.element.Location.get($2);$1.setLeft($3.left);switch(this.getDirection()){case $[355]:$1.setBottom($3.top);$1.setTop(null);break;case $[313]:$1.setTop($3.bottom);$1.setBottom(null);break;}this.addState($[15]);if($0){$1.setHoverItem($1.getFirstActiveChild());}$1.show();}},_hideMenu:function(){var $0=this.getMenu();if($0){$0.hide();}},_applyMenu:function($0,$1){if($1){$1.setOpener(null);$1.removeEventListener($[194],this._onmenuappear,this);$1.removeEventListener($[274],this._onmenudisappear,this);}if($0){$0.setOpener(this);$0.addEventListener($[194],this._onmenuappear,this);$0.addEventListener($[274],this._onmenudisappear,this);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.hasState($[15])?this._hideMenu():this._showMenu();},_onmouseup:function($0){},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[44]);},_onmouseover:function($0){var $1=this.getParentToolBar();if($1){var $2=this.getMenu();switch($1.getOpenMenu()){case null:case $2:break;default:qx.ui.menu.Manager.getInstance().update();this._showMenu();}}return arguments.callee.base.call(this,$0);},_onmenuappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();$1.setOpenMenu($2);},_onmenudisappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();if($1.getOpenMenu()==$2){$1.setOpenMenu(null);}}}}); |
| 149 |
qx.Class.define($[152],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);},members:{update:function($0,$1){var $2,$3;var $4=this.getAll();for($3 in $4){$2=$4[$3];if(!$2.getAutoHide()){continue;}if($0&&$0.getMenu&&$0.getMenu()){continue;}if(!$0){$2.hide();continue;}var $5=$1==$[12];var $6=$1==$[22];if($2.getOpener()!==$0&&($0&&(!$2.isSubElement($0)&&$5)||($2.isSubElement($0,true)&&$6)||(!$5&&!$6))){$2.hide();continue;}}}}}); |
149 |
qx.Class.define($[1394],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this._handle=new qx.ui.toolbar.PartHandle;this.add(this._handle);this.initWidth();},properties:{appearance:{refine:true,init:$[1228]},width:{refine:true,init:$[3]},show:{init:$[121],check:[$[115],$[196],$[138],$[8]],nullable:true,inheritable:true,event:$[272]}},destruct:function(){this._disposeObjects($[853]);}}); |
| 150 |
qx.Class.define($[631],{extend:qx.ui.toolbar.CheckBox,properties:{manager:{check:$[176],apply:$[189],nullable:true},name:{check:$[6],event:$[506]},disableUncheck:{check:$[2],init:false}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[43]);this.setChecked(this.getDisableUncheck()||!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[14]);$0.stopPropagation();}}}); |
150 |
qx.Class.define($[1577],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[761]);this.add($0);},properties:{appearance:{refine:true,init:$[1081]}}}); |
| 151 |
qx.Class.define($[1561],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[1272]);this.add($0);},properties:{appearance:{refine:true,init:$[1360]}}}); |
151 |
qx.Class.define($[1214],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this.addEventListener($[37],this._onkeypress);this.initHeight();},properties:{appearance:{refine:true,init:$[1205]},height:{refine:true,init:$[3]},openMenu:{check:$[161],event:$[1791],nullable:true},show:{init:$[115],check:[$[115],$[196],$[138],$[8]],nullable:true,inheritable:true,event:$[272]}},members:{getAllButtons:function(){var $0=this.getChildren();var $1=$0.length;var $2=[];var $3;for(var $4=0;$4<$1;$4++){$3=$0[$4];if($3 instanceof qx.ui.toolbar.MenuButton){$2.push($3);}else if($3 instanceof qx.ui.toolbar.Part){$2=$2.concat($3.getChildren());}}return $2;},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[64]:return this._onkeypress_left();case $[67]:return this._onkeypress_right();}},_onkeypress_left:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4-1;$7>=0;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=$3-1;$7>$4;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}},_onkeypress_right:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4+1;$7<$3;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=0;$7<$4;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}}}}); |
| 152 |
qx.Class.define($[1750],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0);this.initTabIndex();this._createIcon();if($1!=null){this.setValue($1);}if($2!=null){this.setName($2);}if($3!=null){this.setChecked($3);}else{this.initChecked();}this.addEventListener($[53],this._onclick);this.addEventListener($[16],this._onkeydown);this.addEventListener($[84],this._onkeyup);},properties:{appearance:{refine:true,init:$[882]},tabIndex:{refine:true,init:1},name:{check:$[6],event:$[506]},value:{check:$[6],event:$[124]},checked:{check:$[2],apply:$[165],init:false,event:$[270]}},members:{INPUT_TYPE:"checkbox",_createIcon:function(){var $0=this._iconObject=new qx.ui.form.InputCheckSymbol;$0.setType(this.INPUT_TYPE);$0.setChecked(this.getChecked());$0.setAnonymous(true);this.addAtBegin($0);},_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}},_applyIcon:null,_applyDisabledIcon:null,_handleIcon:function(){switch(this.getShow()){case $[133]:case $[110]:this._iconIsVisible=true;break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}},_onclick:function($0){this.toggleChecked();},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){this.toggleChecked();}},_onkeyup:function($0){if($0.getKeyIdentifier()==$[85]){this.toggleChecked();}}}}); |
152 |
qx.Class.define($[155],{type:$[20],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);},members:{update:function($0,$1){var $2,$3;var $4=this.getAll();for($3 in $4){$2=$4[$3];if(!$2.getAutoHide()){continue;}if($0&&$0.getMenu&&$0.getMenu()){continue;}if(!$0){$2.hide();continue;}var $5=$1==$[14];var $6=$1==$[25];if($2.getOpener()!==$0&&($0&&(!$2.isSubElement($0)&&$5)||($2.isSubElement($0,true)&&$6)||(!$5&&!$6))){$2.hide();continue;}}}}}); |
| 153 |
qx.Class.define($[824],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.setSelectable(false);if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(13);this.setHeight(13);}else if(qx.core.Variant.isSet($[1],$[21])){this.setMargin(0);}this.initTabIndex();this.setChecked(false);},properties:{tabIndex:{refine:true,init:-1},name:{check:$[6],init:null,nullable:true,apply:$[260]},value:{init:null,nullable:true,apply:$[209]},type:{init:null,nullable:true,apply:$[1635]},checked:{check:$[2],init:false,apply:$[165]}},members:{_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[89]));},_applyName:function($0,$1){return this.setHtmlProperty($[1424],$0);},_applyValue:function($0,$1){return this.setHtmlProperty($[255],$0);},_applyType:function($0,$1){return this.setHtmlProperty($[1174],$0);},_applyChecked:function($0,$1){return this.setHtmlProperty($[122],$0);},getPreferredBoxWidth:function(){return 13;},getPreferredBoxHeight:function(){return 13;},_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);var $0=this.getElement();$0.checked=this.getChecked();if(this.getEnabled()===false){$0.disabled=true;}},"default":qx.lang.Function.returnTrue}),_applyEnabled:function($0,$1){$0===false?this.setHtmlProperty($[185],$[185]):this.removeHtmlProperty($[185]);return arguments.callee.base.call(this,$0,$1);}},defer:function($0,$1){$1.getBoxWidth=$1.getPreferredBoxWidth;$1.getBoxHeight=$1.getPreferredBoxHeight;$1.getInnerWidth=$1.getPreferredBoxWidth;$1.getInnerHeight=$1.getPreferredBoxHeight;}}); |
153 |
qx.Class.define($[644],{extend:qx.ui.toolbar.CheckBox,properties:{manager:{check:$[177],apply:$[189],nullable:true},name:{check:$[6],event:$[513]},disableUncheck:{check:$[2],init:false}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[44]);this.setChecked(this.getDisableUncheck()||!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[15]);$0.stopPropagation();}}}); |
| 154 |
qx.Class.define($[667],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);var $0=this._list=new qx.ui.form.List;$0.setAppearance($[1629]);$0.setTabIndex(-1);$0.setEdge(0);var $1=this._manager=this._list.getManager();$1.setMultiSelection(false);$1.setDragSelection(false);var $2=this._popup=new qx.ui.popup.Popup;$2.setAppearance($[907]);$2.setRestrictToPageLeft(-100000);$2.setRestrictToPageRight(-100000);$2.setAutoHide(false);$2.setHeight($[3]);$2.add($0);var $3=this._field=new qx.ui.form.TextField;$3.setAppearance($[1528]);$3.setTabIndex(-1);$3.setWidth($[138]);$3.setAllowStretchY(true);$3.setHeight(null);this.add($3);var $4=this._button=new qx.ui.basic.Atom;$4.setAppearance($[1076]);$4.setAllowStretchY(true);$4.setTabIndex(-1);$4.setHeight(null);this.add($4);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[53],this._onclick);this.addEventListener($[61],this._onmouseover);this.addEventListener($[184],this._onmousewheel);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[300],this._onkeyinput);this.addEventListener($[402],this._onbeforedisappear);this._popup.addEventListener($[193],this._onpopupappear,this);this._field.addEventListener($[89],this._oninput,this);qx.locale.Manager.getInstance().addEventListener($[220],this._onlocalechange,this);var $5=qx.ui.core.ClientDocument.getInstance();$5.addEventListener($[283],this._testClosePopup,this);this.remapChildrenHandlingTo($0);this.initEditable();this.initTabIndex();this.initWidth();this.initHeight();this.initMinWidth();},events:{"beforeInitialOpen":$[4]},properties:{appearance:{refine:true,init:$[1521]},allowStretchY:{refine:true,init:false},width:{refine:true,init:120},height:{refine:true,init:$[3]},minWidth:{refine:true,init:40},tabIndex:{refine:true,init:1},editable:{check:$[2],apply:$[320],event:$[794],init:false},selected:{check:$[495],nullable:true,apply:$[267],event:$[261]},value:{check:$[6],nullable:true,apply:$[209],event:$[124]},pagingInterval:{check:$[5],init:10}},members:{getManager:function(){return this._manager;},getPopup:function(){return this._popup;},getList:function(){return this._list;},getField:function(){return this._field;},getButton:function(){return this._button;},_applySelected:function($0,$1){this._fromSelected=true;if(!this._fromValue){this.setValue($0?$0.getLabel().toString():$[0]);}this._manager.setLeadItem($0);this._manager.setAnchorItem($0);if($0){this._manager.setSelectedItem($0);}else{this._manager.deselectAll();}delete this._fromSelected;},_applyValue:function($0,$1){this._fromValue=true;if(!this._fromInput){if(this._field.getValue()==$0){this._field.setValue(null);}this._field.setValue($0);}delete this._fromValue;},_applyEditable:function($0,$1){var $2=this._field;$2.setReadOnly(!$0);$2.setCursor($0?null:$[295]);$2.setSelectable($0);},_oldSelected:null,_openPopup:function(){var $0=this._popup;var $1=this.getElement();if(!$0.isCreated()){this.createDispatchEvent($[1676]);}if(this._list.getChildrenLength()==0){return;}$0.positionRelativeTo($1,1,qx.html.Dimension.getBoxHeight($1));$0.setWidth(this.getBoxWidth()-2);$0.setParent(this.getTopLevelWidget());$0.show();this._oldSelected=this.getSelected();this.setCapture(true);},_closePopup:function(){this._popup.hide();this.setCapture(false);},_testClosePopup:function(){if(this._popup.isSeeable()){this._closePopup();}},_togglePopup:function(){this._popup.isSeeable()?this._closePopup():this._openPopup();},_onpopupappear:function($0){var $1=this.getSelected();if($1){$1.scrollIntoView();}},_oninput:function($0){this._fromInput=true;this.setValue(this._field.getComputedValue());var $1=this.getSelected();if($1&&$1.getLabel()!=this.getValue()){this.resetSelected();}delete this._fromInput;},_onbeforedisappear:function($0){this._testClosePopup();},_onlocalechange:function($0){var $1=this.getSelected();this._applySelected($1,$1);},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:if(this.getEditable()){break;}case this._button:this._button.addState($[14]);this._togglePopup();this.setCapture(true);break;default:break;}$0.stopPropagation();},_onclick:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:case this._button:case this:case this._list:break;default:if($1 instanceof qx.ui.form.ListItem&&$1.getParent()==this._list){this._list._onmousedown($0);this.setSelected(this._list.getSelectedItem());this._closePopup();this.setFocused(true);}else if(this._popup.isSeeable()){this._popup.hide();this.setCapture(false);}}},_onmouseup:function($0){this._button.removeState($[14]);if(!this._popup.isSeeable()){this.setCapture(false);}},_onmouseover:function($0){var $1=$0.getTarget();if($1 instanceof qx.ui.form.ListItem){var $2=this._manager;$2.deselectAll();$2.setLeadItem($1);$2.setAnchorItem($1);$2.setSelectedItem($1);}},_onmousewheel:function($0){if(!this._popup.isSeeable()){var $1;var $2=this.getSelected();if($0.getWheelDelta()<0){$1=$2?this._manager.getNext($2):this._manager.getFirst();}else{$1=$2?this._manager.getPrevious($2):this._manager.getLast();}if($1){this.setSelected($1);}}else{var $3=$0.getTarget();if($3!=this&&$3.getParent()!=this._list){this._popup.hide();this.setCapture(false);}}},_onkeydown:function($0){var $1=this._manager;var $2=this._popup.isSeeable();switch($0.getKeyIdentifier()){case $[46]:if($2){this.setSelected(this._manager.getSelectedItem());this._closePopup();this.setFocused(true);}else{this._openPopup();}$0.stopPropagation();return;case $[129]:if($2){$1.setLeadItem(this._oldSelected);$1.setAnchorItem(this._oldSelected);$1.setSelectedItem(this._oldSelected);this._field.setValue(this._oldSelected?this._oldSelected.getLabel():$[0]);this._closePopup();this.setFocused(true);$0.stopPropagation();}return;case $[76]:if($0.isAltPressed()){this._togglePopup();return;}break;}},_onkeypress:function($0){var $1=this._popup.isSeeable();var $2=this._manager;switch($0.getKeyIdentifier()){case $[88]:if(!$1){var $3;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$3=$4;}while(--$5&&($4=$2.getPrevious($3)));}else{$3=$2.getLast();}this.setSelected($3);return;}break;case $[99]:if(!$1){var $6;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$6=$4;}while(--$5&&($4=$2.getNext($6)));}else{$6=$2.getFirst();}this.setSelected($6||null);return;}break;}if(!this.isEditable()||$1){this._list._onkeypress($0);}},_onkeyinput:function($0){var $1=this._popup.isSeeable();if(!this.isEditable()||$1){this._list._onkeyinput($0);}},_visualizeBlur:function(){this.getField()._visualizeBlur();this.removeState($[224]);},_visualizeFocus:function(){this.getField()._visualizeFocus();this.getField().selectAll();this.addState($[224]);}},destruct:function(){if(this._popup&&!qx.core.Object.inGlobalDispose()){this._popup.setParent(null);}var $0=qx.ui.core.ClientDocument.getInstance();$0.removeEventListener($[283],this._testClosePopup,this);var $1=qx.locale.Manager.getInstance();$1.removeEventListener($[220],this._onlocalechange,this);this._disposeObjects($[1214],$[336],$[213],$[946],$[1505]);}}); |
154 |
qx.Class.define($[1583],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[1295]);this.add($0);},properties:{appearance:{refine:true,init:$[1378]}}}); |
| 155 |
qx.Class.define($[1626],{extend:qx.ui.layout.VerticalBoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.SelectionManager(this);this.addEventListener($[61],this._onmouseover);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[53],this._onclick);this.addEventListener($[104],this._ondblclick);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[300],this._onkeyinput);this.initOverflow();this.initTabIndex();},properties:{appearance:{refine:true,init:$[687]},overflow:{refine:true,init:$[36]},tabIndex:{refine:true,init:1},enableInlineFind:{check:$[2],init:true},markLeadingItem:{check:$[2],init:false}},members:{_pressedString:$[0],getManager:function(){return this._manager;},getListItemTarget:function($0){while($0!=null&&$0.getParent()!=this){$0=$0.getParent();}return $0;},getSelectedItem:function(){return this.getSelectedItems()[0]||null;},getSelectedItems:function(){return this._manager.getSelectedItems();},_onmouseover:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseOver($1,$0);}},_onmousedown:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseDown($1,$0);}},_onmouseup:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseUp($1,$0);}},_onclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleClick($1,$0);}},_ondblclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleDblClick($1,$0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){var $1=this.getSelectedItems();for(var $2=0;$2<$1.length;$2++){$1[$2].createDispatchEvent($[1554]);}}},_onkeypress:function($0){this._manager.handleKeyPress($0);},_lastKeyPress:0,_onkeyinput:function($0){if(!this.getEnableInlineFind()){return;}if(((new Date).valueOf()-this._lastKeyPress)>1000){this._pressedString=$[0];}this._pressedString+=String.fromCharCode($0.getCharCode());var $1=this.findString(this._pressedString,null);if($1){var $2=this._manager._getChangeValue();var $3=this._manager.getFireChange();this._manager.setFireChange(false);this._manager._deselectAll();this._manager.setItemSelected($1,true);this._manager.setAnchorItem($1);this._manager.setLeadItem($1);$1.scrollIntoView();this._manager.setFireChange($3);if($3&&this._manager._hasChanged($2)){this._manager._dispatchChange();}}this._lastKeyPress=(new Date).valueOf();$0.preventDefault();},_findItem:function($0,$1,$2){var $3=this.getChildren();if($1==null){$1=$3.indexOf(this.getSelectedItem());if($1==-1){$1=0;}}var $4=$[586]+$2;for(var $5=$1;$5<$3.length;$5++){if($3[$5][$4]($0)){return $3[$5];}}for(var $5=0;$5<$1;$5++){if($3[$5][$4]($0)){return $3[$5];}}return null;},findString:function($0,$1){return this._findItem($0,$1||0,$[6]);},findStringExact:function($0,$1){return this._findItem($0,$1||0,$[1705]);},findValue:function($0,$1){return this._findItem($0,$1||0,$[365]);},findValueExact:function($0,$1){return this._findItem($0,$1||0,$[855]);},_sortItemsCompare:function($0,$1){return $0.key<$1.key?-1:$0.key==$1.key?0:1;},sortItemsByString:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getLabel(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}},sortItemsByValue:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getValue(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}}},destruct:function(){this._disposeObjects($[213]);}}); |
155 |
qx.Class.define($[1770],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0);this.initTabIndex();this._createIcon();if($1!=null){this.setValue($1);}if($2!=null){this.setName($2);}if($3!=null){this.setChecked($3);}else{this.initChecked();}this.addEventListener($[56],this._onclick);this.addEventListener($[12],this._onkeydown);this.addEventListener($[85],this._onkeyup);},properties:{appearance:{refine:true,init:$[900]},tabIndex:{refine:true,init:1},name:{check:$[6],event:$[513]},value:{check:$[6],event:$[129]},checked:{check:$[2],apply:$[167],init:false,event:$[222]}},members:{INPUT_TYPE:"checkbox",_createIcon:function(){var $0=this._iconObject=new qx.ui.form.InputCheckSymbol;$0.setType(this.INPUT_TYPE);$0.setChecked(this.getChecked());$0.setAnonymous(true);this.addAtBegin($0);},_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}},_applyIcon:null,_applyDisabledIcon:null,_handleIcon:function(){switch(this.getShow()){case $[138]:case $[115]:this._iconIsVisible=true;break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}},_onclick:function($0){this.toggleChecked();},_onkeydown:function($0){if($0.getKeyIdentifier()==$[49]&&!$0.isAltPressed()){this.toggleChecked();}},_onkeyup:function($0){if($0.getKeyIdentifier()==$[86]){this.toggleChecked();}}}}); |
| 156 |
qx.Class.define($[556],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setValue($0);}this.initHideFocus();this.initWidth();this.initHeight();this.initTabIndex();this.initSpellCheck();this.__oninput=qx.lang.Function.bindEvent(this._oninputDom,this);this.addEventListener($[199],this._onblur);this.addEventListener($[236],this._onfocus);this.addEventListener($[89],this._oninput);this.addEventListener($[16],this._onkeydown);},statics:{createRegExpValidator:function($0){return function($1){return $0.test($1);};}},events:{"input":$[98]},properties:{allowStretchX:{refine:true,init:true},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[567]},tabIndex:{refine:true,init:1},hideFocus:{refine:true,init:true},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},selectable:{refine:true,init:true},value:{init:$[0],nullable:true,event:$[124],apply:$[209],dispose:true},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},spellCheck:{check:$[2],init:false,apply:$[1390]},liveUpdate:{check:$[2],init:false},maxLength:{check:$[5],apply:$[941],nullable:true},readOnly:{check:$[2],apply:$[821],init:false},validator:{check:$[472],event:$[1323],nullable:true}},members:{_inputTag:$[89],_inputType:$[254],_inputOverflow:$[36],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){var $2=this._inputElement=document.createElement(this._inputTag);if(this._inputType){$2.type=this._inputType;}$2.autoComplete=$[55];$2.setAttribute($[611],$[55]);$2.disabled=this.getEnabled()===false;$2.readOnly=this.getReadOnly();$2.value=this.getValue()?this.getValue():$[0];if(this.getMaxLength()!=null){$2.maxLength=this.getMaxLength();}var $3=$2.style;$3.padding=$3.margin=0;$3.border=$[426];$3.background=$[820];$3.overflow=this._inputOverflow;$3.outline=$[7];$3.resize=$[7];$3.WebkitAppearance=$[7];$3.MozAppearance=$[7];if(qx.core.Variant.isSet($[1],$[350])){$3.margin=$[1414];}this._renderFont();this._renderTextColor();this._renderTextAlign();this._renderCursor();this._renderSpellCheck();if(qx.core.Variant.isSet($[1],$[13])){$2.onpropertychange=this.__oninput;}else{$2.addEventListener($[89],this.__oninput,false);}$0.appendChild($2);}},_postApply:function(){this._syncFieldWidth();this._syncFieldHeight();},_changeInnerWidth:function($0,$1){this._syncFieldWidth();},_changeInnerHeight:function($0,$1){this._syncFieldHeight();},_syncFieldWidth:function(){this._inputElement.style.width=this.getInnerWidth()+$[38];},_syncFieldHeight:function(){this._inputElement.style.height=(this.getInnerHeight()-2)+$[38];},_applyCursor:function($0,$1){if(this._inputElement){this._renderCursor();}},_renderCursor:function(){var $0=this._inputElement.style;var $1=this.getCursor();if($1){if($1==$[292]&&qx.core.Client.getInstance().isMshtml()){$0.cursor=$[204];}else{$0.cursor=$1;}}else{$0.cursor=$[0];}},_applyTextAlign:function($0,$1){if(this._inputElement){this._renderTextAlign();}},_renderTextAlign:function(){this._inputElement.style.textAlign=this.getTextAlign()||$[0];},_applySpellCheck:function($0,$1){if(this._inputElement){this._renderSpellCheck();}},_renderSpellCheck:function(){this._inputElement.spellcheck=this.getSpellCheck();},_applyEnabled:function($0,$1){if(this._inputElement){this._inputElement.disabled=$0===false;}return arguments.callee.base.call(this,$0,$1);},_applyValue:function($0,$1){this._inValueProperty=true;if(this._inputElement){if($0===null){$0=$[0];}if(this._inputElement.value!==$0){this._inputElement.value=$0;}}delete this._inValueProperty;},_applyMaxLength:function($0,$1){if(this._inputElement){this._inputElement.maxLength=$0==null?$[0]:$0;}},_applyReadOnly:function($0,$1){if(this._inputElement){this._inputElement.readOnly=$0;}if($0){this.addState($[501]);}else{this.removeState($[501]);}},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){this.__textColor=$0;this._renderTextColor();},_renderTextColor:function(){var $0=this._inputElement;if($0){$0.style.color=this.__textColor||$[0];}},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this.__font=$0;this._renderFont();},_renderFont:function(){var $0=this._inputElement;if($0){var $1=this.__font;$1?$1.renderElement($0):qx.ui.core.Font.resetElement($0);}},_visualizeFocus:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this._inputElement.focus();}catch(ex){}}},_visualizeBlur:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus){try{this._inputElement.blur();}catch(ex){}}},getComputedValue:function(){if(this._inputElement){return this._inputElement.value;}return this.getValue();},getInputElement:function(){return this._inputElement||null;},isValid:function(){var $0=this.getValidator();return !$0||$0(this.getValue());},isComputedValid:function(){var $0=this.getValidator();return !$0||$0(this.getComputedValue());},_computePreferredInnerWidth:function(){return 120;},_computePreferredInnerHeight:function(){return 16;},_ieFirstInputFix:qx.core.Variant.select($[1],{"mshtml":function(){this._inValueProperty=true;this._inputElement.value=this.getValue()===null?$[0]:this.getValue();this._firstInputFixApplied=true;delete this._inValueProperty;},"default":null}),_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);if(!this._firstInputFixApplied&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix,this,1);}},"default":function(){arguments.callee.base.call(this);}}),_firstInputFixApplied:false,_textOnFocus:null,_oninputDom:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._inValueProperty&&$0.propertyName===$[255]){this.createDispatchDataEvent($[89],this.getComputedValue());}},"default":function($0){this.createDispatchDataEvent($[89],this.getComputedValue());}}),_ontabfocus:function(){this.selectAll();},_onfocus:function(){this._textOnFocus=this.getComputedValue();},_onblur:function(){var $0=this.getComputedValue().toString();if(this._textOnFocus!=$0){this.setValue($0);}if(this.getParent()!=null){this.setSelectionLength(0);}},_oninput:function(){if(!this.isLiveUpdate()){return;}var $0=this.getComputedValue().toString();this.setValue($0);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[191]&&this.getReadOnly()){$0.preventDefault();}},__getRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return this._inputElement.createTextRange();},"default":null}),__getSelectionRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return this.getTopLevelWidget().getDocumentElement().selection.createRange();},"default":null}),setSelectionStart:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this._inputElement.value;var $2=0;while($2<$0){$2=$1.indexOf($[535],$2);if($2==-1){break;}$0--;$2++;}var $3=this.__getRange();$3.collapse();$3.move($[395],$0);$3.select();},"default":function($0){this._visualPropertyCheck();this._inputElement.selectionStart=$0;}}),getSelectionStart:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return -1;}var $1=this.__getRange();var $2=this._inputElement.value.length;$1.moveToBookmark($0.getBookmark());$1.moveEnd($[818],$2);return $2-$1.text.length;},"default":function(){this._visualPropertyCheck();return this._inputElement.selectionStart;}}),setSelectionLength:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.__getSelectionRange();if(!this._inputElement.contains($1.parentElement())){return;}$1.collapse();$1.moveEnd($[395],$0);$1.select();},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;if(qx.util.Validation.isValidString($1.value)&&this.getVisibility()){$1.selectionEnd=$1.selectionStart+$0;}}}),getSelectionLength:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return 0;}return $0.text.length;},"default":function(){this._visualPropertyCheck();var $0=this._inputElement;return $0.selectionEnd-$0.selectionStart;}}),setSelectionText:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.getSelectionStart();var $2=this.__getSelectionRange();if(!this._inputElement.contains($2.parentElement())){return;}$2.text=$0;this.setValue(this._inputElement.value);this.setSelectionStart($1);this.setSelectionLength($0.length);},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;var $2=$1.value;var $3=$1.selectionStart;var $4=$2.substr(0,$3);var $5=$2.substr($1.selectionEnd);var $6=$1.value=$4+$0+$5;$1.selectionStart=$3;$1.selectionEnd=$3+$0.length;this.setValue($6);}}),getSelectionText:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return $[0];}return $0.text;},"default":function(){this._visualPropertyCheck();return this._inputElement.value.substr(this.getSelectionStart(),this.getSelectionLength());}}),selectAll:function(){this._visualPropertyCheck();if(this.getValue()!=null){this.setSelectionStart(0);this.setSelectionLength(this._inputElement.value.length);}this._inputElement.select();this._inputElement.focus();},selectFromTo:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this._visualPropertyCheck();this.setSelectionStart($0);this.setSelectionLength($1-$0);},"default":function($0,$1){this._visualPropertyCheck();var $2=this._inputElement;$2.selectionStart=$0;$2.selectionEnd=$1;}})},destruct:function(){if(this._inputElement){if(qx.core.Variant.isSet($[1],$[13])){this._inputElement.onpropertychange=null;}else{this._inputElement.removeEventListener($[89],this.__oninput,false);}}this._disposeFields($[1684],$[1324],$[1389]);}}); |
156 |
qx.Class.define($[840],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.setSelectable(false);if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(13);this.setHeight(13);}else if(qx.core.Variant.isSet($[1],$[16])){this.setMargin(0);}this.initTabIndex();this.setChecked(false);},properties:{tabIndex:{refine:true,init:-1},name:{check:$[6],init:null,nullable:true,apply:$[262]},value:{init:null,nullable:true,apply:$[210]},type:{init:null,nullable:true,apply:$[1658]},checked:{check:$[2],init:false,apply:$[167]}},members:{_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[89]));},_applyName:function($0,$1){return this.setHtmlProperty($[1442],$0);},_applyValue:function($0,$1){return this.setHtmlProperty($[256],$0);},_applyType:function($0,$1){return this.setHtmlProperty($[1194],$0);},_applyChecked:function($0,$1){return this.setHtmlProperty($[127],$0);},getPreferredBoxWidth:function(){return 13;},getPreferredBoxHeight:function(){return 13;},_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);var $0=this.getElement();$0.checked=this.getChecked();if(this.getEnabled()===false){$0.disabled=true;}},"default":qx.lang.Function.returnTrue}),_applyEnabled:function($0,$1){$0===false?this.setHtmlProperty($[185],$[185]):this.removeHtmlProperty($[185]);return arguments.callee.base.call(this,$0,$1);}},defer:function($0,$1){$1.getBoxWidth=$1.getPreferredBoxWidth;$1.getBoxHeight=$1.getPreferredBoxHeight;$1.getInnerWidth=$1.getPreferredBoxWidth;$1.getInnerHeight=$1.getPreferredBoxHeight;}}); |
| 157 |
qx.Class.define($[495],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setValue($2);}this.addEventListener($[104],this._ondblclick);this.initMinWidth();},events:{"action":$[4]},properties:{appearance:{refine:true,init:$[1589]},minWidth:{refine:true,init:$[3]},width:{refine:true,init:null},allowStretchX:{refine:true,init:true},value:{check:$[6],event:$[124]}},members:{handleStateChange:function(){if(this.hasState($[276])){this.setStyleProperty($[200],$[205]);this.setStyleProperty($[214],$[205]);}else{this.removeStyleProperty($[200]);this.setStyleProperty($[214],$[994]);}},_applyStateStyleFocus:function($0){},matchesString:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase().indexOf($0.toLowerCase())==0;},matchesStringExact:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase()==String($0).toLowerCase();},matchesValue:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase().indexOf($0.toLowerCase())==0;},matchesValueExact:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase()==String($0).toLowerCase();},_ondblclick:function($0){var $1=this.getCommand();if($1){$1.execute();}}}}); |
157 |
qx.Class.define($[678],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);var $0=this._list=new qx.ui.form.List;$0.setAppearance($[1652]);$0.setTabIndex(-1);$0.setEdge(0);var $1=this._manager=this._list.getManager();$1.setMultiSelection(false);$1.setDragSelection(false);var $2=this._popup=new qx.ui.popup.Popup;$2.setAppearance($[926]);$2.setRestrictToPageLeft(-100000);$2.setRestrictToPageRight(-100000);$2.setAutoHide(false);$2.setHeight($[3]);$2.add($0);var $3=this._field=new qx.ui.form.TextField;$3.setAppearance($[1550]);$3.setTabIndex(-1);$3.setWidth($[142]);$3.setAllowStretchY(true);$3.setHeight(null);this.add($3);var $4=this._button=new qx.ui.basic.Atom;$4.setAppearance($[1094]);$4.setAllowStretchY(true);$4.setTabIndex(-1);$4.setHeight(null);this.add($4);this.addEventListener($[14],this._onmousedown);this.addEventListener($[25],this._onmouseup);this.addEventListener($[56],this._onclick);this.addEventListener($[65],this._onmouseover);this.addEventListener($[184],this._onmousewheel);this.addEventListener($[12],this._onkeydown);this.addEventListener($[37],this._onkeypress);this.addEventListener($[304],this._onkeyinput);this.addEventListener($[408],this._onbeforedisappear);this._popup.addEventListener($[194],this._onpopupappear,this);this._field.addEventListener($[89],this._oninput,this);qx.locale.Manager.getInstance().addEventListener($[223],this._onlocalechange,this);var $5=qx.ui.core.ClientDocument.getInstance();$5.addEventListener($[286],this._testClosePopup,this);this.remapChildrenHandlingTo($0);this.initEditable();this.initTabIndex();this.initWidth();this.initHeight();this.initMinWidth();},events:{"beforeInitialOpen":$[4]},properties:{appearance:{refine:true,init:$[1543]},allowStretchY:{refine:true,init:false},width:{refine:true,init:120},height:{refine:true,init:$[3]},minWidth:{refine:true,init:40},tabIndex:{refine:true,init:1},editable:{check:$[2],apply:$[326],event:$[809],init:false},selected:{check:$[503],nullable:true,apply:$[270],event:$[263]},value:{check:$[6],nullable:true,apply:$[210],event:$[129]},pagingInterval:{check:$[5],init:10},format:{check:$[297],init:function($0){return this.__defaultFormat($0);},nullable:true}},members:{getManager:function(){return this._manager;},getPopup:function(){return this._popup;},getList:function(){return this._list;},getField:function(){return this._field;},getButton:function(){return this._button;},_applySelected:function($0,$1){this._fromSelected=true;if(!this._fromValue){var $2=$0?$0.getLabel().toString():$[0];if(this.getFormat()!=null){$2=this.getFormat().call(this,$0);}this.setValue($2);}this._manager.setLeadItem($0);this._manager.setAnchorItem($0);if($0){this._manager.setSelectedItem($0);}else{this._manager.deselectAll();}delete this._fromSelected;},_applyValue:function($0,$1){this._fromValue=true;if(!this._fromInput){if(this._field.getValue()==$0){this._field.setValue(null);}this._field.setValue($0);}delete this._fromValue;},_applyEditable:function($0,$1){var $2=this._field;$2.setReadOnly(!$0);$2.setCursor($0?null:$[299]);$2.setSelectable($0);},_oldSelected:null,_openPopup:function(){var $0=this._popup;var $1=this.getElement();if(!$0.isCreated()){this.createDispatchEvent($[1697]);}if(this._list.getChildrenLength()==0){return;}$0.positionRelativeTo($1,1,qx.html.Dimension.getBoxHeight($1));$0.setWidth(this.getBoxWidth()-2);$0.setParent(this.getTopLevelWidget());$0.show();this._oldSelected=this.getSelected();this.setCapture(true);},_closePopup:function(){this._popup.hide();this.setCapture(false);},_testClosePopup:function(){if(this._popup.isSeeable()){this._closePopup();}},_togglePopup:function(){this._popup.isSeeable()?this._closePopup():this._openPopup();},_onpopupappear:function($0){var $1=this.getSelected();if($1){$1.scrollIntoView();}},_oninput:function($0){this._fromInput=true;this.setValue(this._field.getComputedValue());var $1=this.getSelected();if($1&&$1.getLabel()!=this.getValue()){this.resetSelected();}delete this._fromInput;},_onbeforedisappear:function($0){this._testClosePopup();},_onlocalechange:function($0){var $1=this.getSelected();this._applySelected($1,$1);},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:if(this.getEditable()){break;}case this._button:this._button.addState($[15]);this._togglePopup();this.setCapture(true);break;default:break;}$0.stopPropagation();},_onclick:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:case this._button:case this:case this._list:break;default:if($1 instanceof qx.ui.form.ListItem&&$1.getParent()==this._list){this._list._onmousedown($0);this.setSelected(this._list.getSelectedItem());this._closePopup();this.setFocused(true);}else if(this._popup.isSeeable()){this._popup.hide();this.setCapture(false);}}},_onmouseup:function($0){this._button.removeState($[15]);if(!this._popup.isSeeable()){this.setCapture(false);}},_onmouseover:function($0){var $1=$0.getTarget();if($1 instanceof qx.ui.form.ListItem){var $2=this._manager;$2.deselectAll();$2.setLeadItem($1);$2.setAnchorItem($1);$2.setSelectedItem($1);}},_onmousewheel:function($0){if(!this._popup.isSeeable()){var $1;var $2=this.getSelected();if($0.getWheelDelta()<0){$1=$2?this._manager.getNext($2):this._manager.getFirst();}else{$1=$2?this._manager.getPrevious($2):this._manager.getLast();}if($1){this.setSelected($1);}}else{var $3=$0.getTarget();if($3!=this&&$3.getParent()!=this._list){this._popup.hide();this.setCapture(false);}}},_onkeydown:function($0){var $1=this._manager;var $2=this._popup.isSeeable();switch($0.getKeyIdentifier()){case $[49]:if($2){this.setSelected(this._manager.getSelectedItem());this._closePopup();this.setFocused(true);}else{this._openPopup();}$0.stopPropagation();return;case $[114]:if($2){$1.setLeadItem(this._oldSelected);$1.setAnchorItem(this._oldSelected);$1.setSelectedItem(this._oldSelected);this._field.setValue(this._oldSelected?this._oldSelected.getLabel():$[0]);this._closePopup();this.setFocused(true);$0.stopPropagation();}return;case $[78]:if($0.isAltPressed()){this._togglePopup();return;}break;}},_onkeypress:function($0){var $1=this._popup.isSeeable();var $2=this._manager;switch($0.getKeyIdentifier()){case $[88]:if(!$1){var $3;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$3=$4;}while(--$5&&($4=$2.getPrevious($3)));}else{$3=$2.getLast();}this.setSelected($3);return;}break;case $[100]:if(!$1){var $6;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$6=$4;}while(--$5&&($4=$2.getNext($6)));}else{$6=$2.getFirst();}this.setSelected($6||null);return;}break;case $[114]:$0.stopPropagation();break;}if(!this.isEditable()||$1){this._list._onkeypress($0);}},_onkeyinput:function($0){var $1=this._popup.isSeeable();if(!this.isEditable()||$1){this._list._onkeyinput($0);}},_visualizeBlur:function(){this.getField()._visualizeBlur();this.removeState($[227]);},_visualizeFocus:function(){this.getField()._visualizeFocus();this.getField().selectAll();this.addState($[227]);},__defaultFormat:function($0){var $1=$0?$0.getLabel().toString():$[0];var $2=$0.getLabelObject();if($2!=null){var $3=$2.getMode();if($3===$[3]){$3=qx.util.Validation.isValidString($1)&&$1.match(/<.*>/)?$[314]:$[206];}if($3===$[314]){$1=$1.replace(/<[^>]+?>/g,$[0]);$1=qx.html.String.unescape($1);}}return $1;}},destruct:function(){if(this._popup&&!qx.core.Object.inGlobalDispose()){this._popup.setParent(null);}var $0=qx.ui.core.ClientDocument.getInstance();$0.removeEventListener($[286],this._testClosePopup,this);var $1=qx.locale.Manager.getInstance();$1.removeEventListener($[223],this._onlocalechange,this);this._disposeObjects($[1237],$[344],$[215],$[965],$[1526],$[1206]);}}); |
| 158 |
qx.Class.define($[1175],{extend:qx.ui.form.TextField,members:{_inputType:$[1303]}}); |
158 |
qx.Class.define($[1649],{extend:qx.ui.layout.VerticalBoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.SelectionManager(this);this.addEventListener($[65],this._onmouseover);this.addEventListener($[14],this._onmousedown);this.addEventListener($[25],this._onmouseup);this.addEventListener($[56],this._onclick);this.addEventListener($[105],this._ondblclick);this.addEventListener($[12],this._onkeydown);this.addEventListener($[37],this._onkeypress);this.addEventListener($[304],this._onkeyinput);this.initOverflow();this.initTabIndex();},properties:{appearance:{refine:true,init:$[698]},overflow:{refine:true,init:$[22]},tabIndex:{refine:true,init:1},enableInlineFind:{check:$[2],init:true},markLeadingItem:{check:$[2],init:false}},members:{_pressedString:$[0],getManager:function(){return this._manager;},getListItemTarget:function($0){while($0!=null&&$0.getParent()!=this){$0=$0.getParent();}return $0;},getSelectedItem:function(){return this.getSelectedItems()[0]||null;},getSelectedItems:function(){return this._manager.getSelectedItems();},_onmouseover:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseOver($1,$0);}},_onmousedown:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseDown($1,$0);}},_onmouseup:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseUp($1,$0);}},_onclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleClick($1,$0);}},_ondblclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleDblClick($1,$0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[49]&&!$0.isAltPressed()){var $1=this.getSelectedItems();for(var $2=0;$2<$1.length;$2++){$1[$2].createDispatchEvent($[1575]);}}},_onkeypress:function($0){this._manager.handleKeyPress($0);},_lastKeyPress:0,_onkeyinput:function($0){if(!this.getEnableInlineFind()){return;}if(((new Date).valueOf()-this._lastKeyPress)>1000){this._pressedString=$[0];}this._pressedString+=String.fromCharCode($0.getCharCode());var $1=this.findString(this._pressedString,null);if($1){var $2=this._manager._getChangeValue();var $3=this._manager.getFireChange();this._manager.setFireChange(false);this._manager._deselectAll();this._manager.setItemSelected($1,true);this._manager.setAnchorItem($1);this._manager.setLeadItem($1);$1.scrollIntoView();this._manager.setFireChange($3);if($3&&this._manager._hasChanged($2)){this._manager._dispatchChange();}}this._lastKeyPress=(new Date).valueOf();$0.preventDefault();},_findItem:function($0,$1,$2){var $3=this.getChildren();if($1==null){$1=$3.indexOf(this.getSelectedItem());if($1==-1){$1=0;}}var $4=$[597]+$2;for(var $5=$1;$5<$3.length;$5++){if($3[$5][$4]($0)){return $3[$5];}}for(var $5=0;$5<$1;$5++){if($3[$5][$4]($0)){return $3[$5];}}return null;},findString:function($0,$1){return this._findItem($0,$1||0,$[6]);},findStringExact:function($0,$1){return this._findItem($0,$1||0,$[1726]);},findValue:function($0,$1){return this._findItem($0,$1||0,$[370]);},findValueExact:function($0,$1){return this._findItem($0,$1||0,$[872]);},_sortItemsCompare:function($0,$1){return $0.key<$1.key?-1:$0.key==$1.key?0:1;},sortItemsByString:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getLabel(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}},sortItemsByValue:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getValue(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}}},destruct:function(){this._disposeObjects($[215]);}}); |
| 159 |
qx.Class.define($[1064],{extend:qx.ui.form.CheckBox,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0,$1,$2,$3);this.addEventListener($[40],this._onkeypress);},properties:{appearance:{refine:true,init:$[589]},manager:{check:$[176],nullable:true,apply:$[189]}},members:{INPUT_TYPE:"radio",_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this._iconObject){this._iconObject.setName($0);}if(this.getManager()){this.getManager().setName($0);}},_applyValue:function($0,$1){if(this.isCreated()&&this._iconObject){this._iconObject.setValue($0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:case $[69]:qx.event.handler.FocusHandler.mouseFocus=false;qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectPrevious(this):true;case $[64]:case $[76]:qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectNext(this):true;}},_onclick:function($0){this.setChecked(true);},_onkeyup:function($0){if($0.getKeyIdentifier()==$[85]){this.setChecked(true);}}}}); |
159 |
qx.Class.define($[565],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setValue($0);}this.initHideFocus();this.initWidth();this.initHeight();this.initTabIndex();this.initSpellCheck();this.__oninput=qx.lang.Function.bindEvent(this._oninputDom,this);this.addEventListener($[201],this._onblur);this.addEventListener($[240],this._onfocus);this.addEventListener($[89],this._oninput);this.addEventListener($[12],this._onkeydown);},statics:{createRegExpValidator:function($0){return function($1){return $0.test($1);};}},events:{"input":$[98]},properties:{allowStretchX:{refine:true,init:true},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[576]},tabIndex:{refine:true,init:1},hideFocus:{refine:true,init:true},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},selectable:{refine:true,init:true},value:{init:$[0],nullable:true,event:$[129],apply:$[210],dispose:true},textAlign:{check:[$[11],$[61],$[9],$[267]],nullable:true,themeable:true,apply:$[290]},spellCheck:{check:$[2],init:false,apply:$[1408]},liveUpdate:{check:$[2],init:false},maxLength:{check:$[5],apply:$[961],nullable:true},readOnly:{check:$[2],apply:$[837],init:false},validator:{check:$[297],event:$[1344],nullable:true}},members:{_inputTag:$[89],_inputType:$[206],_inputOverflow:$[22],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){var $2=this._inputElement=document.createElement(this._inputTag);if(this._inputType){$2.type=this._inputType;}$2.autoComplete=$[59];$2.setAttribute($[625],$[59]);$2.disabled=this.getEnabled()===false;$2.readOnly=this.getReadOnly();$2.value=this.getValue()!=null?this.getValue().toString():$[0];if(this.getMaxLength()!=null){$2.maxLength=this.getMaxLength();}var $3=$2.style;$3.padding=$3.margin=0;$3.border=$[434];$3.background=$[836];$3.overflow=this._inputOverflow;$3.outline=$[8];$3.resize=$[8];$3.WebkitAppearance=$[8];$3.MozAppearance=$[8];if(qx.core.Variant.isSet($[1],$[357])){$3.margin=$[1432];}this._renderFont();this._renderTextColor();this._renderTextAlign();this._renderCursor();this._renderSpellCheck();if(qx.core.Variant.isSet($[1],$[13])){$2.onpropertychange=this.__oninput;}else{$2.addEventListener($[89],this.__oninput,false);}$0.appendChild($2);}},_postApply:function(){this._syncFieldWidth();this._syncFieldHeight();},_changeInnerWidth:function($0,$1){this._syncFieldWidth();},_changeInnerHeight:function($0,$1){this._syncFieldHeight();},_syncFieldWidth:function(){this._inputElement.style.width=this.getInnerWidth()+$[40];},_syncFieldHeight:function(){this._inputElement.style.height=(this.getInnerHeight()-2)+$[40];},_applyCursor:function($0,$1){if(this._inputElement){this._renderCursor();}},_renderCursor:function(){var $0=this._inputElement.style;var $1=this.getCursor();if($1){if($1==$[295]&&qx.core.Client.getInstance().isMshtml()){$0.cursor=$[205];}else{$0.cursor=$1;}}else{$0.cursor=$[0];}},_applyTextAlign:function($0,$1){if(this._inputElement){this._renderTextAlign();}},_renderTextAlign:function(){this._inputElement.style.textAlign=this.getTextAlign()||$[0];},_applySpellCheck:function($0,$1){if(this._inputElement){this._renderSpellCheck();}},_renderSpellCheck:function(){this._inputElement.spellcheck=this.getSpellCheck();},_applyEnabled:function($0,$1){if(this._inputElement){this._inputElement.disabled=$0===false;}return arguments.callee.base.call(this,$0,$1);},_applyValue:function($0,$1){this._inValueProperty=true;if(this._inputElement){if($0===null){$0=$[0];}if(this._inputElement.value!==$0){this._inputElement.value=$0;}}delete this._inValueProperty;},_applyMaxLength:function($0,$1){if(this._inputElement){this._inputElement.maxLength=$0==null?$[0]:$0;}},_applyReadOnly:function($0,$1){if(this._inputElement){this._inputElement.readOnly=$0;}if($0){this.addState($[508]);}else{this.removeState($[508]);}},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){this.__textColor=$0;this._renderTextColor();},_renderTextColor:function(){var $0=this._inputElement;if($0){$0.style.color=this.__textColor||$[0];}},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this.__font=$0;this._renderFont();},_renderFont:function(){var $0=this._inputElement;if($0){var $1=this.__font;$1?$1.renderElement($0):qx.ui.core.Font.resetElement($0);}},_visualizeFocus:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this._inputElement.focus();}catch(ex){}}},_visualizeBlur:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus){try{this._inputElement.blur();}catch(ex){}}},getComputedValue:function(){if(this._inputElement){return this._inputElement.value;}return this.getValue();},getInputElement:function(){return this._inputElement||null;},isValid:function(){var $0=this.getValidator();return !$0||$0(this.getValue());},isComputedValid:function(){var $0=this.getValidator();return !$0||$0(this.getComputedValue());},_visualPropertyCheck:function(){arguments.callee.base.call(this);if(!this.getVisibility()){throw new Error(this.classname+": Element must be visible!");}},_computePreferredInnerWidth:function(){return 120;},_computePreferredInnerHeight:function(){return 16;},_ieFirstInputFix:qx.core.Variant.select($[1],{"mshtml":function(){this._inValueProperty=true;this._inputElement.value=this.getValue()===null?$[0]:this.getValue().toString();this._firstInputFixApplied=true;delete this._inValueProperty;},"default":null}),_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);if(!this._firstInputFixApplied&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix,this,1);}},"default":function(){arguments.callee.base.call(this);}}),_firstInputFixApplied:false,_textOnFocus:null,_oninputDom:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._inValueProperty&&$0.propertyName===$[256]){this.createDispatchDataEvent($[89],this.getComputedValue());}},"default":function($0){this.createDispatchDataEvent($[89],this.getComputedValue());}}),_ontabfocus:function(){this.selectAll();},_onfocus:function(){this._textOnFocus=this.getComputedValue();},_onblur:function(){var $0=this.getComputedValue().toString();if(this._textOnFocus!=$0){this.setValue($0);}if(this.getParent()!=null){this.setSelectionLength(0);}},_oninput:function(){if(!this.isLiveUpdate()){return;}var $0=this.getComputedValue().toString();this.setValue($0);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[192]&&this.getReadOnly()){$0.preventDefault();}},__getRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return this._inputElement.createTextRange();},"default":null}),__getSelectionRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return window.document.selection.createRange();},"default":null}),setSelectionStart:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this._inputElement.value;var $2=0;while($2<$0){$2=$1.indexOf($[543],$2);if($2==-1){break;}$0--;$2++;}var $3=this.__getRange();$3.collapse();$3.move($[401],$0);$3.select();},"gecko":function($0){this._visualPropertyCheck();try{this._inputElement.selectionStart=$0;}catch(ex){}},"default":function($0){this._visualPropertyCheck();this._inputElement.selectionStart=$0;}}),getSelectionStart:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return -1;}var $1=this.__getRange();var $2=this._inputElement.value.length;$1.moveToBookmark($0.getBookmark());$1.moveEnd($[834],$2);return $2-$1.text.length;},"gecko":function(){this._visualPropertyCheck();var $0=this._inputElement;try{if(qx.util.Validation.isValidString($0.value)){return $0.selectionStart;}}catch(ex){return 0;}},"default":function(){this._visualPropertyCheck();return this._inputElement.selectionStart;}}),setSelectionLength:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.__getSelectionRange();if(!this._inputElement.contains($1.parentElement())){return;}$1.collapse();$1.moveEnd($[401],$0);$1.select();},"gecko":function($0){this._visualPropertyCheck();var $1=this._inputElement;try{if(qx.util.Validation.isValidString($1.value)){$1.selectionEnd=$1.selectionStart+$0;}}catch(ex){}},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;if(qx.util.Validation.isValidString($1.value)){$1.selectionEnd=$1.selectionStart+$0;}}}),getSelectionLength:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return 0;}return $0.text.length;},"gecko":function(){this._visualPropertyCheck();var $0=this._inputElement;try{return $0.selectionEnd-$0.selectionStart;}catch(ex){}},"default":function(){this._visualPropertyCheck();var $0=this._inputElement;return $0.selectionEnd-$0.selectionStart;}}),setSelectionText:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.getSelectionStart();var $2=this.__getSelectionRange();if(!this._inputElement.contains($2.parentElement())){return;}$2.text=$0;this.setValue(this._inputElement.value);this.setSelectionStart($1);this.setSelectionLength($0.length);},"gecko":function($0){this._visualPropertyCheck();var $1=this._inputElement;try{if(qx.util.Validation.isValidString($1.value)){var $2=$1.value;var $3=$1.selectionStart;var $4=$2.substr(0,$3);var $5=$2.substr($1.selectionEnd);var $6=$1.value=$4+$0+$5;$1.selectionStart=$3;$1.selectionEnd=$3+$0.length;this.setValue($6);}}catch(ex){}},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;var $2=$1.value;var $3=$1.selectionStart;var $4=$2.substr(0,$3);var $5=$2.substr($1.selectionEnd);var $6=$1.value=$4+$0+$5;$1.selectionStart=$3;$1.selectionEnd=$3+$0.length;this.setValue($6);}}),getSelectionText:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return $[0];}return $0.text;},"default":function(){this._visualPropertyCheck();return this._inputElement.value.substr(this.getSelectionStart(),this.getSelectionLength());}}),selectAll:function(){this._visualPropertyCheck();if(this.getValue()!=null){this.setSelectionStart(0);this.setSelectionLength(this._inputElement.value.length);}this._inputElement.select();this._inputElement.focus();},selectFromTo:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this._visualPropertyCheck();this.setSelectionStart($0);this.setSelectionLength($1-$0);},"gecko":function($0,$1){this._visualPropertyCheck();var $2=this._inputElement;try{$2.selectionStart=$0;$2.selectionEnd=$1;}catch(ex){}},"default":function($0,$1){this._visualPropertyCheck();var $2=this._inputElement;$2.selectionStart=$0;$2.selectionEnd=$1;}})},destruct:function(){if(this._inputElement){if(qx.core.Variant.isSet($[1],$[13])){this._inputElement.onpropertychange=null;}else{this._inputElement.removeEventListener($[89],this.__oninput,false);}}this._disposeFields($[1704],$[1345],$[1407]);}}); |
| 160 |
qx.Class.define($[1152],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2){arguments.callee.base.call(this);if(qx.core.Variant.isSet($[1],$[13])){this.setStyleProperty($[210],$[52]);}this._textfield=new qx.ui.form.TextField;this._textfield.setBorder(null);this._textfield.setWidth($[138]);this._textfield.setAllowStretchY(true);this._textfield.setHeight(null);this._textfield.setLiveUpdate(true);this._textfield.setVerticalAlign($[62]);this._textfield.setAppearance($[1517]);this.add(this._textfield);this._buttonlayout=new qx.ui.layout.VerticalBoxLayout;this._buttonlayout.setWidth($[3]);this.add(this._buttonlayout);this._upbutton=new qx.ui.basic.Image;this._upbutton.setAppearance($[1143]);this._upbutton.setHeight($[138]);this._buttonlayout.add(this._upbutton);this._downbutton=new qx.ui.basic.Image;this._downbutton.setAppearance($[958]);this._downbutton.setHeight($[138]);this._buttonlayout.add(this._downbutton);this._timer=new qx.client.Timer(this.getInterval());this.setManager(new qx.util.range.Range());this.initWrap();this.addEventListener($[40],this._onkeypress,this);this.addEventListener($[16],this._onkeydown,this);this.addEventListener($[84],this._onkeyup,this);this.addEventListener($[184],this._onmousewheel,this);this._textfield.addEventListener($[124],this._ontextchange,this);this._textfield.addEventListener($[89],this._oninput,this);this._textfield.addEventListener($[199],this._onblur,this);this._upbutton.addEventListener($[12],this._onmousedown,this);this._downbutton.addEventListener($[12],this._onmousedown,this);this._timer.addEventListener($[86],this._oninterval,this);if($0!=null){this.setMin($0);}if($2!=null){this.setMax($2);}if($1!=null){this.setValue($1);}this._checkValue=this.__checkValue;this._numberFormat=null;this.initWidth();this.initHeight();this._last_value=$[0];},events:{"change":$[98]},properties:{appearance:{refine:true,init:$[1340]},width:{refine:true,init:60},height:{refine:true,init:22},incrementAmount:{check:$[19],init:1,apply:$[823]},wheelIncrementAmount:{check:$[19],init:1},pageIncrementAmount:{check:$[19],init:10},interval:{check:$[5],init:100},firstInterval:{check:$[5],init:500},minTimer:{check:$[5],init:20},timerDecrease:{check:$[5],init:2},amountGrowth:{check:$[19],init:1.01},wrap:{check:$[2],init:false,apply:$[271]},editable:{check:$[2],init:true,apply:$[320]},manager:{check:$[469],apply:$[189],dispose:true},checkValueFunction:{apply:$[796]},numberFormat:{check:$[692],apply:$[753]},selectTextOnInteract:{check:$[2],init:true}},members:{_applyIncrementAmount:function($0,$1){this._computedIncrementAmount=$0;},_applyEditable:function($0,$1){if(this._textfield){this._textfield.setReadOnly(!$0);}},_applyWrap:function($0,$1){this.getManager().setWrap($0);this._onchange();},_applyManager:function($0,$1){if($1){$1.removeEventListener($[107],this._onchange,this);}if($0){$0.addEventListener($[107],this._onchange,this);}this._onchange();},_applyCheckValueFunction:function($0,$1){this._checkValue=$0;},_applyNumberFormat:function($0,$1){this._numberFormat=$0;this.getManager().setPrecision($0.getMaximumFractionDigits());this._onchange();},_computePreferredInnerWidth:function(){return 50;},_computePreferredInnerHeight:function(){return 14;},_onkeypress:function($0){var $1=$0.getKeyIdentifier();if($1==$[46]&&!$0.isAltPressed()){this._checkValue(true,false);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}}else{switch($1){case $[69]:case $[76]:case $[60]:case $[64]:case $[142]:case $[125]:case $[136]:case $[129]:case $[169]:case $[191]:case $[203]:case $[150]:case $[162]:case $[88]:case $[99]:case $[127]:case $[188]:break;default:if(($1>=$[41]&&$1<=$[172])||($1==$[1027])){return;}if(this._numberFormat){var $2=this._numberFormat._locale;if(($1==qx.locale.Number.getGroupSeparator($2))||($1==qx.locale.Number.getDecimalSeparator($2)))return;}if($0.getModifiers()==0){$0.preventDefault();}}}},_onkeydown:function($0){var $1=$0.getKeyIdentifier();if(this._intervalIncrease==null){switch($1){case $[69]:case $[76]:this._intervalIncrease=$1==$[69];this._intervalMode=$[904];this._resetIncrements();this._checkValue(true,false);this._increment();this._timer.startWith(this.getFirstInterval());break;case $[88]:case $[99]:this._intervalIncrease=$1==$[88];this._intervalMode=$[425];this._resetIncrements();this._checkValue(true,false);this._pageIncrement();this._timer.startWith(this.getFirstInterval());break;}}},_onkeyup:function($0){if(this._intervalIncrease!=null){switch($0.getKeyIdentifier()){case $[69]:case $[76]:case $[88]:case $[99]:this._timer.stop();this._intervalIncrease=null;this._intervalMode=null;}}},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}this._checkValue(true);var $1=$0.getCurrentTarget();$1.addState($[14]);$1.addEventListener($[22],this._onmouseup,this);$1.addEventListener($[105],this._onmouseup,this);this._intervalIncrease=$1==this._upbutton;this._resetIncrements();this._increment();if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._timer.setInterval(this.getFirstInterval());this._timer.start();},_onmouseup:function($0){var $1=$0.getCurrentTarget();$1.removeState($[14]);$1.removeEventListener($[22],this._onmouseup,this);$1.removeEventListener($[105],this._onmouseup,this);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._textfield.setFocused(true);this._timer.stop();this._intervalIncrease=null;},_onmousewheel:function($0){this._checkValue(true);if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*$0.getWheelDelta());}else{var $1=this.getManager().getValue()+(this.getWheelIncrementAmount()*$0.getWheelDelta());$1=this.getManager().limit($1);this.getManager().setValue($1);}this._textfield.selectAll();},_ontextchange:function($0){this._last_value=$0.getOldValue();},_oninput:function($0){this._checkValue(true,true);},_onchange:function($0){var $1=this.getManager().getValue();if(this._numberFormat){this._textfield.setValue(this._numberFormat.format($1));}else{this._textfield.setValue(String($1));}if($1==this.getMin()&&!this.getWrap()){this._downbutton.removeState($[14]);this._downbutton.setEnabled(false);this._timer.stop();}else{this._downbutton.resetEnabled();}if($1==this.getMax()&&!this.getWrap()){this._upbutton.removeState($[14]);this._upbutton.setEnabled(false);this._timer.stop();}else{this._upbutton.resetEnabled();}this.createDispatchDataEvent($[107],$1);},_onblur:function($0){this._checkValue(false);},setValue:function($0){this.getManager().setValue(this.getManager().limit($0));},getValue:function(){this._checkValue(true);return this.getManager().getValue();},resetValue:function(){this.getManager().resetValue();},setMax:function($0){return this.getManager().setMax($0);},getMax:function(){return this.getManager().getMax();},setMin:function($0){return this.getManager().setMin($0);},getMin:function(){return this.getManager().getMin();},_intervalIncrease:null,_oninterval:function($0){this._timer.stop();this.setInterval(Math.max(this.getMinTimer(),this.getInterval()-this.getTimerDecrease()));if(this._intervalMode==$[425]){this._pageIncrement();}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount;}this._increment();}var $1=this.getManager().getWrap();switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!$1){return;}case false:if(this.getValue()==this.getMin()&&!$1){return;}}this._timer.restartWith(this.getInterval());},__checkValue:function($0,$1){var $2=this._textfield.getInputElement();if(!$2){return;}if(($2.value==$[0])||($2.value==$[137])){if(!$0){this.resetValue();return;}}else{var $3=$2.value;var $4;if(this._numberFormat){var $5=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this._numberFormat._locale)+$[0]);var $6=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this._numberFormat._locale)+$[0]);$4=$3.replace(new RegExp($6),$[24]);$4=$4.replace(new RegExp($5,$[289]),$[0]);}else{$4=$3;}var $7=parseFloat($4);var $8=this.getManager().limit($7);var $9=this.getManager().getValue();var $a=$8;if(isNaN($7)||($8!=$7)||($7!=$4)){if($1){this._textfield.setValue(this._last_value);}else{if(isNaN($8)){$a=$9;}else{$a=$8;}}}if($1)return;var $b;if(this._numberFormat){$b=this._numberFormat.format($a);}else{$b=String($a);}if(($a===$9)&&($3!==$b)){this._textfield.setValue($b);}this.getManager().setValue($a);}},_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount);}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount);$0=this.getManager().limit($0);this.getManager().setValue($0);}},_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue();}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount());$0=this.getManager().limit($0);this.getManager().setValue($0);}},_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount();this.resetInterval();}},destruct:function(){var $0=this.getManager();if($0){$0.dispose();}this._disposeObjects($[1659],$[754],$[1135],$[1738],$[284]);}}); |
160 |
qx.Class.define($[503],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setValue($2);}this.addEventListener($[105],this._ondblclick);this.initMinWidth();},events:{"action":$[4]},properties:{appearance:{refine:true,init:$[1611]},minWidth:{refine:true,init:$[3]},width:{refine:true,init:null},allowStretchX:{refine:true,init:true},value:{check:$[6],event:$[129]}},members:{handleStateChange:function(){if(this.hasState($[278])){this.setStyleProperty($[216],$[428]);}else{this.setStyleProperty($[216],$[1012]);}},_applyStateStyleFocus:function($0){},matchesString:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase().indexOf($0.toLowerCase())==0;},matchesStringExact:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase()==String($0).toLowerCase();},matchesValue:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase().indexOf($0.toLowerCase())==0;},matchesValueExact:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase()==String($0).toLowerCase();},_ondblclick:function($0){var $1=this.getCommand();if($1){$1.execute();}}}}); |
| 161 |
qx.Interface.define($[469],{properties:{value:{},min:{},max:{},wrap:{}},members:{limit:function($0){return true;}}}); |
161 |
qx.Class.define($[1195],{extend:qx.ui.form.TextField,members:{_inputType:$[1324]}}); |
| 162 |
qx.Class.define($[1279],{extend:qx.core.Target,implement:[qx.util.range.IRange],events:{"change":$[4]},properties:{value:{check:$[1734],nullable:true,event:$[107],init:0},precision:{check:$[5],nullable:true,event:$[107],init:0},min:{check:$[19],apply:$[760],event:$[107],init:0},max:{check:$[19],apply:$[712],event:$[107],init:100},wrap:{check:$[2],init:false}},members:{_applyMax:function($0,$1){this.setValue(Math.min(this.getValue(),$0));},_applyMin:function($0,$1){this.setValue(Math.max(this.getValue(),$0));},limit:function($0){var $1=this.getPrecision();if($1!=null)var $2=Math.pow(10,$1);if(this.getWrap()){if($1!=null){var $0=Math.round($0*$2)/$2;}if($0<this.getMin()){return (this.getMax()-(this.getMin()-$0))+1;}if($0>this.getMax()){return (this.getMin()+($0-this.getMax()))-1;}}if($0<this.getMin()){return this.getMin();}if($0>this.getMax()){return this.getMax();}if($1!=null){return Math.round($0*$2)/$2;}else{return $0;}}}}); |
162 |
qx.Class.define($[1082],{extend:qx.ui.form.CheckBox,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0,$1,$2,$3);this.addEventListener($[37],this._onkeypress);},properties:{appearance:{refine:true,init:$[600]},manager:{check:$[177],nullable:true,apply:$[189]}},members:{INPUT_TYPE:"radio",_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this._iconObject){this._iconObject.setName($0);}if(this.getManager()){this.getManager().setName($0);}},_applyValue:function($0,$1){if(this.isCreated()&&this._iconObject){this._iconObject.setValue($0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[49]&&!$0.isAltPressed()){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[64]:case $[71]:qx.event.handler.FocusHandler.mouseFocus=false;qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectPrevious(this):true;case $[67]:case $[78]:qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectNext(this):true;}},_onclick:function($0){this.setChecked(true);},_onkeyup:function($0){if($0.getKeyIdentifier()==$[86]){this.setChecked(true);}}}}); |
| 163 |
qx.Class.define($[1757],{extend:qx.ui.form.TextField,properties:{appearance:{refine:true,init:$[1587]},allowStretchY:{refine:true,init:true},spellCheck:{refine:true,init:true},wrap:{check:$[2],init:true,apply:$[271]}},members:{_inputTag:$[222],_inputType:null,_inputOverflow:$[3],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);this._styleWrap();},_applyWrap:function($0,$1){this._styleWrap();},_styleWrap:qx.core.Variant.select($[1],{"mshtml":function(){if(this._inputElement){this._inputElement.wrap=this.getWrap()?$[373]:$[55];}},"gecko":function(){if(this._inputElement){var $0=this.getWrap()?$[373]:$[55];var $1=this.getWrap()?$[0]:$[3];this._inputElement.setAttribute($[843],$0);this._inputElement.style.overflow=$1;}},"default":function(){if(this._inputElement){this._inputElement.style.whiteSpace=this.getWrap()?$[156]:$[321];}}}),_computePreferredInnerHeight:function(){return 60;}}}); |
163 |
qx.Class.define($[1171],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2){arguments.callee.base.call(this);if(qx.core.Variant.isSet($[1],$[13])){this.setStyleProperty($[211],$[55]);}this._textfield=new qx.ui.form.TextField;this._textfield.setBorder(null);this._textfield.setWidth($[142]);this._textfield.setAllowStretchY(true);this._textfield.setHeight(null);this._textfield.setLiveUpdate(true);this._textfield.setVerticalAlign($[66]);this._textfield.setAppearance($[1539]);this.add(this._textfield);this._buttonlayout=new qx.ui.layout.VerticalBoxLayout;this._buttonlayout.setWidth($[3]);this.add(this._buttonlayout);this._upbutton=new qx.ui.basic.Image;this._upbutton.setAppearance($[1162]);this._upbutton.setHeight($[142]);this._buttonlayout.add(this._upbutton);this._downbutton=new qx.ui.basic.Image;this._downbutton.setAppearance($[977]);this._downbutton.setHeight($[142]);this._buttonlayout.add(this._downbutton);this._timer=new qx.client.Timer(this.getInterval());this.setManager(new qx.util.range.Range());this.initWrap();this.addEventListener($[37],this._onkeypress,this);this.addEventListener($[12],this._onkeydown,this);this.addEventListener($[85],this._onkeyup,this);this.addEventListener($[184],this._onmousewheel,this);this._textfield.addEventListener($[129],this._ontextchange,this);this._textfield.addEventListener($[89],this._oninput,this);this._textfield.addEventListener($[201],this._onblur,this);this._upbutton.addEventListener($[14],this._onmousedown,this);this._downbutton.addEventListener($[14],this._onmousedown,this);this._timer.addEventListener($[76],this._oninterval,this);if($0!=null){this.setMin($0);}if($2!=null){this.setMax($2);}if($1!=null){this.setValue($1);}this._checkValue=this.__checkValue;this._numberFormat=null;this.initWidth();this.initHeight();this._last_value=$[0];},events:{"change":$[98]},properties:{appearance:{refine:true,init:$[1360]},width:{refine:true,init:60},height:{refine:true,init:22},incrementAmount:{check:$[21],init:1,apply:$[839]},wheelIncrementAmount:{check:$[21],init:1},pageIncrementAmount:{check:$[21],init:10},interval:{check:$[5],init:100},firstInterval:{check:$[5],init:500},minTimer:{check:$[5],init:20},timerDecrease:{check:$[5],init:2},amountGrowth:{check:$[21],init:1.01},wrap:{check:$[2],init:false,apply:$[273]},editable:{check:$[2],init:true,apply:$[326]},manager:{check:$[477],apply:$[189],dispose:true},checkValueFunction:{apply:$[811]},numberFormat:{check:$[703],apply:$[765]},selectTextOnInteract:{check:$[2],init:true}},members:{_applyIncrementAmount:function($0,$1){this._computedIncrementAmount=$0;},_applyEditable:function($0,$1){if(this._textfield){this._textfield.setReadOnly(!$0);}},_applyWrap:function($0,$1){this.getManager().setWrap($0);this._onchange();},_applyManager:function($0,$1){if($1){$1.removeEventListener($[109],this._onchange,this);}if($0){$0.addEventListener($[109],this._onchange,this);}this._onchange();},_applyCheckValueFunction:function($0,$1){this._checkValue=$0;},_applyNumberFormat:function($0,$1){this._numberFormat=$0;this.getManager().setPrecision($0.getMaximumFractionDigits());this._onchange();},_computePreferredInnerWidth:function(){return 50;},_computePreferredInnerHeight:function(){return 14;},_onkeypress:function($0){var $1=$0.getKeyIdentifier();if($1==$[49]&&!$0.isAltPressed()){this._checkValue(true,false);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}}else{switch($1){case $[71]:case $[78]:case $[64]:case $[67]:case $[146]:case $[130]:case $[140]:case $[114]:case $[171]:case $[192]:case $[204]:case $[153]:case $[164]:case $[88]:case $[100]:case $[132]:case $[188]:break;default:if(($1>=$[45]&&$1<=$[174])||($1==$[1045])){return;}if(this._numberFormat){var $2=this._numberFormat._locale;if(($1==qx.locale.Number.getGroupSeparator($2))||($1==qx.locale.Number.getDecimalSeparator($2)))return;}if($0.getModifiers()==0){$0.preventDefault();}}}},_onkeydown:function($0){var $1=$0.getKeyIdentifier();if(this._intervalIncrease==null){switch($1){case $[71]:case $[78]:this._intervalIncrease=$1==$[71];this._intervalMode=$[923];this._resetIncrements();this._checkValue(true,false);this._increment();this._timer.startWith(this.getFirstInterval());break;case $[88]:case $[100]:this._intervalIncrease=$1==$[88];this._intervalMode=$[433];this._resetIncrements();this._checkValue(true,false);this._pageIncrement();this._timer.startWith(this.getFirstInterval());break;}}},_onkeyup:function($0){if(this._intervalIncrease!=null){switch($0.getKeyIdentifier()){case $[71]:case $[78]:case $[88]:case $[100]:this._timer.stop();this._intervalIncrease=null;this._intervalMode=null;}}},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}this._checkValue(true);var $1=$0.getCurrentTarget();$1.addState($[15]);$1.addEventListener($[25],this._onmouseup,this);$1.addEventListener($[106],this._onmouseup,this);this._intervalIncrease=$1==this._upbutton;this._resetIncrements();this._increment();if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._timer.setInterval(this.getFirstInterval());this._timer.start();},_onmouseup:function($0){var $1=$0.getCurrentTarget();$1.removeState($[15]);$1.removeEventListener($[25],this._onmouseup,this);$1.removeEventListener($[106],this._onmouseup,this);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._textfield.setFocused(true);this._timer.stop();this._intervalIncrease=null;},_onmousewheel:function($0){this._checkValue(true);if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*$0.getWheelDelta());}else{var $1=this.getManager().getValue()+(this.getWheelIncrementAmount()*$0.getWheelDelta());$1=this.getManager().limit($1);this.getManager().setValue($1);}this._textfield.selectAll();},_ontextchange:function($0){this._last_value=$0.getOldValue();},_oninput:function($0){this._checkValue(true,true);},_onchange:function($0){var $1=this.getManager().getValue();if(this._numberFormat){this._textfield.setValue(this._numberFormat.format($1));}else{this._textfield.setValue(String($1));}if($1==this.getMin()&&!this.getWrap()){this._downbutton.removeState($[15]);this._downbutton.setEnabled(false);this._timer.stop();}else{this._downbutton.resetEnabled();}if($1==this.getMax()&&!this.getWrap()){this._upbutton.removeState($[15]);this._upbutton.setEnabled(false);this._timer.stop();}else{this._upbutton.resetEnabled();}this.createDispatchDataEvent($[109],$1);},_onblur:function($0){this._checkValue(false);},setValue:function($0){this.getManager().setValue(this.getManager().limit($0));},getValue:function(){this._checkValue(true);return this.getManager().getValue();},resetValue:function(){this.getManager().resetValue();},setMax:function($0){return this.getManager().setMax($0);},getMax:function(){return this.getManager().getMax();},setMin:function($0){return this.getManager().setMin($0);},getMin:function(){return this.getManager().getMin();},_intervalIncrease:null,_oninterval:function($0){this._timer.stop();this.setInterval(Math.max(this.getMinTimer(),this.getInterval()-this.getTimerDecrease()));if(this._intervalMode==$[433]){this._pageIncrement();}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount;}this._increment();}var $1=this.getManager().getWrap();switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!$1){return;}case false:if(this.getValue()==this.getMin()&&!$1){return;}}this._timer.restartWith(this.getInterval());},__checkValue:function($0,$1){var $2=this._textfield.getInputElement();if(!$2){return;}if(($2.value==$[0])||($2.value==$[141])){if(!$0){this.resetValue();return;}}else{var $3=$2.value;var $4;if(this._numberFormat){var $5=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this._numberFormat._locale)+$[0]);var $6=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this._numberFormat._locale)+$[0]);$4=$3.replace(new RegExp($5,$[292]),$[0]);$4=$4.replace(new RegExp($6),$[24]);}else{$4=$3;}var $7=parseFloat($4);var $8=this.getManager().limit($7);var $9=this.getManager().getValue();var $a=$8;if(isNaN($7)||($8!=$7)||($7!=$4)){if($1){this._textfield.setValue(this._last_value);}else{if(isNaN($8)){$a=$9;}else{$a=$8;}}}if($1)return;var $b;if(this._numberFormat){$b=this._numberFormat.format($a);}else{$b=String($a);}if(($a===$9)&&($3!==$b)){this._textfield.setValue($b);}this.getManager().setValue($a);}},_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount);}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount);$0=this.getManager().limit($0);this.getManager().setValue($0);}},_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue();}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount());$0=this.getManager().limit($0);this.getManager().setValue($0);}},_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount();this.resetInterval();}},destruct:function(){var $0=this.getManager();if($0){$0.dispose();}this._disposeObjects($[1680],$[766],$[1153],$[1758],$[287]);}}); |
| 164 |
qx.Class.define($[1071],{extend:qx.ui.layout.CanvasLayout,construct:function($0,$1){arguments.callee.base.call(this);this._createFrameObject();this._createLegendObject();this.setLegend($0||$[0]);if($1!=null){this.setIcon($1);}this.remapChildrenHandlingTo(this._frameObject);},properties:{appearance:{refine:true,init:$[1009]}},members:{_createLegendObject:function(){this._legendObject=new qx.ui.basic.Atom;this._legendObject.setAppearance($[1217]);this.add(this._legendObject);},_createFrameObject:function(){this._frameObject=new qx.ui.layout.CanvasLayout;this._frameObject.setAppearance($[1760]);this.add(this._frameObject);},getFrameObject:function(){return this._frameObject;},getLegendObject:function(){return this._legendObject;},setLegend:function($0){if($0!==$[0]&&$0!==null){this._legendObject.setLabel($0);this._legendObject.setDisplay(true);}else{this._legendObject.setDisplay(false);}},getLegend:function(){return this._legendObject.getLabel();},setIcon:function($0){this._legendObject.setIcon($0);},getIcon:function(){this._legendObject.getIcon();}},destruct:function(){this._disposeObjects($[1220],$[1799]);}}); |
164 |
qx.Interface.define($[477],{properties:{value:{},min:{},max:{},wrap:{}},members:{limit:function($0){return true;}}}); |
| 165 |
qx.Class.define($[1407],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2,$3){arguments.callee.base.call(this);var $4=this._iconObject=new qx.ui.basic.Image;$4.setWidth(16);$4.setAnonymous(true);var $5=this._labelObject=new qx.ui.basic.Label;$5.setAnonymous(true);$5.setSelectable(false);var $6=this._shortcutObject=new qx.ui.basic.Label;$6.setAnonymous(true);$6.setSelectable(false);var $7=this._arrowObject=new qx.ui.basic.Image;$7.setAppearance($[536]);$7.setAnonymous(true);if($0!=null){this.setLabel($0);}if($1!=null){this.setIcon($1);}if($2!=null){this.setCommand($2);qx.locale.Manager.getInstance().addEventListener($[220],function($8){this._applyCommand($2,$2);},this);}if($3!=null){this.setMenu($3);}this.initMinWidth();this.initHeight();this.addEventListener($[22],this._onmouseup);},properties:{allowStretchX:{refine:true,init:true},appearance:{refine:true,init:$[1254]},minWidth:{refine:true,init:$[3]},height:{refine:true,init:$[3]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},label:{apply:$[256],nullable:true,dispose:true},menu:{check:$[160],nullable:true,apply:$[449]}},members:{_hasIcon:false,_hasLabel:false,_hasShortcut:false,_hasMenu:false,hasIcon:function(){return this._hasIcon;},hasLabel:function(){return this._hasLabel;},hasShortcut:function(){return this._hasShortcut;},hasMenu:function(){return this._hasMenu;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},getShortcutObject:function(){return this._shortcutObject;},getArrowObject:function(){return this._arrowObject;},getParentMenu:function(){var $0=this.getParent();if($0){$0=$0.getParent();if($0&&$0 instanceof qx.ui.menu.Menu){return $0;}}return null;},_createLayoutImpl:function(){return new qx.ui.menu.ButtonLayoutImpl(this);},_applyIcon:function($0,$1){this._iconObject.setSource($0);if($0&&$0!==$[0]){this._hasIcon=true;if(!$1||$1===$[0]){this.addAtBegin(this._iconObject);}}else{this._hasIcon=false;this.remove(this._iconObject);}},_applyLabel:function($0,$1){this._labelObject.setText($0);if($0&&$0!==$[0]){this._hasLabel=true;if(!$1||$1===$[0]){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0);}}else{this._hasLabel=false;this.remove(this._labelObject);}},_applyCommand:function($0,$1){var $2=$0?$0.toString():$[0];this._shortcutObject.setText($2);if(qx.util.Validation.isValidString($2)){this._hasShortcut=true;var $3=$1?$1.toString():$[0];if(qx.util.Validation.isInvalidString($3)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject);}else{this.addAtEnd(this._shortcutObject);}}}else{this._hasShortcut=false;this.remove(this._shortcutObject);}},_applyMenu:function($0,$1){if($0){this._hasMenu=true;if(qx.util.Validation.isInvalidObject($1)){this.addAtEnd(this._arrowObject);}}else{this._hasMenu=false;this.remove(this._arrowObject);}},_onmouseup:function($0){this.execute();}},destruct:function(){this._disposeObjects($[297],$[249],$[1696],$[1494]);}}); |
165 |
qx.Class.define($[1301],{extend:qx.core.Target,implement:[qx.util.range.IRange],events:{"change":$[4]},properties:{value:{check:$[1754],nullable:true,event:$[109],init:0},precision:{check:$[5],nullable:true,event:$[109],init:0},min:{check:$[21],apply:$[772],event:$[109],init:0},max:{check:$[21],apply:$[723],event:$[109],init:100},wrap:{check:$[2],init:false}},members:{_applyMax:function($0,$1){this.setValue(Math.min(this.getValue(),$0));},_applyMin:function($0,$1){this.setValue(Math.max(this.getValue(),$0));},limit:function($0){var $1=this.getPrecision();if($1!=null)var $2=Math.pow(10,$1);if(this.getWrap()){if($1!=null){var $0=Math.round($0*$2)/$2;}if($0<this.getMin()){return (this.getMax()-(this.getMin()-$0))+1;}if($0>this.getMax()){return (this.getMin()+($0-this.getMax()))-1;}}if($0<this.getMin()){return this.getMin();}if($0>this.getMax()){return this.getMax();}if($1!=null){return Math.round($0*$2)/$2;}else{return $0;}}}}); |
| 166 |
qx.Class.define($[160],{extend:qx.ui.popup.Popup,construct:function(){arguments.callee.base.call(this);var $0=this._layout=new qx.ui.menu.Layout;$0.setEdge(0);this.add($0);this.initOpenInterval();this.initCloseInterval();this.addEventListener($[61],this._onmouseover);this.addEventListener($[148],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.remapChildrenHandlingTo(this._layout);this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1457]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},iconContentGap:{check:$[5],themeable:true,init:4},labelShortcutGap:{check:$[5],themeable:true,init:10},contentArrowGap:{check:$[5],themeable:true,init:8},contentNonIconPadding:{check:$[5],themeable:true,init:20},contentNonArrowPadding:{check:$[5],themeable:true,init:8},hoverItem:{check:$[66],nullable:true,apply:$[1109]},openItem:{check:$[66],nullable:true,apply:$[1665]},opener:{check:$[66],nullable:true},parentMenu:{check:$[160],nullable:true},fastReopen:{check:$[2],init:false},openInterval:{check:$[5],themeable:true,init:250,apply:$[883]},closeInterval:{check:$[5],themeable:true,init:250,apply:$[980]},subMenuHorizontalOffset:{check:$[5],themeable:true,init:-3},subMenuVerticalOffset:{check:$[5],themeable:true,init:-2},indentShortcuts:{check:$[2],init:true},maxIconWidth:{_cached:true},maxLabelWidth:{_cached:true},maxLabelWidthIncShortcut:{_cached:true},maxShortcutWidth:{_cached:true},maxArrowWidth:{_cached:true},maxContentWidth:{_cached:true},iconPosition:{_cached:true,defaultValue:0},labelPosition:{_cached:true},shortcutPosition:{_cached:true},arrowPosition:{_cached:true},menuButtonNeededWidth:{_cached:true}},members:{_remappingChildTable:[$[422],$[387],$[407],$[486],$[317],$[515],$[464],$[327],$[322],$[1641],$[807],$[1726],$[1036]],_isFocusRoot:false,getLayout:function(){return this._layout;},isSubElement:function($0,$1){if(($0.getParent()===this._layout)||((!$1)&&($0===this))){return true;}for(var $2=this._layout.getChildren(),$3=$2.length,$4=0;$4<$3;$4++){if($2[$4].getMenu&&$2[$4].getMenu()&&$2[$4].getMenu().isSubElement($0,$1)){return true;}}return false;},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.menu.Manager.getInstance().add(this);this.bringToFront();this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);qx.ui.menu.Manager.getInstance().remove(this);this._makeInactive();this.setHoverItem(null);this.setOpenItem(null);var $0=this.getOpener();if($0){$0.removeState($[14]);}},_applyOpenInterval:function($0,$1){if(!this._openTimer){this._openTimer=new qx.client.Timer($0);this._openTimer.addEventListener($[86],this._onopentimer,this);}else{this._openTimer.setInterval($0);}},_applyCloseInterval:function($0,$1){if(!this._closeTimer){this._closeTimer=new qx.client.Timer(this.getCloseInterval());this._closeTimer.addEventListener($[86],this._onclosetimer,this);}else{this._closeTimer.setInterval($0);}},_applyHoverItem:function($0,$1){if($1){$1.removeState($[43]);}if($0){$0.addState($[43]);}},_applyOpenItem:function($0,$1){if($1){var $2=$1.getMenu();if($2){$2.setParentMenu(null);$2.setOpener(null);$2.hide();}}if($0){var $3=$0.getMenu();if($3){$3.setOpener($0);$3.setParentMenu(this);var $4=$0.getElement();var $5=this.getElement();$3.setTop(qx.bom.element.Location.getTop($4)+this.getSubMenuVerticalOffset());$3.setLeft(qx.bom.element.Location.getLeft($5)+qx.html.Dimension.getBoxWidth($5)+this.getSubMenuHorizontalOffset());$3.show();}}},_computeMaxIconWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasIcon()){$3=Math.max($3,16);}}return $3;},_computeMaxLabelWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxLabelWidthIncShortcut:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()&&$2.hasShortcut()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxShortcutWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasShortcut()){$3=Math.max($3,$2.getShortcutObject().getPreferredBoxWidth());}}return $3;},_computeMaxArrowWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasMenu()){$3=Math.max($3,4);}}return $3;},_computeMaxContentWidth:function(){var $0;var $1=this.getMaxLabelWidth();var $2=this.getMaxShortcutWidth();if(this.getIndentShortcuts()){var $3=$2+this.getMaxLabelWidthIncShortcut();if($2>0){$3+=this.getLabelShortcutGap();}$0=Math.max($1,$3);}else{$0=$1+$2;if($1>0&&$2>0){$0+=this.getLabelShortcutGap();}}return $0;},_computeIconPosition:function(){return 0;},_computeLabelPosition:function(){var $0=this.getMaxIconWidth();return $0>0?$0+this.getIconContentGap():this.getContentNonIconPadding();},_computeShortcutPosition:function(){return this.getLabelPosition()+this.getMaxContentWidth()-this.getMaxShortcutWidth();},_computeArrowPosition:function(){var $0=this.getMaxContentWidth();return this.getLabelPosition()+($0>0?$0+this.getContentArrowGap():$0);},_invalidateMaxIconWidth:function(){this._cachedMaxIconWidth=null;this._invalidateLabelPosition();this._invalidateMenuButtonNeededWidth();},_invalidateMaxLabelWidth:function(){this._cachedMaxLabelWidth=null;this._cachedMaxArrowWidth=null;this._invalidateShortcutPosition();this._invalidateMaxLabelWidthIncShortcut();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateMaxShortcutWidth:function(){this._cachedMaxShortcutWidth=null;this._invalidateArrowPosition();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateLabelPosition:function(){this._cachedLabelPosition=null;this._invalidateShortcutPosition();},_invalidateShortcutPosition:function(){this._cachedShortcutPosition=null;this._invalidateArrowPosition();},_computeMenuButtonNeededWidth:function(){var $0=0;var $1=this.getMaxIconWidth();var $2=this.getMaxContentWidth();var $3=this.getMaxArrowWidth();if($1>0){$0+=$1;}else{$0+=this.getContentNonIconPadding();}if($2>0){if($1>0){$0+=this.getIconContentGap();}$0+=$2;}if($3>0){if($1>0||$2>0){$0+=this.getContentArrowGap();}$0+=$3;}else{$0+=this.getContentNonArrowPadding();}return $0;},_onmouseover:function($0){var $1=this.getParentMenu();if($1){$1._closeTimer.stop();var $2=this.getOpener();if($2){$1.setHoverItem($2);}}var $3=$0.getTarget();if($3==this){this._openTimer.stop();this._closeTimer.start();this.setHoverItem(null);return;}var $4=this.getOpenItem();if($4){this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){if(this.getFastReopen()){this.setOpenItem($3);this._closeTimer.stop();}else{this._openTimer.start();}}else{this._closeTimer.start();}}else{this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){this._openTimer.start();}}},_onmouseout:function($0){this._openTimer.stop();var $1=$0.getTarget();if($1!=this&&$1.hasMenu()){this._closeTimer.start();}this.setHoverItem(null);},_onopentimer:function($0){this._openTimer.stop();var $1=this.getHoverItem();if($1&&$1.hasMenu()){this.setOpenItem($1);}},_onclosetimer:function($0){this._closeTimer.stop();this.setOpenItem(null);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]){this._onkeydown_enter($0);}$0.preventDefault();},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[69]:this._onkeypress_up($0);break;case $[76]:this._onkeypress_down($0);break;case $[60]:this._onkeypress_left($0);break;case $[64]:this._onkeypress_right($0);break;default:return;}$0.preventDefault();},_onkeypress_up:function($0){var $1=this.getHoverItem();var $2=$1?$1.isFirstChild()?this.getLastActiveChild():$1.getPreviousActiveSibling([qx.ui.menu.Separator]):this.getLastActiveChild();this.setHoverItem($2);},_onkeypress_down:function($0){var $1=this.getHoverItem();var $2=$1?$1.isLastChild()?this.getFirstActiveChild():$1.getNextActiveSibling([qx.ui.menu.Separator]):this.getFirstActiveChild();this.setHoverItem($2);},_onkeypress_left:function($0){var $1=this.getOpener();if($1 instanceof qx.ui.menu.Button){var $2=this.getOpener().getParentMenu();$2.setOpenItem(null);$2.setHoverItem($1);$2._makeActive();}else if($1 instanceof qx.ui.toolbar.MenuButton){var $3=$1.getParentToolBar();this.getFocusRoot().setActiveChild($3);$3._onkeypress($0);}},_onkeypress_right:function($0){var $1=this.getHoverItem();if($1){var $2=$1.getMenu();if($2){this.setOpenItem($1);$2.setHoverItem($2.getFirstActiveChild());return;}}else if(!this.getOpenItem()){var $3=this.getLayout().getFirstActiveChild();if($3){$3.hasMenu()?this.setOpenItem($3):this.setHoverItem($3);}}var $4=this.getOpener();if($4 instanceof qx.ui.toolbar.MenuButton){var $5=$4.getParentToolBar();this.getFocusRoot().setActiveChild($5);$5._onkeypress($0);}else if($4 instanceof qx.ui.menu.Button&&$1){var $6=$4.getParentMenu();while($6&&$6 instanceof qx.ui.menu.Menu){$4=$6.getOpener();if($4 instanceof qx.ui.menu.Button){$6=$4.getParentMenu();}else{if($4){$6=$4.getParent();}break;}}if($6 instanceof qx.ui.toolbar.Part){$6=$6.getParent();}if($6 instanceof qx.ui.toolbar.ToolBar){this.getFocusRoot().setActiveChild($6);$6._onkeypress($0);}}},_onkeydown_enter:function($0){var $1=this.getHoverItem();if($1){$1.execute();}qx.ui.menu.Manager.getInstance().update();}},destruct:function(){this.hide();this._disposeObjects($[1000],$[703],$[343]);}}); |
166 |
qx.Class.define($[1777],{extend:qx.ui.form.TextField,properties:{appearance:{refine:true,init:$[1609]},allowStretchY:{refine:true,init:true},spellCheck:{refine:true,init:true},wrap:{check:$[2],init:true,apply:$[273]}},members:{_inputTag:$[225],_inputType:null,_inputOverflow:$[3],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);this._styleWrap();},_applyWrap:function($0,$1){this._styleWrap();},_styleWrap:qx.core.Variant.select($[1],{"mshtml":function(){if(this._inputElement){this._inputElement.wrap=this.getWrap()?$[378]:$[59];}},"gecko":function(){if(this._inputElement){var $0=this.getWrap()?$[378]:$[59];var $1=this.getWrap()?$[0]:$[3];this._inputElement.setAttribute($[859],$0);this._inputElement.style.overflow=$1;}},"default":function(){if(this._inputElement){this._inputElement.style.whiteSpace=this.getWrap()?$[158]:$[327];}}}),_computePreferredInnerHeight:function(){return 60;}}}); |
| 167 |
qx.Class.define($[1471],{extend:qx.ui.layout.VerticalBoxLayout,properties:{anonymous:{refine:true,init:true},appearance:{refine:true,init:$[570]}},members:{_createLayoutImpl:function(){return new qx.ui.menu.MenuLayoutImpl(this);}}}); |
167 |
qx.Class.define($[1089],{extend:qx.ui.layout.CanvasLayout,construct:function($0,$1){arguments.callee.base.call(this);this._createFrameObject();this._createLegendObject();this.setLegend($0||$[0]);if($1!=null){this.setIcon($1);}this.remapChildrenHandlingTo(this._frameObject);},properties:{appearance:{refine:true,init:$[1027]}},members:{_createLegendObject:function(){this._legendObject=new qx.ui.basic.Atom;this._legendObject.setAppearance($[1240]);this.add(this._legendObject);},_createFrameObject:function(){this._frameObject=new qx.ui.layout.CanvasLayout;this._frameObject.setAppearance($[1780]);this.add(this._frameObject);},getFrameObject:function(){return this._frameObject;},getLegendObject:function(){return this._legendObject;},setLegend:function($0){if($0!==$[0]&&$0!==null){this._legendObject.setLabel($0);this._legendObject.setDisplay(true);}else{this._legendObject.setDisplay(false);}},getLegend:function(){return this._legendObject.getLabel();},setIcon:function($0){this._legendObject.setIcon($0);},getIcon:function(){this._legendObject.getIcon();}},destruct:function(){this._disposeObjects($[1243],$[1819]);}}); |
| 168 |
qx.Class.define($[634],{extend:qx.ui.layout.impl.VerticalBoxLayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);this.setEnableFlexSupport(false);},members:{updateChildrenOnJobQueueFlush:function($0){var $1=this.getWidget();var $2,$3;if($0.preferredInnerWidth){var $2=$1.getChildren(),$4=$2.length,$3;var $5,$6;for(var $7=0;$7<$4;$7++){$3=$2[$7];$5=$3.getChildren();$6=$5.length;for(var $8=0;$8<$6;$8++){$5[$8].addToLayoutChanges($[100]);}}}return arguments.callee.base.call(this,$0);}}}); |
168 |
qx.Class.define($[1425],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2,$3){arguments.callee.base.call(this);var $4=this._iconObject=new qx.ui.basic.Image;$4.setWidth(16);$4.setAnonymous(true);var $5=this._labelObject=new qx.ui.basic.Label;$5.setAnonymous(true);$5.setSelectable(false);var $6=this._shortcutObject=new qx.ui.basic.Label;$6.setAnonymous(true);$6.setSelectable(false);var $7=this._arrowObject=new qx.ui.basic.Image;$7.setAppearance($[544]);$7.setAnonymous(true);if($0!=null){this.setLabel($0);}if($1!=null){this.setIcon($1);}if($2!=null){this.setCommand($2);qx.locale.Manager.getInstance().addEventListener($[223],function($8){this._applyCommand($2,$2);},this);}if($3!=null){this.setMenu($3);}this.initMinWidth();this.initHeight();this.addEventListener($[25],this._onmouseup);},properties:{allowStretchX:{refine:true,init:true},appearance:{refine:true,init:$[1277]},minWidth:{refine:true,init:$[3]},height:{refine:true,init:$[3]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},label:{apply:$[257],nullable:true,dispose:true},menu:{check:$[161],nullable:true,apply:$[457]}},members:{_hasIcon:false,_hasLabel:false,_hasShortcut:false,_hasMenu:false,hasIcon:function(){return this._hasIcon;},hasLabel:function(){return this._hasLabel;},hasShortcut:function(){return this._hasShortcut;},hasMenu:function(){return this._hasMenu;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},getShortcutObject:function(){return this._shortcutObject;},getArrowObject:function(){return this._arrowObject;},getParentMenu:function(){var $0=this.getParent();if($0){$0=$0.getParent();if($0&&$0 instanceof qx.ui.menu.Menu){return $0;}}return null;},_createLayoutImpl:function(){return new qx.ui.menu.ButtonLayoutImpl(this);},_applyIcon:function($0,$1){this._iconObject.setSource($0);if($0&&$0!==$[0]){this._hasIcon=true;if(!$1||$1===$[0]){this.addAtBegin(this._iconObject);}}else{this._hasIcon=false;this.remove(this._iconObject);}},_applyLabel:function($0,$1){this._labelObject.setText($0);if($0&&$0!==$[0]){this._hasLabel=true;if(!$1||$1===$[0]){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0);}}else{this._hasLabel=false;this.remove(this._labelObject);}},_applyCommand:function($0,$1){var $2=$0?$0.toString():$[0];this._shortcutObject.setText($2);if(qx.util.Validation.isValidString($2)){this._hasShortcut=true;var $3=$1?$1.toString():$[0];if(qx.util.Validation.isInvalidString($3)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject);}else{this.addAtEnd(this._shortcutObject);}}}else{this._hasShortcut=false;this.remove(this._shortcutObject);}},_applyMenu:function($0,$1){if($0){this._hasMenu=true;if(qx.util.Validation.isInvalidObject($1)){this.addAtEnd(this._arrowObject);}}else{this._hasMenu=false;this.remove(this._arrowObject);}},_onmouseup:function($0){this.execute();}},destruct:function(){this._disposeObjects($[301],$[251],$[1717],$[1515]);}}); |
| 169 |
qx.Class.define($[609],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.initHeight();this.setStyleProperty($[210],$[41]);this.setStyleProperty($[522],$[41]);this._line=new qx.ui.basic.Terminator;this._line.setAnonymous(true);this._line.setAppearance($[1405]);this.add(this._line);this.addEventListener($[12],this._onmousedown);},properties:{height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1368]}},members:{hasIcon:qx.lang.Function.returnFalse,hasLabel:qx.lang.Function.returnFalse,hasShortcut:qx.lang.Function.returnFalse,hasMenu:qx.lang.Function.returnFalse,_onmousedown:function($0){$0.stopPropagation();}},destruct:function(){this._disposeObjects($[1612]);}}); |
169 |
qx.Class.define($[161],{extend:qx.ui.popup.Popup,construct:function(){arguments.callee.base.call(this);var $0=this._layout=new qx.ui.menu.Layout;$0.setEdge(0);this.add($0);this.initOpenInterval();this.initCloseInterval();this.addEventListener($[65],this._onmouseover);this.addEventListener($[151],this._onmouseover);this.addEventListener($[106],this._onmouseout);this.addEventListener($[12],this._onkeydown);this.addEventListener($[37],this._onkeypress);this.remapChildrenHandlingTo(this._layout);this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1477]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},iconContentGap:{check:$[5],themeable:true,init:4},labelShortcutGap:{check:$[5],themeable:true,init:10},contentArrowGap:{check:$[5],themeable:true,init:8},contentNonIconPadding:{check:$[5],themeable:true,init:20},contentNonArrowPadding:{check:$[5],themeable:true,init:8},hoverItem:{check:$[69],nullable:true,apply:$[1127]},openItem:{check:$[69],nullable:true,apply:$[1686]},opener:{check:$[69],nullable:true},parentMenu:{check:$[161],nullable:true},fastReopen:{check:$[2],init:false},openInterval:{check:$[5],themeable:true,init:250,apply:$[901]},closeInterval:{check:$[5],themeable:true,init:250,apply:$[999]},subMenuHorizontalOffset:{check:$[5],themeable:true,init:-3},subMenuVerticalOffset:{check:$[5],themeable:true,init:-2},indentShortcuts:{check:$[2],init:true},maxIconWidth:{_cached:true},maxLabelWidth:{_cached:true},maxLabelWidthIncShortcut:{_cached:true},maxShortcutWidth:{_cached:true},maxArrowWidth:{_cached:true},maxContentWidth:{_cached:true},iconPosition:{_cached:true,defaultValue:0},labelPosition:{_cached:true},shortcutPosition:{_cached:true},arrowPosition:{_cached:true},menuButtonNeededWidth:{_cached:true}},members:{_remappingChildTable:[$[431],$[392],$[414],$[494],$[323],$[522],$[471],$[333],$[328],$[1664],$[823],$[1746],$[1054]],_isFocusRoot:false,getLayout:function(){return this._layout;},isSubElement:function($0,$1){if(($0.getParent()===this._layout)||((!$1)&&($0===this))){return true;}for(var $2=this._layout.getChildren(),$3=$2.length,$4=0;$4<$3;$4++){if($2[$4].getMenu&&$2[$4].getMenu()&&$2[$4].getMenu().isSubElement($0,$1)){return true;}}return false;},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.menu.Manager.getInstance().add(this);this.bringToFront();this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);qx.ui.menu.Manager.getInstance().remove(this);this._makeInactive();this.setHoverItem(null);this.setOpenItem(null);var $0=this.getOpener();if($0){$0.removeState($[15]);}},_applyOpenInterval:function($0,$1){if(!this._openTimer){this._openTimer=new qx.client.Timer($0);this._openTimer.addEventListener($[76],this._onopentimer,this);}else{this._openTimer.setInterval($0);}},_applyCloseInterval:function($0,$1){if(!this._closeTimer){this._closeTimer=new qx.client.Timer(this.getCloseInterval());this._closeTimer.addEventListener($[76],this._onclosetimer,this);}else{this._closeTimer.setInterval($0);}},_applyHoverItem:function($0,$1){if($1){$1.removeState($[44]);}if($0){$0.addState($[44]);}},_applyOpenItem:function($0,$1){if($1){var $2=$1.getMenu();if($2){$2.setParentMenu(null);$2.setOpener(null);$2.hide();}}if($0){var $3=$0.getMenu();if($3){$3.setOpener($0);$3.setParentMenu(this);var $4=$0.getElement();var $5=this.getElement();$3.setTop(qx.bom.element.Location.getTop($4)+this.getSubMenuVerticalOffset());$3.setLeft(qx.bom.element.Location.getLeft($5)+qx.html.Dimension.getBoxWidth($5)+this.getSubMenuHorizontalOffset());$3.show();}}},_computeMaxIconWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasIcon()){$3=Math.max($3,16);}}return $3;},_computeMaxLabelWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxLabelWidthIncShortcut:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()&&$2.hasShortcut()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxShortcutWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasShortcut()){$3=Math.max($3,$2.getShortcutObject().getPreferredBoxWidth());}}return $3;},_computeMaxArrowWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasMenu()){$3=Math.max($3,4);}}return $3;},_computeMaxContentWidth:function(){var $0;var $1=this.getMaxLabelWidth();var $2=this.getMaxShortcutWidth();if(this.getIndentShortcuts()){var $3=$2+this.getMaxLabelWidthIncShortcut();if($2>0){$3+=this.getLabelShortcutGap();}$0=Math.max($1,$3);}else{$0=$1+$2;if($1>0&&$2>0){$0+=this.getLabelShortcutGap();}}return $0;},_computeIconPosition:function(){return 0;},_computeLabelPosition:function(){var $0=this.getMaxIconWidth();return $0>0?$0+this.getIconContentGap():this.getContentNonIconPadding();},_computeShortcutPosition:function(){return this.getLabelPosition()+this.getMaxContentWidth()-this.getMaxShortcutWidth();},_computeArrowPosition:function(){var $0=this.getMaxContentWidth();return this.getLabelPosition()+($0>0?$0+this.getContentArrowGap():$0);},_invalidateMaxIconWidth:function(){this._cachedMaxIconWidth=null;this._invalidateLabelPosition();this._invalidateMenuButtonNeededWidth();},_invalidateMaxLabelWidth:function(){this._cachedMaxLabelWidth=null;this._cachedMaxArrowWidth=null;this._invalidateShortcutPosition();this._invalidateMaxLabelWidthIncShortcut();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateMaxShortcutWidth:function(){this._cachedMaxShortcutWidth=null;this._invalidateArrowPosition();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateLabelPosition:function(){this._cachedLabelPosition=null;this._invalidateShortcutPosition();},_invalidateShortcutPosition:function(){this._cachedShortcutPosition=null;this._invalidateArrowPosition();},_computeMenuButtonNeededWidth:function(){var $0=0;var $1=this.getMaxIconWidth();var $2=this.getMaxContentWidth();var $3=this.getMaxArrowWidth();if($1>0){$0+=$1;}else{$0+=this.getContentNonIconPadding();}if($2>0){if($1>0){$0+=this.getIconContentGap();}$0+=$2;}if($3>0){if($1>0||$2>0){$0+=this.getContentArrowGap();}$0+=$3;}else{$0+=this.getContentNonArrowPadding();}return $0;},_onmouseover:function($0){var $1=this.getParentMenu();if($1){$1._closeTimer.stop();var $2=this.getOpener();if($2){$1.setHoverItem($2);}}var $3=$0.getTarget();if($3==this){this._openTimer.stop();this._closeTimer.start();this.setHoverItem(null);return;}var $4=this.getOpenItem();if($4){this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){if(this.getFastReopen()){this.setOpenItem($3);this._closeTimer.stop();}else{this._openTimer.start();}}else{this._closeTimer.start();}}else{this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){this._openTimer.start();}}},_onmouseout:function($0){this._openTimer.stop();var $1=$0.getTarget();if($1!=this&&$1.hasMenu()){this._closeTimer.start();}this.setHoverItem(null);},_onopentimer:function($0){this._openTimer.stop();var $1=this.getHoverItem();if($1&&$1.hasMenu()){this.setOpenItem($1);}},_onclosetimer:function($0){this._closeTimer.stop();this.setOpenItem(null);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[49]){this._onkeydown_enter($0);}$0.preventDefault();},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[71]:this._onkeypress_up($0);break;case $[78]:this._onkeypress_down($0);break;case $[64]:this._onkeypress_left($0);break;case $[67]:this._onkeypress_right($0);break;default:return;}$0.preventDefault();},_onkeypress_up:function($0){var $1=this.getHoverItem();var $2=$1?$1.isFirstChild()?this.getLastActiveChild():$1.getPreviousActiveSibling([qx.ui.menu.Separator]):this.getLastActiveChild();this.setHoverItem($2);},_onkeypress_down:function($0){var $1=this.getHoverItem();var $2=$1?$1.isLastChild()?this.getFirstActiveChild():$1.getNextActiveSibling([qx.ui.menu.Separator]):this.getFirstActiveChild();this.setHoverItem($2);},_onkeypress_left:function($0){var $1=this.getOpener();if($1 instanceof qx.ui.menu.Button){var $2=this.getOpener().getParentMenu();$2.setOpenItem(null);$2.setHoverItem($1);$2._makeActive();}else if($1 instanceof qx.ui.toolbar.MenuButton){var $3=$1.getParentToolBar();this.getFocusRoot().setActiveChild($3);$3._onkeypress($0);}},_onkeypress_right:function($0){var $1=this.getHoverItem();if($1){var $2=$1.getMenu();if($2){this.setOpenItem($1);$2.setHoverItem($2.getFirstActiveChild());return;}}else if(!this.getOpenItem()){var $3=this.getLayout().getFirstActiveChild();if($3){$3.hasMenu()?this.setOpenItem($3):this.setHoverItem($3);}}var $4=this.getOpener();if($4 instanceof qx.ui.toolbar.MenuButton){var $5=$4.getParentToolBar();this.getFocusRoot().setActiveChild($5);$5._onkeypress($0);}else if($4 instanceof qx.ui.menu.Button&&$1){var $6=$4.getParentMenu();while($6&&$6 instanceof qx.ui.menu.Menu){$4=$6.getOpener();if($4 instanceof qx.ui.menu.Button){$6=$4.getParentMenu();}else{if($4){$6=$4.getParent();}break;}}if($6 instanceof qx.ui.toolbar.Part){$6=$6.getParent();}if($6 instanceof qx.ui.toolbar.ToolBar){this.getFocusRoot().setActiveChild($6);$6._onkeypress($0);}}},_onkeydown_enter:function($0){var $1=this.getHoverItem();if($1){$1.execute();}qx.ui.menu.Manager.getInstance().update();}},destruct:function(){this.hide();this._disposeObjects($[1018],$[714],$[350]);}}); |
| 170 |
qx.Class.define($[1383],{extend:qx.ui.layout.impl.HorizontalBoxLayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);this.setEnableFlexSupport(false);},members:{computeChildrenNeededWidth:function(){var $0=this.getWidget();var $1=$0.getParent().getParent();return $1.getMenuButtonNeededWidth();},updateSelfOnChildOuterWidthChange:function($0){var $1=this.getWidget();var $2=$1.getParent().getParent();switch($0){case $1._iconObject:$2._invalidateMaxIconWidth();break;case $1._labelObject:$2._invalidateMaxLabelWidth();break;case $1._shortcutObject:$2._invalidateMaxShortcutWidth();break;case $1._arrowObject:$2._invalidateMaxArrowWidth();break;}return arguments.callee.base.call(this,$0);},layoutChild_locationX:function($0,$1){var $2=this.getWidget();var $3=$2.getParent().getParent();var $4=null;switch($0){case $2._iconObject:$4=$3.getIconPosition();break;case $2._labelObject:$4=$3.getLabelPosition();break;case $2._shortcutObject:$4=$3.getShortcutPosition();break;case $2._arrowObject:$4=$3.getWidth()-18;break;}if($4!=null){$4+=$2.getPaddingLeft();$0._renderRuntimeLeft($4);}}}}); |
170 |
qx.Class.define($[1491],{extend:qx.ui.layout.VerticalBoxLayout,properties:{anonymous:{refine:true,init:true},appearance:{refine:true,init:$[580]}},members:{_createLayoutImpl:function(){return new qx.ui.menu.MenuLayoutImpl(this);}}}); |
| 171 |
qx.Class.define($[550],{extend:qx.ui.menu.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,null,$1);if($2!=null){this.setChecked($2);}},properties:{appearance:{refine:true,init:$[802]},name:{check:$[6]},value:{check:$[6],event:$[124]},checked:{check:$[2],init:false,apply:$[165]}},members:{_applyChecked:function($0,$1){$0===true?this.addState($[122]):this.removeState($[122]);},execute:function(){this._processExecute();arguments.callee.base.call(this);},_processExecute:function(){this.toggleChecked();}}}); |
171 |
qx.Class.define($[647],{extend:qx.ui.layout.impl.VerticalBoxLayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);this.setEnableFlexSupport(false);},members:{updateChildrenOnJobQueueFlush:function($0){var $1=this.getWidget();var $2,$3;if($0.preferredInnerWidth){var $2=$1.getChildren(),$4=$2.length,$3;var $5,$6;for(var $7=0;$7<$4;$7++){$3=$2[$7];$5=$3.getChildren();$6=$5.length;for(var $8=0;$8<$6;$8++){$5[$8].addToLayoutChanges($[101]);}}}return arguments.callee.base.call(this,$0);}}}); |
| 172 |
qx.Class.define($[1609],{extend:qx.ui.menu.CheckBox,properties:{appearance:{refine:true,init:$[1081]},manager:{check:$[176],nullable:true,apply:$[189]}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_processExecute:function(){this.setChecked(true);}}}); |
172 |
qx.Class.define($[623],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.initHeight();this.setStyleProperty($[211],$[45]);this.setStyleProperty($[529],$[45]);this._line=new qx.ui.basic.Terminator;this._line.setAnonymous(true);this._line.setAppearance($[1423]);this.add(this._line);this.addEventListener($[14],this._onmousedown);},properties:{height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1386]}},members:{hasIcon:qx.lang.Function.returnFalse,hasLabel:qx.lang.Function.returnFalse,hasShortcut:qx.lang.Function.returnFalse,hasMenu:qx.lang.Function.returnFalse,_onmousedown:function($0){$0.stopPropagation();}},destruct:function(){this._disposeObjects($[1635]);}}); |
| 173 |
qx.Class.define($[908],{extend:qx.ui.toolbar.MenuButton}); |
173 |
qx.Class.define($[1401],{extend:qx.ui.layout.impl.HorizontalBoxLayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);this.setEnableFlexSupport(false);},members:{computeChildrenNeededWidth:function(){var $0=this.getWidget();var $1=$0.getParent().getParent();return $1.getMenuButtonNeededWidth();},updateSelfOnChildOuterWidthChange:function($0){var $1=this.getWidget();var $2=$1.getParent().getParent();switch($0){case $1._iconObject:$2._invalidateMaxIconWidth();break;case $1._labelObject:$2._invalidateMaxLabelWidth();break;case $1._shortcutObject:$2._invalidateMaxShortcutWidth();break;case $1._arrowObject:$2._invalidateMaxArrowWidth();break;}return arguments.callee.base.call(this,$0);},layoutChild_locationX:function($0,$1){var $2=this.getWidget();var $3=$2.getParent().getParent();var $4=null;switch($0){case $2._iconObject:$4=$3.getIconPosition();break;case $2._labelObject:$4=$3.getLabelPosition();break;case $2._shortcutObject:$4=$3.getShortcutPosition();break;case $2._arrowObject:$4=$3.getWidth()-18;break;}if($4!=null){$4+=$2.getPaddingLeft();$0._renderRuntimeLeft($4);}}}}); |
| 174 |
qx.Class.define($[694],{extend:qx.ui.toolbar.ToolBar}); |
174 |
qx.Class.define($[559],{extend:qx.ui.menu.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,null,$1);if($2!=null){this.setChecked($2);}},properties:{appearance:{refine:true,init:$[818]},name:{check:$[6]},value:{check:$[6],event:$[129]},checked:{check:$[2],init:false,apply:$[167],event:$[222]}},members:{_applyChecked:function($0,$1){$0===true?this.addState($[127]):this.removeState($[127]);},execute:function(){this._processExecute();arguments.callee.base.call(this);},_processExecute:function(){this.toggleChecked();}}}); |
| 175 |
qx.Class.define($[235],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__data={};this.__actions={};this.__cursors={};var $0,$1;var $2=[$[232],$[164],$[163],$[915]];for(var $3=0,$4=$2.length;$3<$4;$3++){$1=$2[$3];$0=this.__cursors[$1]=new qx.ui.basic.Image;$0.setAppearance($[1344]+$1);$0.setZIndex(1e8);}},properties:{sourceWidget:{check:$[66],nullable:true},destinationWidget:{check:$[66],nullable:true,apply:$[1507]},currentAction:{check:$[6],nullable:true,event:$[1686]},defaultCursorDeltaX:{check:$[5],init:5},defaultCursorDeltaY:{check:$[5],init:15}},members:{__lastDestinationEvent:null,_applyDestinationWidget:function($0,$1){if($0){$0.dispatchEvent(new qx.event.type.DragEvent($[285],this.__lastDestinationEvent,$0,this.getSourceWidget()));this.__lastDestinationEvent=null;}},addData:function($0,$1){this.__data[$0]=$1;},getData:function($0){return this.__data[$0];},clearData:function(){this.__data={};},getDropDataTypes:function(){var $0=this.getDestinationWidget();var $1=[];if(!$0){return $1;}var $2=$0.getDropDataTypes();for(var $3=0,$4=$2.length;$3<$4;$3++){if($2[$3] in this.__data){$1.push($2[$3]);}}return $1;},getDropTarget:qx.core.Variant.select($[1],{"default":function($0){var $1=$0.getTarget();while($1!=null){if(!$1.supportsDrop(this.__dragCache)){return null;}if(this.supportsDrop($1)){return $1;}$1=$1.getParent();}return null;}}),startDrag:function(){if(!this.__dragCache){throw new Error("Invalid usage of startDrag. Missing dragInfo!");}this.__dragCache.dragHandlerActive=true;this.setSourceWidget(this.__dragCache.sourceWidget);if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(false);var $0=qx.ui.core.ClientDocument.getInstance();$0.add(this.__feedbackWidget);this.__feedbackWidget.setZIndex(1e8);}},_fireUserEvents:function($0,$1,$2){if($0&&$0!=$1&&$0.hasEventListeners($[311])){$0.dispatchEvent(new qx.event.type.DragEvent($[311],$2,$0,$1),true);}if($1){if($0!=$1&&$1.hasEventListeners($[149])){$1.dispatchEvent(new qx.event.type.DragEvent($[149],$2,$1,$0),true);}if($1.hasEventListeners($[516])){$1.dispatchEvent(new qx.event.type.DragEvent($[516],$2,$1,null),true);}}},handleMouseEvent:function($0){switch($0.getType()){case $[12]:return this._handleMouseDown($0);case $[22]:return this._handleMouseUp($0);case $[148]:return this._handleMouseMove($0);}},_handleMouseDown:function($0){if($0.getDefaultPrevented()||!$0.isLeftButtonPressed()){return;}this.__dragCache={startScreenX:$0.getScreenX(),startScreenY:$0.getScreenY(),pageX:$0.getPageX(),pageY:$0.getPageY(),sourceWidget:$0.getTarget(),sourceTopLevel:$0.getTarget().getTopLevelWidget(),dragHandlerActive:false,hasFiredDragStart:false};},_handleMouseMove:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this.__dragCache.pageX=$0.getPageX();this.__dragCache.pageY=$0.getPageY();var $1=this.getDropTarget($0);this.setCurrentAction($1?this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()):null);this._fireUserEvents(this.__dragCache.currentDropWidget,$1,$0);this.__dragCache.currentDropWidget=$1;this._renderCursor();this._renderFeedbackWidget();}else if(!this.__dragCache.hasFiredDragStart){if(Math.abs($0.getScreenX()-this.__dragCache.startScreenX)>5||Math.abs($0.getScreenY()-this.__dragCache.startScreenY)>5){this.__dragCache.sourceWidget.dispatchEvent(new qx.event.type.DragEvent($[177],$0,this.__dragCache.sourceWidget),true);this.__dragCache.hasFiredDragStart=true;if(this.__dragCache.dragHandlerActive){this._fireUserEvents(this.__dragCache.currentDropWidget,this.__dragCache.sourceWidget,$0);this.__dragCache.currentDropWidget=this.__dragCache.sourceWidget;qx.ui.core.ClientDocument.getInstance().setCapture(true);}}}},_handleMouseUp:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(this.getDropTarget($0),$0);}else{this.__dragCache=null;}},handleKeyEvent:function($0){if(!this.__dragCache){return;}switch($0.getType()){case $[16]:this._handleKeyDown($0);return;case $[84]:this._handleKeyUp($0);return;}},_handleKeyDown:function($0){if($0.getKeyIdentifier()==$[129]){this.cancelDrag($0);}else if(this.getCurrentAction()!=null){switch($0.getKeyIdentifier()){case $[142]:case $[125]:case $[136]:this.setAction(this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},_handleKeyUp:function($0){var $1=$0.getKeyIdentifier()==$[142];var $2=$0.getKeyIdentifier()==$[125];var $3=$0.getKeyIdentifier()==$[136];if($1||$2||$3){if(this.getCurrentAction()!=null){this.setAction(this._evalNewAction(!$1&&$0.isShiftPressed(),!$2&&$0.isCtrlPressed(),!$3&&$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},cancelDrag:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(null,$0);}else{this.__dragCache=null;}},globalCancelDrag:function(){if(this.__dragCache&&this.__dragCache.dragHandlerActive){this._endDragCore();}},_endDrag:function($0,$1){if($0){this.__lastDestinationEvent=$1;this.setDestinationWidget($0);}this.getSourceWidget().dispatchEvent(new qx.event.type.DragEvent($[488],$1,this.getSourceWidget(),$0),true);this._fireUserEvents(this.__dragCache&&this.__dragCache.currentDropWidget,null,$1);this._endDragCore();},_endDragCore:function(){if(this.__feedbackWidget){var $0=qx.ui.core.ClientDocument.getInstance();$0.remove(this.__feedbackWidget);if(this.__feedbackAutoDispose){this.__feedbackWidget.dispose();}this.__feedbackWidget=null;}var $1=this.__cursor;if($1){$1._style.display=$[7];this.__cursor=null;}this._cursorDeltaX=null;this._cursorDeltaY=null;if(this.__dragCache){this.__dragCache.currentDropWidget=null;this.__dragCache=null;}qx.ui.core.ClientDocument.getInstance().setCapture(false);this.clearData();this.clearActions();this.setSourceWidget(null);this.setDestinationWidget(null);},setCursorPosition:function($0,$1){this._cursorDeltaX=$0;this._cursorDeltaY=$1;},_renderCursor:function(){var $0;var $1=this.__cursor;switch(this.getCurrentAction()){case $[232]:$0=this.__cursors.move;break;case $[164]:$0=this.__cursors.copy;break;case $[163]:$0=this.__cursors.alias;break;default:$0=this.__cursors.nodrop;}if($0!=$1&&$1!=null){$1._style.display=$[7];}if(!$0._initialLayoutDone){qx.ui.core.ClientDocument.getInstance().add($0);qx.ui.core.Widget.flushGlobalQueues();}$0._renderRuntimeLeft(this.__dragCache.pageX+((this._cursorDeltaX!=null)?this._cursorDeltaX:this.getDefaultCursorDeltaX()));$0._renderRuntimeTop(this.__dragCache.pageY+((this._cursorDeltaY!=null)?this._cursorDeltaY:this.getDefaultCursorDeltaY()));if($0!=$1){$0._style.display=$[0];}this.__cursor=$0;},supportsDrop:function($0){var $1=$0.getDropDataTypes();if(!$1){return false;}for(var $2=0;$2<$1.length;$2++){if($1[$2] in this.__data){return true;}}return false;},addAction:function($0,$1){this.__actions[$0]=true;if($1||this.getCurrentAction()==null){this.setCurrentAction($0);}},clearActions:function(){this.__actions={};this.setCurrentAction(null);},removeAction:function($0){delete this.__actions[$0];if(this.getCurrentAction()==$0){this.setCurrentAction(null);}},setAction:function($0){if($0!=null&&!($0 in this.__actions)){this.addAction($0,true);}else{this.setCurrentAction($0);}},_evalNewAction:function($0,$1,$2){if($0&&$1&&$[163] in this.__actions){return $[163];}else if($0&&$2&&$[164] in this.__actions){return $[164];}else if($0&&$[232] in this.__actions){return $[232];}else if($2&&$[163] in this.__actions){return $[163];}else if($1&&$[164] in this.__actions){return $[164];}else{for(var $3 in this.__actions){return $3;}}return null;},setFeedbackWidget:function($0,$1,$2,$3){this.__feedbackWidget=$0;this.__feedbackDeltaX=($1!=null)?$1:10;this.__feedbackDeltaY=($2!=null)?$2:10;this.__feedbackAutoDispose=$3?true:false;},_renderFeedbackWidget:function(){if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(true);this.__feedbackWidget._renderRuntimeLeft(this.__dragCache.pageX+this.__feedbackDeltaX);this.__feedbackWidget._renderRuntimeTop(this.__dragCache.pageY+this.__feedbackDeltaY);}}},destruct:function(){this._disposeObjectDeep($[1456],1);this._disposeObjects($[543]);this._disposeFields($[1240],$[1598],$[923],$[1580]);}}); |
175 |
qx.Class.define($[1632],{extend:qx.ui.menu.CheckBox,properties:{appearance:{refine:true,init:$[1099]},manager:{check:$[177],nullable:true,apply:$[189]}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_processExecute:function(){this.setChecked(true);}}}); |
| 176 |
qx.Class.define($[143],{extend:qx.event.type.MouseEvent,construct:function($0,$1,$2,$3){this._mouseEvent=$1;var $4=null;switch($0){case $[177]:case $[149]:$4=$1.getOriginalTarget();}arguments.callee.base.call(this,$0,$1.getDomEvent(),$2.getElement(),$2,$4,$3);},members:{getMouseEvent:function(){return this._mouseEvent;},startDrag:function(){if(this.getType()!=$[177]){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType());}this.stopPropagation();qx.event.handler.DragAndDropHandler.getInstance().startDrag();},addData:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().addData($0,$1);},getData:function($0){return qx.event.handler.DragAndDropHandler.getInstance().getData($0);},clearData:function(){qx.event.handler.DragAndDropHandler.getInstance().clearData();},getDropDataTypes:function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes();},addAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().addAction($0);},removeAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().removeAction($0);},getAction:function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction();},clearActions:function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions();},setFeedbackWidget:function($0,$1,$2,$3){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget($0,$1,$2,$3);},setCursorPosition:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition($0,$1);}},destruct:function(){this._disposeFields($[990]);}}); |
176 |
qx.Class.define($[927],{extend:qx.ui.toolbar.MenuButton}); |
| 177 |
qx.Class.define($[1408],{statics:{getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){try{return $0.contentWindow;}catch(ex){return null;}},"default":function($0){try{var $1=qx.html.Iframe.getDocument($0);return $1?$1.defaultView:null;}catch(ex){return null;}}}),getDocument:qx.core.Variant.select($[1],{"mshtml":function($0){try{var $1=qx.html.Iframe.getWindow($0);return $1?$1.document:null;}catch(ex){return null;}},"default":function($0){try{return $0.contentDocument;}catch(ex){return null;}}}),getBody:function($0){var $1=qx.html.Iframe.getDocument($0);return $1?$1.getElementsByTagName($[126])[0]:null;}}}); |
177 |
qx.Class.define($[705],{extend:qx.ui.toolbar.ToolBar}); |
| 178 |
qx.Class.define($[438],{type:$[51],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},properties:{url:{check:$[6],nullable:true},method:{check:$[6],nullable:true},asynchronous:{check:$[2],nullable:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[130],$[71],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[130],event:$[290],apply:$[296]},requestHeaders:{check:$[119],nullable:true},parameters:{check:$[119],nullable:true},formFields:{check:$[119],nullable:true},responseType:{check:$[6],nullable:true},useBasicHttpAuth:{check:$[2],nullable:true}},members:{send:function(){throw new Error("send is abstract");},abort:function(){{};this.setState($[33]);},timeout:function(){{};this.setState($[32]);},failed:function(){{};this.setState($[27]);},setRequestHeader:function($0,$1){throw new Error("setRequestHeader is abstract");},getResponseHeader:function($0){throw new Error("getResponseHeader is abstract");},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract");},getStatusCode:function(){throw new Error("getStatusCode is abstract");},getStatusText:function(){throw new Error("getStatusText is abstract");},getResponseText:function(){throw new Error("getResponseText is abstract");},getResponseXml:function(){throw new Error("getResponseXml is abstract");},getFetchedLength:function(){throw new Error("getFetchedLength is abstract");},_applyState:function($0,$1){{};switch($0){case $[130]:this.createDispatchEvent($[130]);break;case $[71]:this.createDispatchEvent($[71]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:this.createDispatchEvent($[15]);break;case $[33]:this.createDispatchEvent($[33]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[32]:this.createDispatchEvent($[32]);break;}return true;}}}); |
178 |
qx.Class.define($[239],{type:$[20],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__data={};this.__actions={};this.__cursors={};var $0,$1;var $2=[$[237],$[166],$[165],$[934]];for(var $3=0,$4=$2.length;$3<$4;$3++){$1=$2[$3];$0=this.__cursors[$1]=new qx.ui.basic.Image;$0.setAppearance($[799]+$1);$0.setZIndex(1e8);}},properties:{sourceWidget:{check:$[69],nullable:true},destinationWidget:{check:$[69],nullable:true,apply:$[1528]},currentAction:{check:$[6],nullable:true,event:$[1706]},defaultCursorDeltaX:{check:$[5],init:5},defaultCursorDeltaY:{check:$[5],init:15}},members:{__lastDestinationEvent:null,_applyDestinationWidget:function($0,$1){if($0){$0.dispatchEvent(new qx.event.type.DragEvent($[288],this.__lastDestinationEvent,$0,this.getSourceWidget()));this.__lastDestinationEvent=null;}},addData:function($0,$1){this.__data[$0]=$1;},getData:function($0){return this.__data[$0];},clearData:function(){this.__data={};},getDropDataTypes:function(){var $0=this.getDestinationWidget();var $1=[];if(!$0){return $1;}var $2=$0.getDropDataTypes();for(var $3=0,$4=$2.length;$3<$4;$3++){if($2[$3] in this.__data){$1.push($2[$3]);}}return $1;},getDropTarget:qx.core.Variant.select($[1],{"default":function($0){var $1=$0.getTarget();while($1!=null){if(!$1.supportsDrop(this.__dragCache)){return null;}if(this.supportsDrop($1)){return $1;}$1=$1.getParent();}return null;}}),startDrag:function(){if(!this.__dragCache){throw new Error("Invalid usage of startDrag. Missing dragInfo!");}this.__dragCache.dragHandlerActive=true;this.setSourceWidget(this.__dragCache.sourceWidget);if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(false);var $0=qx.ui.core.ClientDocument.getInstance();$0.add(this.__feedbackWidget);this.__feedbackWidget.setZIndex(1e8);}},_fireUserEvents:function($0,$1,$2){if($0&&$0!=$1&&$0.hasEventListeners($[317])){$0.dispatchEvent(new qx.event.type.DragEvent($[317],$2,$0,$1),true);}if($1){if($0!=$1&&$1.hasEventListeners($[152])){$1.dispatchEvent(new qx.event.type.DragEvent($[152],$2,$1,$0),true);}if($1.hasEventListeners($[523])){$1.dispatchEvent(new qx.event.type.DragEvent($[523],$2,$1,null),true);}}},handleMouseEvent:function($0){switch($0.getType()){case $[14]:return this._handleMouseDown($0);case $[25]:return this._handleMouseUp($0);case $[151]:return this._handleMouseMove($0);}},_handleMouseDown:function($0){if($0.getDefaultPrevented()||!$0.isLeftButtonPressed()){return;}this.__dragCache={startScreenX:$0.getScreenX(),startScreenY:$0.getScreenY(),pageX:$0.getPageX(),pageY:$0.getPageY(),sourceWidget:$0.getTarget(),sourceTopLevel:$0.getTarget().getTopLevelWidget(),dragHandlerActive:false,hasFiredDragStart:false};},_handleMouseMove:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this.__dragCache.pageX=$0.getPageX();this.__dragCache.pageY=$0.getPageY();var $1=this.getDropTarget($0);this.setCurrentAction($1?this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()):null);this._fireUserEvents(this.__dragCache.currentDropWidget,$1,$0);this.__dragCache.currentDropWidget=$1;this._renderCursor();this._renderFeedbackWidget();}else if(!this.__dragCache.hasFiredDragStart){if(Math.abs($0.getScreenX()-this.__dragCache.startScreenX)>5||Math.abs($0.getScreenY()-this.__dragCache.startScreenY)>5){this.__dragCache.sourceWidget.dispatchEvent(new qx.event.type.DragEvent($[178],$0,this.__dragCache.sourceWidget),true);this.__dragCache.hasFiredDragStart=true;if(this.__dragCache.dragHandlerActive){this._fireUserEvents(this.__dragCache.currentDropWidget,this.__dragCache.sourceWidget,$0);this.__dragCache.currentDropWidget=this.__dragCache.sourceWidget;qx.ui.core.ClientDocument.getInstance().setCapture(true);}}}},_handleMouseUp:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(this.getDropTarget($0),$0);}else{this.__dragCache=null;}},handleKeyEvent:function($0){if(!this.__dragCache){return;}switch($0.getType()){case $[12]:this._handleKeyDown($0);return;case $[85]:this._handleKeyUp($0);return;}},_handleKeyDown:function($0){if($0.getKeyIdentifier()==$[114]){this.cancelDrag($0);}else if(this.getCurrentAction()!=null){switch($0.getKeyIdentifier()){case $[146]:case $[130]:case $[140]:this.setAction(this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},_handleKeyUp:function($0){var $1=$0.getKeyIdentifier()==$[146];var $2=$0.getKeyIdentifier()==$[130];var $3=$0.getKeyIdentifier()==$[140];if($1||$2||$3){if(this.getCurrentAction()!=null){this.setAction(this._evalNewAction(!$1&&$0.isShiftPressed(),!$2&&$0.isCtrlPressed(),!$3&&$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},cancelDrag:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(null,$0);}else{this.__dragCache=null;}},globalCancelDrag:function(){if(this.__dragCache&&this.__dragCache.dragHandlerActive){this._endDragCore();}},_endDrag:function($0,$1){if($0){this.__lastDestinationEvent=$1;this.setDestinationWidget($0);}this.getSourceWidget().dispatchEvent(new qx.event.type.DragEvent($[496],$1,this.getSourceWidget(),$0),true);this._fireUserEvents(this.__dragCache&&this.__dragCache.currentDropWidget,null,$1);this._endDragCore();},_endDragCore:function(){if(this.__feedbackWidget){var $0=qx.ui.core.ClientDocument.getInstance();$0.remove(this.__feedbackWidget);if(this.__feedbackAutoDispose){this.__feedbackWidget.destroy();}this.__feedbackWidget=null;}var $1=this.__cursor;if($1){$1._style.display=$[8];this.__cursor=null;}this._cursorDeltaX=null;this._cursorDeltaY=null;if(this.__dragCache){this.__dragCache.currentDropWidget=null;this.__dragCache=null;}qx.ui.core.ClientDocument.getInstance().setCapture(false);this.clearData();this.clearActions();this.setSourceWidget(null);this.setDestinationWidget(null);},setCursorPosition:function($0,$1){this._cursorDeltaX=$0;this._cursorDeltaY=$1;},_renderCursor:function(){var $0;var $1=this.__cursor;switch(this.getCurrentAction()){case $[237]:$0=this.__cursors.move;break;case $[166]:$0=this.__cursors.copy;break;case $[165]:$0=this.__cursors.alias;break;default:$0=this.__cursors.nodrop;}if($0!=$1&&$1!=null){$1._style.display=$[8];}if(!$0._initialLayoutDone){qx.ui.core.ClientDocument.getInstance().add($0);qx.ui.core.Widget.flushGlobalQueues();}$0._renderRuntimeLeft(this.__dragCache.pageX+((this._cursorDeltaX!=null)?this._cursorDeltaX:this.getDefaultCursorDeltaX()));$0._renderRuntimeTop(this.__dragCache.pageY+((this._cursorDeltaY!=null)?this._cursorDeltaY:this.getDefaultCursorDeltaY()));if($0!=$1){$0._style.display=$[0];}this.__cursor=$0;},supportsDrop:function($0){var $1=$0.getDropDataTypes();if(!$1){return false;}for(var $2=0;$2<$1.length;$2++){if($1[$2] in this.__data){return true;}}return false;},addAction:function($0,$1){this.__actions[$0]=true;if($1||this.getCurrentAction()==null){this.setCurrentAction($0);}},clearActions:function(){this.__actions={};this.setCurrentAction(null);},removeAction:function($0){delete this.__actions[$0];if(this.getCurrentAction()==$0){this.setCurrentAction(null);}},setAction:function($0){if($0!=null&&!($0 in this.__actions)){this.addAction($0,true);}else{this.setCurrentAction($0);}},_evalNewAction:function($0,$1,$2){if($0&&$1&&$[165] in this.__actions){return $[165];}else if($0&&$2&&$[166] in this.__actions){return $[166];}else if($0&&$[237] in this.__actions){return $[237];}else if($2&&$[165] in this.__actions){return $[165];}else if($1&&$[166] in this.__actions){return $[166];}else{for(var $3 in this.__actions){return $3;}}return null;},setFeedbackWidget:function($0,$1,$2,$3){this.__feedbackWidget=$0;this.__feedbackDeltaX=($1!=null)?$1:10;this.__feedbackDeltaY=($2!=null)?$2:10;this.__feedbackAutoDispose=$3?true:false;},_renderFeedbackWidget:function(){if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(true);this.__feedbackWidget._renderRuntimeLeft(this.__dragCache.pageX+this.__feedbackDeltaX);this.__feedbackWidget._renderRuntimeTop(this.__dragCache.pageY+this.__feedbackDeltaY);}}},destruct:function(){this._disposeObjectDeep($[1476],1);this._disposeObjects($[552]);this._disposeFields($[1263],$[1620],$[942],$[1602]);}}); |
| 179 |
qx.Class.define($[510],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setRequest($0);$0.setTransport(this);},events:{"sending":$[4],"receiving":$[4],"completed":$[94],"aborted":$[94],"failed":$[94],"timeout":$[94]},statics:{typesOrder:[$[293],$[294],$[1168]],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function($0,$1){qx.io.remote.Exchange.typesAvailable[$1]=$0;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;}for(var $0 in qx.io.remote.Exchange.typesAvailable){var $1=qx.io.remote.Exchange.typesAvailable[$0];if($1.isSupported()){qx.io.remote.Exchange.typesSupported[$0]=$1;}}qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!");}},canHandle:function($0,$1,$2){if(!qx.lang.Array.contains($0.handles.responseTypes,$2)){return false;}for(var $3 in $1){if(!$0.handles[$3]){return false;}}return true;},_nativeMap:{0:$[130],1:$[71],2:$[29],3:$[39],4:$[15]},wasSuccessful:function($0,$1,$2){if($2){switch($0){case null:case 0:return true;case -1:return $1<4;default:return typeof $0===$[65];}}else{switch($0){case -1:{};return $1<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:{};return $1!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};return false;case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:{};return false;default:if($0>206&&$0<300){return true;}qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Unknown status code: "+$0+" ("+$1+")");return false;}}},statusCodeToString:function($0){switch($0){case -1:return $[1128];case 200:return $[1618];case 304:return $[565];case 206:return $[595];case 204:return $[1144];case 300:return $[1401];case 301:return $[1480];case 302:return $[839];case 303:return $[659];case 305:return $[549];case 400:return $[1365];case 401:return $[1547];case 402:return $[1459];case 403:return $[1198];case 404:return $[1531];case 405:return $[1615];case 406:return $[748];case 407:return $[1215];case 408:return $[1364];case 409:return $[1090];case 410:return $[1544];case 411:return $[1677];case 412:return $[1627];case 413:return $[1289];case 414:return $[747];case 415:return $[1622];case 500:return $[983];case 501:return $[561];case 502:return $[678];case 503:return $[1606];case 504:return $[1646];case 505:return $[900];case 12002:return $[975];case 12029:return $[310];case 12030:return $[310];case 12031:return $[310];case 12152:return $[779];case 13030:return $[1503];default:return $[1125];}}},properties:{request:{check:$[514],nullable:true},implementation:{check:$[438],nullable:true,apply:$[1267]},state:{check:[$[71],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[71],event:$[290],apply:$[296]}},members:{send:function(){var $0=this.getRequest();if(!$0){return this.error("Please attach a request object first");}qx.io.remote.Exchange.initTypes();var $1=qx.io.remote.Exchange.typesOrder;var $2=qx.io.remote.Exchange.typesSupported;var $3=$0.getResponseType();var $4={};if($0.getAsynchronous()){$4.asynchronous=true;}else{$4.synchronous=true;}if($0.getCrossDomain()){$4.crossDomain=true;}if($0.getFileUpload()){$4.fileUpload=true;}for(var $5 in $0.getFormFields()){$4.programaticFormFields=true;break;}var $6,$7;for(var $8=0,$9=$1.length;$8<$9;$8++){$6=$2[$1[$8]];if($6){if(!qx.io.remote.Exchange.canHandle($6,$4,$3)){continue;}try{{};$7=new $6;this.setImplementation($7);$7.setUseBasicHttpAuth($0.getUseBasicHttpAuth());$7.send();return true;}catch(ex){return this.error("Request handler throws error",ex);}}}this.error("There is no transport implementation available to handle this request: "+$0);},abort:function(){var $0=this.getImplementation();if($0){{};$0.abort();}else{{};this.setState($[33]);}},timeout:function(){var $0=this.getImplementation();if($0){this.warn("Timeout: implementation "+$0.toHashCode());$0.timeout();}else{this.warn("Timeout: forcing state to timeout");this.setState($[32]);}if(this.getRequest()){this.getRequest().setTimeout(0);}},_onsending:function($0){this.setState($[29]);},_onreceiving:function($0){this.setState($[39]);},_oncompleted:function($0){this.setState($[15]);},_onabort:function($0){this.setState($[33]);},_onfailed:function($0){this.setState($[27]);},_ontimeout:function($0){this.setState($[32]);},_applyImplementation:function($0,$1){if($1){$1.removeEventListener($[29],this._onsending,this);$1.removeEventListener($[39],this._onreceiving,this);$1.removeEventListener($[15],this._oncompleted,this);$1.removeEventListener($[33],this._onabort,this);$1.removeEventListener($[32],this._ontimeout,this);$1.removeEventListener($[27],this._onfailed,this);}if($0){var $2=this.getRequest();$0.setUrl($2.getUrl());$0.setMethod($2.getMethod());$0.setAsynchronous($2.getAsynchronous());$0.setUsername($2.getUsername());$0.setPassword($2.getPassword());$0.setParameters($2.getParameters());$0.setFormFields($2.getFormFields());$0.setRequestHeaders($2.getRequestHeaders());$0.setData($2.getData());$0.setResponseType($2.getResponseType());$0.addEventListener($[29],this._onsending,this);$0.addEventListener($[39],this._onreceiving,this);$0.addEventListener($[15],this._oncompleted,this);$0.addEventListener($[33],this._onabort,this);$0.addEventListener($[32],this._ontimeout,this);$0.addEventListener($[27],this._onfailed,this);}},_applyState:function($0,$1){{};switch($0){case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:case $[33]:case $[32]:case $[27]:var $2=this.getImplementation();if(!$2){break;}if(this.hasEventListeners($0)){var $3=new qx.io.remote.Response($0);if($0==$[15]){var $4=$2.getResponseContent();$3.setContent($4);if($4===null){{};$0=$[27];}}$3.setStatusCode($2.getStatusCode());$3.setResponseHeaders($2.getResponseHeaders());this.dispatchEvent($3);}this.setImplementation(null);$2.dispose();break;}}},settings:{"qx.ioRemoteDebug":false,"qx.ioRemoteDebugData":false},destruct:function(){var $0=this.getImplementation();if($0){this.setImplementation(null);$0.dispose();}this.setRequest(null);}}); |
179 |
qx.Class.define($[147],{extend:qx.event.type.MouseEvent,construct:function($0,$1,$2,$3){this._mouseEvent=$1;var $4=null;switch($0){case $[178]:case $[152]:$4=$1.getOriginalTarget();}arguments.callee.base.call(this,$0,$1.getDomEvent(),$2.getElement(),$2,$4,$3);},members:{getMouseEvent:function(){return this._mouseEvent;},startDrag:function(){if(this.getType()!=$[178]){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType());}this.stopPropagation();qx.event.handler.DragAndDropHandler.getInstance().startDrag();},addData:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().addData($0,$1);},getData:function($0){return qx.event.handler.DragAndDropHandler.getInstance().getData($0);},clearData:function(){qx.event.handler.DragAndDropHandler.getInstance().clearData();},getDropDataTypes:function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes();},addAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().addAction($0);},removeAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().removeAction($0);},getAction:function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction();},clearActions:function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions();},setFeedbackWidget:function($0,$1,$2,$3){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget($0,$1,$2,$3);},setCursorPosition:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition($0,$1);}},destruct:function(){this._disposeFields($[1008]);}}); |
| 180 |
qx.Class.define($[94],{extend:qx.event.type.Event,construct:function($0){arguments.callee.base.call(this,$0);},properties:{state:{check:$[5],nullable:true},statusCode:{check:$[5],nullable:true},content:{nullable:true},responseHeaders:{check:$[119],nullable:true}},members:{getResponseHeader:function($0){var $1=this.getResponseHeaders();if($1){return $1[$0]||null;}return null;},getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1153]);return this;}}}); |
180 |
qx.Class.define($[1426],{statics:{getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){try{return $0.contentWindow;}catch(ex){return null;}},"default":function($0){try{var $1=qx.html.Iframe.getDocument($0);return $1?$1.defaultView:null;}catch(ex){return null;}}}),getDocument:qx.core.Variant.select($[1],{"mshtml":function($0){try{var $1=qx.html.Iframe.getWindow($0);return $1?$1.document:null;}catch(ex){return null;}},"default":function($0){try{return $0.contentDocument;}catch(ex){return null;}}}),getBody:function($0){var $1=qx.html.Iframe.getDocument($0);return $1?$1.getElementsByTagName($[131])[0]:null;}}}); |
| 181 |
qx.Class.define($[1325],{statics:{JAVASCRIPT:"text/javascript",JSON:"application/json",XML:"application/xml",TEXT:"text/plain",HTML:"text/html"}}); |
181 |
qx.Class.define($[446],{type:$[53],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},properties:{url:{check:$[6],nullable:true},method:{check:$[6],nullable:true},asynchronous:{check:$[2],nullable:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[134],$[73],$[39],$[43],$[17],$[36],$[34],$[29]],init:$[134],event:$[293],apply:$[300]},requestHeaders:{check:$[124],nullable:true},parameters:{check:$[124],nullable:true},formFields:{check:$[124],nullable:true},responseType:{check:$[6],nullable:true},useBasicHttpAuth:{check:$[2],nullable:true}},members:{send:function(){throw new Error("send is abstract");},abort:function(){{};this.setState($[36]);},timeout:function(){{};this.setState($[34]);},failed:function(){{};this.setState($[29]);},setRequestHeader:function($0,$1){throw new Error("setRequestHeader is abstract");},getResponseHeader:function($0){throw new Error("getResponseHeader is abstract");},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract");},getStatusCode:function(){throw new Error("getStatusCode is abstract");},getStatusText:function(){throw new Error("getStatusText is abstract");},getResponseText:function(){throw new Error("getResponseText is abstract");},getResponseXml:function(){throw new Error("getResponseXml is abstract");},getFetchedLength:function(){throw new Error("getFetchedLength is abstract");},_applyState:function($0,$1){{};switch($0){case $[134]:this.createDispatchEvent($[134]);break;case $[73]:this.createDispatchEvent($[73]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[43]:this.createDispatchEvent($[43]);break;case $[17]:this.createDispatchEvent($[17]);break;case $[36]:this.createDispatchEvent($[36]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[34]:this.createDispatchEvent($[34]);break;}return true;}}}); |
| 182 |
qx.Class.define($[293],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);this._req=qx.io.remote.XmlHttpTransport.createRequestObject();this._req.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},requestObjects:[],requestObjectCount:0,isSupported:function(){return qx.net.HttpRequest.create()!=null?true:false;},createRequestObject:function(){return qx.net.HttpRequest.create();},__dummy:function(){}},members:{_localRequest:false,_lastReadyState:0,getRequest:function(){return this._req;},send:function(){this._lastReadyState=0;var $0=this.getRequest();var $1=this.getMethod();var $2=this.getAsynchronous();var $3=this.getUrl();var $4=(qx.core.Client.getInstance().getRunsLocally()&&!(/^http(s){0,1}\:/.test($3)));this._localRequest=$4;var $5=this.getParameters();var $6=[];for(var $7 in $5){var $8=$5[$7];if($8 instanceof Array){for(var $9=0;$9<$8.length;$9++){$6.push(encodeURIComponent($7)+$[197]+encodeURIComponent($8[$9]));}}else{$6.push(encodeURIComponent($7)+$[197]+encodeURIComponent($8));}}if($6.length>0){$3+=($3.indexOf($[194])>=0?$[93]:$[194])+$6.join($[93]);}var $a=function($b){var $c=$[940];var $d=$[0];var $e,$f,$g;var $h,$i,$j,$k;var $9=0;do{$e=$b.charCodeAt($9++);$f=$b.charCodeAt($9++);$g=$b.charCodeAt($9++);$h=$e>>2;$i=(($e&3)<<4)|($f>>4);$j=(($f&15)<<2)|($g>>6);$k=$g&63;if(isNaN($f)){$j=$k=64;}else if(isNaN($g)){$k=64;}$d+=$c.charAt($h)+$c.charAt($i)+$c.charAt($j)+$c.charAt($k);}while($9<$b.length);return $d;};$0.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);if(this.getUsername()){if(this.getUseBasicHttpAuth()){$0.open($1,$3,$2);$0.setRequestHeader($[874],$[1190]+$a(this.getUsername()+$[1468]+this.getPassword()));}else{$0.open($1,$3,$2,this.getUsername(),this.getPassword());}}else{$0.open($1,$3,$2);}$0.setRequestHeader($[1207],window.location.href);var $l=this.getRequestHeaders();for(var $7 in $l){$0.setRequestHeader($7,$l[$7]);}try{{};$0.send(this.getData());}catch(ex){if($4){this.failedLocally();}else{this.error("Failed to send data: "+ex,"send");this.failed();}return;}if(!$2){this._onreadystatechange();}},failedLocally:function(){if(this.getState()===$[27]){return;}this.warn("Could not load from file: "+this.getUrl());this.failed();},_onreadystatechange:function($0){switch(this.getState()){case $[15]:case $[33]:case $[27]:case $[32]:{};return;}var $1=this.getReadyState();if($1==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),$1,this._localRequest)){return this.failed();}}while(this._lastReadyState<$1){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},getReadyState:function(){var $0=null;try{$0=this._req.readyState;}catch(ex){}return $0;},setRequestHeader:function($0,$1){this._req.setRequestHeader($0,$1);},getResponseHeader:function($0){var $1=null;try{this.getRequest().getResponseHeader($0)||null;}catch(ex){}return $1;},getStringResponseHeaders:function(){var $0=null;try{var $1=this._req.getAllResponseHeaders();if($1){$0=$1;}}catch(ex){}return $0;},getResponseHeaders:function(){var $0=this.getStringResponseHeaders();var $1={};if($0){var $2=$0.split(/[\r\n]+/g);for(var $3=0,$4=$2.length;$3<$4;$3++){var $5=$2[$3].match(/^([^:]+)\s*:\s*(.+)$/i);if($5){$1[$5[1]]=$5[2];}}}return $1;},getStatusCode:function(){var $0=-1;try{$0=this.getRequest().status;}catch(ex){}return $0;},getStatusText:function(){var $0=$[0];try{$0=this.getRequest().statusText;}catch(ex){}return $0;},getResponseText:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseText;}catch(ex){}}return $0;},getResponseXml:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseXML;}catch(ex){}}if(typeof $0==$[28]&&$0!=null){if(!$0.documentElement){var $3=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,$[0]);$0.loadXML($3);}if(!$0.documentElement){throw new Error("Missing Document Element!");}if($0.documentElement.tagName==$[1386]){throw new Error("XML-File is not well-formed!");}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]");}return $0;},getFetchedLength:function(){var $0=this.getResponseText();return typeof $0==$[8]?$0.length:0;},getResponseContent:function(){if(this.getState()!==$[15]){{};return null;}{};var $0=this.getResponseText();switch(this.getResponseType()){case qx.util.Mime.TEXT:case qx.util.Mime.HTML:{};return $0;case qx.util.Mime.JSON:{};try{if($0&&$0.length>0){return qx.io.Json.parseQx($0)||null;}else{return null;}}catch(ex){this.error("Could not execute json: ["+$0+"]",ex);return $[1274]+$0+$[1546];}case qx.util.Mime.JAVASCRIPT:{};try{if($0&&$0.length>0){return window.eval($0)||null;}else{return null;}}catch(ex){this.error("Could not execute javascript: ["+$0+"]",ex);return null;}case qx.util.Mime.XML:$0=this.getResponseXml();{};return $0||null;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}},_applyState:function($0,$1){{};switch($0){case $[130]:this.createDispatchEvent($[130]);break;case $[71]:this.createDispatchEvent($[71]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:this.createDispatchEvent($[15]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[33]:this.getRequest().abort();this.createDispatchEvent($[33]);break;case $[32]:this.getRequest().abort();this.createDispatchEvent($[32]);break;}}},defer:function($0,$1){qx.io.remote.Exchange.registerType(qx.io.remote.XmlHttpTransport,$[293]);},destruct:function(){var $0=this.getRequest();if($0){$0.onreadystatechange=qx.io.remote.XmlHttpTransport.__dummy;switch($0.readyState){case 1:case 2:case 3:$0.abort();}}this._disposeFields($[1384]);}}); |
182 |
qx.Class.define($[517],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setRequest($0);$0.setTransport(this);},events:{"sending":$[4],"receiving":$[4],"completed":$[107],"aborted":$[107],"failed":$[107],"timeout":$[107]},statics:{typesOrder:[$[296],$[298],$[1187]],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function($0,$1){qx.io.remote.Exchange.typesAvailable[$1]=$0;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;}for(var $0 in qx.io.remote.Exchange.typesAvailable){var $1=qx.io.remote.Exchange.typesAvailable[$0];if($1.isSupported()){qx.io.remote.Exchange.typesSupported[$0]=$1;}}qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!");}},canHandle:function($0,$1,$2){if(!qx.lang.Array.contains($0.handles.responseTypes,$2)){return false;}for(var $3 in $1){if(!$0.handles[$3]){return false;}}return true;},_nativeMap:{0:$[134],1:$[73],2:$[39],3:$[43],4:$[17]},wasSuccessful:function($0,$1,$2){if($2){switch($0){case null:case 0:return true;case -1:return $1<4;default:return typeof $0===$[68];}}else{switch($0){case -1:{};return $1<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:{};return $1!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};return false;case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:{};return false;default:if($0>206&&$0<300){return true;}qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Unknown status code: "+$0+" ("+$1+")");return false;}}},statusCodeToString:function($0){switch($0){case -1:return $[1146];case 200:return $[1641];case 304:return $[574];case 206:return $[607];case 204:return $[1163];case 300:return $[1419];case 301:return $[1501];case 302:return $[855];case 303:return $[671];case 305:return $[558];case 400:return $[1383];case 401:return $[1568];case 402:return $[1479];case 403:return $[1221];case 404:return $[1553];case 405:return $[1638];case 406:return $[760];case 407:return $[1238];case 408:return $[1382];case 409:return $[1108];case 410:return $[1566];case 411:return $[1698];case 412:return $[1650];case 413:return $[1312];case 414:return $[759];case 415:return $[1645];case 500:return $[814];case 501:return $[570];case 502:return $[689];case 503:return $[1629];case 504:return $[1669];case 505:return $[919];case 12002:return $[994];case 12007:return $[546];case 12029:return $[316];case 12030:return $[316];case 12031:return $[316];case 12152:return $[792];case 13030:return $[1524];default:return $[1143];}}},properties:{request:{check:$[521],nullable:true},implementation:{check:$[446],nullable:true,apply:$[1290]},state:{check:[$[73],$[39],$[43],$[17],$[36],$[34],$[29]],init:$[73],event:$[293],apply:$[300]}},members:{send:function(){var $0=this.getRequest();if(!$0){return this.error("Please attach a request object first");}qx.io.remote.Exchange.initTypes();var $1=qx.io.remote.Exchange.typesOrder;var $2=qx.io.remote.Exchange.typesSupported;var $3=$0.getResponseType();var $4={};if($0.getAsynchronous()){$4.asynchronous=true;}else{$4.synchronous=true;}if($0.getCrossDomain()){$4.crossDomain=true;}if($0.getFileUpload()){$4.fileUpload=true;}for(var $5 in $0.getFormFields()){$4.programaticFormFields=true;break;}var $6,$7;for(var $8=0,$9=$1.length;$8<$9;$8++){$6=$2[$1[$8]];if($6){if(!qx.io.remote.Exchange.canHandle($6,$4,$3)){continue;}try{{};$7=new $6;this.setImplementation($7);$7.setUseBasicHttpAuth($0.getUseBasicHttpAuth());$7.send();return true;}catch(ex){this.error("Request handler throws error",ex);return ex;}}}this.error("There is no transport implementation available to handle this request: "+$0);},abort:function(){var $0=this.getImplementation();if($0){{};$0.abort();}else{{};this.setState($[36]);}},timeout:function(){var $0=this.getImplementation();if($0){this.warn("Timeout: implementation "+$0.toHashCode());$0.timeout();}else{this.warn("Timeout: forcing state to timeout");this.setState($[34]);}if(this.getRequest()){this.getRequest().setTimeout(0);}},_onsending:function($0){this.setState($[39]);},_onreceiving:function($0){this.setState($[43]);},_oncompleted:function($0){this.setState($[17]);},_onabort:function($0){this.setState($[36]);},_onfailed:function($0){this.setState($[29]);},_ontimeout:function($0){this.setState($[34]);},_applyImplementation:function($0,$1){if($1){$1.removeEventListener($[39],this._onsending,this);$1.removeEventListener($[43],this._onreceiving,this);$1.removeEventListener($[17],this._oncompleted,this);$1.removeEventListener($[36],this._onabort,this);$1.removeEventListener($[34],this._ontimeout,this);$1.removeEventListener($[29],this._onfailed,this);}if($0){var $2=this.getRequest();$0.setUrl($2.getUrl());$0.setMethod($2.getMethod());$0.setAsynchronous($2.getAsynchronous());$0.setUsername($2.getUsername());$0.setPassword($2.getPassword());$0.setParameters($2.getParameters());$0.setFormFields($2.getFormFields());$0.setRequestHeaders($2.getRequestHeaders());$0.setData($2.getData());$0.setResponseType($2.getResponseType());$0.addEventListener($[39],this._onsending,this);$0.addEventListener($[43],this._onreceiving,this);$0.addEventListener($[17],this._oncompleted,this);$0.addEventListener($[36],this._onabort,this);$0.addEventListener($[34],this._ontimeout,this);$0.addEventListener($[29],this._onfailed,this);}},_applyState:function($0,$1){{};switch($0){case $[39]:case $[43]:this.createDispatchEvent($0);break;case $[17]:case $[36]:case $[34]:case $[29]:var $2=this.getImplementation();if(!$2){break;}if(this.hasEventListeners($0)){var $3=new qx.io.remote.Response($0);if($0==$[17]){var $4=$2.getResponseContent();$3.setContent($4);if($4===null){{};$0=$[29];}}$3.setStatusCode($2.getStatusCode());$3.setResponseHeaders($2.getResponseHeaders());this.dispatchEvent($3);}this.setImplementation(null);$2.dispose();break;}}},settings:{"qx.ioRemoteDebug":false,"qx.ioRemoteDebugData":false},destruct:function(){var $0=this.getImplementation();if($0){this.setImplementation(null);$0.dispose();}this.setRequest(null);}}); |
| 183 |
qx.Class.define($[1712],{statics:{create:qx.core.Variant.select($[1],{"default":function(){return new XMLHttpRequest;},"mshtml":qx.lang.Object.select(location.protocol!==$[442]&&window.XMLHttpRequest?$[780]:$[1602],{"native":function(){return new XMLHttpRequest;},"activeX":function(){if(this.__server){return new ActiveXObject(this.__server);}var $0=[$[1260],$[1669],$[905],$[1739],$[1110]];var $1;var $2;for(var $3=0,$4=$0.length;$3<$4;$3++){$2=$0[$3];try{$1=new ActiveXObject($2);break;}catch(ex){$1=null;}}if($1){this.__server=$2;}return $1;}})})}}); |
183 |
qx.Class.define($[107],{extend:qx.event.type.Event,construct:function($0){arguments.callee.base.call(this,$0);},properties:{state:{check:$[5],nullable:true},statusCode:{check:$[5],nullable:true},content:{nullable:true},responseHeaders:{check:$[124],nullable:true}},members:{getResponseHeader:function($0){var $1=this.getResponseHeaders();if($1){return $1[$0]||null;}return null;},getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1172]);return this;}}}); |
| 184 |
qx.Class.define($[294],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);var $0=(new Date).valueOf();var $1=$[1287]+$0;var $2=$[1165]+$0;if(qx.core.Variant.isSet($[1],$[13])){this._frame=document.createElement($[812]+$1+$[1643]);}else{this._frame=document.createElement($[239]);}this._frame.src=$[545];this._frame.id=this._frame.name=$1;this._frame.onload=qx.lang.Function.bind(this._onload,this);this._frame.style.display=$[7];document.body.appendChild(this._frame);this._form=document.createElement($[1067]);this._form.target=$1;this._form.id=this._form.name=$2;this._form.style.display=$[7];document.body.appendChild(this._form);this._data=document.createElement($[222]);this._data.id=this._data.name=$[663];this._form.appendChild(this._data);this._frame.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{_lastReadyState:0,send:function(){var $0=this.getMethod();var $1=this.getUrl();var $2=this.getParameters();var $3=[];for(var $4 in $2){var $5=$2[$4];if($5 instanceof Array){for(var $6=0;$6<$5.length;$6++){$3.push(encodeURIComponent($4)+$[197]+encodeURIComponent($5[$6]));}}else{$3.push(encodeURIComponent($4)+$[197]+encodeURIComponent($5));}}if($3.length>0){$1+=($1.indexOf($[194])>=0?$[93]:$[194])+$3.join($[93]);}var $7=this.getFormFields();for(var $4 in $7){var $8=document.createElement($[222]);$8.name=$4;$8.appendChild(document.createTextNode($7[$4]));this._form.appendChild($8);}this._form.action=$1;this._form.method=$0;this._data.appendChild(document.createTextNode(this.getData()));this._form.submit();this.setState($[29]);},_onload:function($0){if(this._form.src){return;}this._switchReadyState(qx.io.remote.IframeTransport._numericMap.complete);},_onreadystatechange:function($0){this._switchReadyState(qx.io.remote.IframeTransport._numericMap[this._frame.readyState]);},_switchReadyState:function($0){switch(this.getState()){case $[15]:case $[33]:case $[27]:case $[32]:this.warn("Ignore Ready State Change");return;}while(this._lastReadyState<$0){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},setRequestHeader:function($0,$1){},getResponseHeader:function($0){return null;},getResponseHeaders:function(){return {};},getStatusCode:function(){return 200;},getStatusText:function(){return $[0];},getIframeWindow:function(){return qx.html.Iframe.getWindow(this._frame);},getIframeDocument:function(){return qx.html.Iframe.getDocument(this._frame);},getIframeBody:function(){return qx.html.Iframe.getBody(this._frame);},getIframeTextContent:function(){var $0=this.getIframeBody();if(!$0){return null;}if(!$0.firstChild){return $[0];}if($0.firstChild.tagName&&$0.firstChild.tagName.toLowerCase()==$[544]){return $0.firstChild.innerHTML;}else{return $0.innerHTML;}},getIframeHtmlContent:function(){var $0=this.getIframeBody();return $0?$0.innerHTML:null;},getFetchedLength:function(){return 0;},getResponseContent:function(){if(this.getState()!==$[15]){{};return null;}{};var $0=this.getIframeTextContent();switch(this.getResponseType()){case qx.util.Mime.TEXT:{};return $0;break;case qx.util.Mime.HTML:$0=this.getIframeHtmlContent();{};return $0;break;case qx.util.Mime.JSON:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?qx.io.Json.parseQx($0):null;}catch(ex){return this.error("Could not execute json: ("+$0+")",ex);}case qx.util.Mime.JAVASCRIPT:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?window.eval($0):null;}catch(ex){return this.error("Could not execute javascript: ("+$0+")",ex);}case qx.util.Mime.XML:$0=this.getIframeDocument();{};return $0;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}}},defer:function($0,$1,$2){qx.io.remote.Exchange.registerType(qx.io.remote.IframeTransport,$[294]);},destruct:function(){if(this._frame){this._frame.onload=null;this._frame.onreadystatechange=null;if(qx.core.Variant.isSet($[1],$[21])){this._frame.src=qx.io.Alias.getInstance().resolve($[456]);}document.body.removeChild(this._frame);}if(this._form){document.body.removeChild(this._form);}this._disposeFields($[307],$[1631]);}}); |
184 |
qx.Class.define($[1346],{statics:{JAVASCRIPT:"text/javascript",JSON:"application/json",XML:"application/xml",TEXT:"text/plain",HTML:"text/html"}}); |
| 185 |
qx.Class.define($[665],{statics:{METHOD_GET:"GET",METHOD_POST:"POST",METHOD_PUT:"PUT",METHOD_HEAD:"HEAD",METHOD_DELETE:"DELETE"}}); |
185 |
qx.Class.define($[296],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);this._req=qx.io.remote.XmlHttpTransport.createRequestObject();this._req.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},requestObjects:[],requestObjectCount:0,isSupported:function(){return qx.net.HttpRequest.create()!=null?true:false;},createRequestObject:function(){return qx.net.HttpRequest.create();},__dummy:function(){}},members:{_localRequest:false,_lastReadyState:0,getRequest:function(){return this._req;},send:function(){this._lastReadyState=0;var $0=this.getRequest();var $1=this.getMethod();var $2=this.getAsynchronous();var $3=this.getUrl();var $4=(qx.core.Client.getInstance().getRunsLocally()&&!(/^http(s){0,1}\:/.test($3)));this._localRequest=$4;var $5=this.getParameters();var $6=[];for(var $7 in $5){var $8=$5[$7];if($8 instanceof Array){for(var $9=0;$9<$8.length;$9++){$6.push(encodeURIComponent($7)+$[198]+encodeURIComponent($8[$9]));}}else{$6.push(encodeURIComponent($7)+$[198]+encodeURIComponent($8));}}if($6.length>0){$3+=($3.indexOf($[195])>=0?$[93]:$[195])+$6.join($[93]);}var $a=function($b){var $c=$[960];var $d=$[0];var $e,$f,$g;var $h,$i,$j,$k;var $9=0;do{$e=$b.charCodeAt($9++);$f=$b.charCodeAt($9++);$g=$b.charCodeAt($9++);$h=$e>>2;$i=(($e&3)<<4)|($f>>4);$j=(($f&15)<<2)|($g>>6);$k=$g&63;if(isNaN($f)){$j=$k=64;}else if(isNaN($g)){$k=64;}$d+=$c.charAt($h)+$c.charAt($i)+$c.charAt($j)+$c.charAt($k);}while($9<$b.length);return $d;};$0.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);if(this.getUsername()){if(this.getUseBasicHttpAuth()){$0.open($1,$3,$2);$0.setRequestHeader($[892],$[1213]+$a(this.getUsername()+$[1488]+this.getPassword()));}else{$0.open($1,$3,$2,this.getUsername(),this.getPassword());}}else{$0.open($1,$3,$2);}if(!qx.core.Variant.isSet($[1],$[94])){$0.setRequestHeader($[1230],window.location.href);}var $l=this.getRequestHeaders();for(var $7 in $l){$0.setRequestHeader($7,$l[$7]);}try{{};$0.send(this.getData());}catch(ex){if($4){this.failedLocally();}else{this.error("Failed to send data: "+ex,ex);this.failed();}return;}if(!$2){this._onreadystatechange();}},failedLocally:function(){if(this.getState()===$[29]){return;}this.warn("Could not load from file: "+this.getUrl());this.failed();},_onreadystatechange:function($0){switch(this.getState()){case $[17]:case $[36]:case $[29]:case $[34]:{};return;}var $1=this.getReadyState();if($1==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),$1,this._localRequest)){return this.failed();}}while(this._lastReadyState<$1){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},getReadyState:function(){var $0=null;try{$0=this._req.readyState;}catch(ex){}return $0;},setRequestHeader:function($0,$1){this._req.setRequestHeader($0,$1);},getResponseHeader:function($0){var $1=null;try{this.getRequest().getResponseHeader($0)||null;}catch(ex){}return $1;},getStringResponseHeaders:function(){var $0=null;try{var $1=this._req.getAllResponseHeaders();if($1){$0=$1;}}catch(ex){}return $0;},getResponseHeaders:function(){var $0=this.getStringResponseHeaders();var $1={};if($0){var $2=$0.split(/[\r\n]+/g);for(var $3=0,$4=$2.length;$3<$4;$3++){var $5=$2[$3].match(/^([^:]+)\s*:\s*(.+)$/i);if($5){$1[$5[1]]=$5[2];}}}return $1;},getStatusCode:function(){var $0=-1;try{$0=this.getRequest().status;}catch(ex){}return $0;},getStatusText:function(){var $0=$[0];try{$0=this.getRequest().statusText;}catch(ex){}return $0;},getResponseText:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseText;}catch(ex){}}return $0;},getResponseXml:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseXML;}catch(ex){}}if(typeof $0==$[28]&&$0!=null){if(!$0.documentElement){var $3=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,$[0]);$0.loadXML($3);}if(!$0.documentElement){throw new Error("Missing Document Element!");}if($0.documentElement.tagName==$[1404]){throw new Error("XML-File is not well-formed!");}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]");}return $0;},getFetchedLength:function(){var $0=this.getResponseText();return typeof $0==$[7]?$0.length:0;},getResponseContent:function(){if(this.getState()!==$[17]){{};return null;}{};var $0=this.getResponseText();switch(this.getResponseType()){case qx.util.Mime.TEXT:case qx.util.Mime.HTML:{};return $0;case qx.util.Mime.JSON:{};try{if($0&&$0.length>0){return qx.io.Json.parseQx($0)||null;}else{return null;}}catch(ex){this.error("Could not execute json: ["+$0+"]",ex);return null;}case qx.util.Mime.JAVASCRIPT:{};try{if($0&&$0.length>0){return window.eval($0)||null;}else{return null;}}catch(ex){this.error("Could not execute javascript: ["+$0+"]",ex);return null;}case qx.util.Mime.XML:$0=this.getResponseXml();{};return $0||null;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}},_applyState:function($0,$1){{};switch($0){case $[134]:this.createDispatchEvent($[134]);break;case $[73]:this.createDispatchEvent($[73]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[43]:this.createDispatchEvent($[43]);break;case $[17]:this.createDispatchEvent($[17]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[36]:this.getRequest().abort();this.createDispatchEvent($[36]);break;case $[34]:this.getRequest().abort();this.createDispatchEvent($[34]);break;}}},defer:function($0,$1){qx.io.remote.Exchange.registerType(qx.io.remote.XmlHttpTransport,$[296]);},destruct:function(){var $0=this.getRequest();if($0){$0.onreadystatechange=qx.io.remote.XmlHttpTransport.__dummy;switch($0.readyState){case 1:case 2:case 3:$0.abort();}}this._disposeFields($[1402]);}}); |
| 186 |
qx.Class.define($[514],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);this._requestHeaders={};this._parameters={};this._formFields={};if($0!==undefined){this.setUrl($0);}if($1!==undefined){this.setMethod($1);}if($2!==undefined){this.setResponseType($2);}this.setProhibitCaching(true);this.setRequestHeader($[1514],$[838]);this.setRequestHeader($[1655],qx.core.Version.toString());this._seqNum=++qx.io.remote.Request._seqNum;},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[94],"aborted":$[94],"failed":$[94],"timeout":$[94]},statics:{_seqNum:0},properties:{url:{check:$[6],init:$[0]},method:{check:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST,qx.net.Http.METHOD_PUT,qx.net.Http.METHOD_HEAD,qx.net.Http.METHOD_DELETE],apply:$[1316],init:qx.net.Http.METHOD_GET},asynchronous:{check:$[2],init:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[71],$[198],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[71],apply:$[296],event:$[290]},responseType:{check:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML],init:qx.util.Mime.TEXT,apply:$[1082]},timeout:{check:$[5],nullable:true},prohibitCaching:{check:$[2],init:true,apply:$[1634]},crossDomain:{check:$[2],init:false},fileUpload:{check:$[2],init:false},transport:{check:$[510],nullable:true},useBasicHttpAuth:{check:$[2],init:false}},members:{send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case $[29]:case $[39]:this.error("Aborting already sent request!");case $[198]:this.abort();break;}},isConfigured:function(){return this.getState()===$[71];},isQueued:function(){return this.getState()===$[198];},isSending:function(){return this.getState()===$[29];},isReceiving:function(){return this.getState()===$[39];},isCompleted:function(){return this.getState()===$[15];},isAborted:function(){return this.getState()===$[33];},isTimeout:function(){return this.getState()===$[32];},isFailed:function(){return this.getState()===$[27];},_onqueued:function($0){this.setState($[198]);this.dispatchEvent($0);},_onsending:function($0){this.setState($[29]);this.dispatchEvent($0);},_onreceiving:function($0){this.setState($[39]);this.dispatchEvent($0);},_oncompleted:function($0){this.setState($[15]);this.dispatchEvent($0);this.dispose();},_onaborted:function($0){this.setState($[33]);this.dispatchEvent($0);this.dispose();},_ontimeout:function($0){this.setState($[32]);this.dispatchEvent($0);this.dispose();},_onfailed:function($0){this.setState($[27]);this.dispatchEvent($0);this.dispose();},_applyState:function($0,$1){{};},_applyProhibitCaching:function($0,$1){if($0){this.setParameter($[352],new Date().valueOf());this.setRequestHeader($[379],$[367]);this.setRequestHeader($[428],$[367]);}else{this.removeParameter($[352]);this.removeRequestHeader($[379]);this.removeRequestHeader($[428]);}},_applyMethod:function($0,$1){if($0===qx.net.Http.METHOD_POST){this.setRequestHeader($[326],$[628]);}else{this.removeRequestHeader($[326]);}},_applyResponseType:function($0,$1){this.setRequestHeader($[936],$0);},setRequestHeader:function($0,$1){this._requestHeaders[$0]=$1;},removeRequestHeader:function($0){delete this._requestHeaders[$0];},getRequestHeader:function($0){return this._requestHeaders[$0]||null;},getRequestHeaders:function(){return this._requestHeaders;},setParameter:function($0,$1){this._parameters[$0]=$1;},removeParameter:function($0){delete this._parameters[$0];},getParameter:function($0){return this._parameters[$0]||null;},getParameters:function(){return this._parameters;},setFormField:function($0,$1){this._formFields[$0]=$1;},removeFormField:function($0){delete this._formFields[$0];},getFormField:function($0){return this._formFields[$0]||null;},getFormFields:function(){return this._formFields;},getSequenceNumber:function(){return this._seqNum;}},destruct:function(){this.setTransport(null);this._disposeFields($[1023],$[1485],$[1251]);}}); |
186 |
qx.Class.define($[1733],{statics:{create:qx.core.Variant.select($[1],{"default":function(){return new XMLHttpRequest;},"mshtml":qx.lang.Object.select(location.protocol!==$[450]&&window.XMLHttpRequest?$[793]:$[1624],{"native":function(){return new XMLHttpRequest;},"activeX":function(){if(this.__server){return new ActiveXObject(this.__server);}var $0=[$[1283],$[1690],$[924],$[1759],$[1128]];var $1;var $2;for(var $3=0,$4=$0.length;$3<$4;$3++){$2=$0[$3];try{$1=new ActiveXObject($2);break;}catch(ex){$1=null;}}if($1){this.__server=$2;}return $1;}})})}}); |
| 187 |
qx.Class.define($[966],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._queue=[];this._active=[];this._totalRequests=0;this._timer=new qx.client.Timer(500);this._timer.addEventListener($[86],this._oninterval,this);},properties:{enabled:{init:true,check:$[2],apply:$[302]},maxTotalRequests:{check:$[5],nullable:true},maxConcurrentRequests:{check:$[5],init:3},defaultTimeout:{check:$[5],init:5000}},members:{_debug:function(){var $0=this._active.length+$[135]+(this._queue.length+this._active.length);{};},_check:function(){this._debug();if(this._active.length==0&&this._queue.length==0){this._timer.stop();}if(!this.getEnabled()){return;}if(this._active.length>=this.getMaxConcurrentRequests()||this._queue.length==0){return;}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return;}var $0=this._queue.shift();var $1=new qx.io.remote.Exchange($0);this._totalRequests++;this._active.push($1);this._debug();$1.addEventListener($[29],$0._onsending,$0);$1.addEventListener($[39],$0._onreceiving,$0);$1.addEventListener($[15],$0._oncompleted,$0);$1.addEventListener($[33],$0._onaborted,$0);$1.addEventListener($[32],$0._ontimeout,$0);$1.addEventListener($[27],$0._onfailed,$0);$1.addEventListener($[29],this._onsending,this);$1.addEventListener($[15],this._oncompleted,this);$1.addEventListener($[33],this._oncompleted,this);$1.addEventListener($[32],this._oncompleted,this);$1.addEventListener($[27],this._oncompleted,this);$1._start=(new Date).valueOf();$1.send();if(this._queue.length>0){this._check();}},_remove:function($0){qx.lang.Array.remove(this._active,$0);$0.dispose();this._check();},_activeCount:0,_onsending:function($0){{};},_oncompleted:function($0){{};this._remove($0.getTarget());},_oninterval:function($0){var $1=this._active;if($1.length==0){this._timer.stop();return;}var $2=(new Date).valueOf();var $3;var $4;var $5=this.getDefaultTimeout();var $6;var $7;for(var $8=$1.length-1;$8>=0;$8--){$3=$1[$8];$4=$3.getRequest();if($4.isAsynchronous()){$6=$4.getTimeout();if($6==0){continue;}if($6==null){$6=$5;}$7=$2-$3._start;if($7>$6){this.warn("Timeout: transport "+$3.toHashCode());this.warn($7+"ms > "+$6+"ms");$3.timeout();}}}},_applyEnabled:function($0,$1){if($0){this._check();}this._timer.setEnabled($0);},add:function($0){$0.setState($[198]);this._queue.push($0);this._check();if(this.getEnabled()){this._timer.start();}},abort:function($0){var $1=$0.getTransport();if($1){$1.abort();}else if(qx.lang.Array.contains(this._queue,$0)){qx.lang.Array.remove(this._queue,$0);}}},destruct:function(){this._disposeObjectDeep($[1257],1);this._disposeObjects($[284]);this._disposeFields($[1042]);}}); |
187 |
qx.Class.define($[298],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);var $0=(new Date).valueOf();var $1=$[1310]+$0;var $2=$[1184]+$0;if(qx.core.Variant.isSet($[1],$[13])){this._frame=document.createElement($[828]+$1+$[1666]);}else{this._frame=document.createElement($[243]);}this._frame.src=$[554];this._frame.id=this._frame.name=$1;this._frame.onload=qx.lang.Function.bind(this._onload,this);this._frame.style.display=$[8];document.body.appendChild(this._frame);this._form=document.createElement($[1085]);this._form.target=$1;this._form.id=this._form.name=$2;this._form.style.display=$[8];document.body.appendChild(this._form);this._data=document.createElement($[225]);this._data.id=this._data.name=$[674];this._form.appendChild(this._data);this._frame.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{_lastReadyState:0,send:function(){var $0=this.getMethod();var $1=this.getUrl();var $2=this.getParameters();var $3=[];for(var $4 in $2){var $5=$2[$4];if($5 instanceof Array){for(var $6=0;$6<$5.length;$6++){$3.push(encodeURIComponent($4)+$[198]+encodeURIComponent($5[$6]));}}else{$3.push(encodeURIComponent($4)+$[198]+encodeURIComponent($5));}}if($3.length>0){$1+=($1.indexOf($[195])>=0?$[93]:$[195])+$3.join($[93]);}var $7=this.getFormFields();for(var $4 in $7){var $8=document.createElement($[225]);$8.name=$4;$8.appendChild(document.createTextNode($7[$4]));this._form.appendChild($8);}this._form.action=$1;this._form.method=$0;this._data.appendChild(document.createTextNode(this.getData()));this._form.submit();this.setState($[39]);},_onload:function($0){if(this._form.src){return;}this._switchReadyState(qx.io.remote.IframeTransport._numericMap.complete);},_onreadystatechange:function($0){this._switchReadyState(qx.io.remote.IframeTransport._numericMap[this._frame.readyState]);},_switchReadyState:function($0){switch(this.getState()){case $[17]:case $[36]:case $[29]:case $[34]:this.warn("Ignore Ready State Change");return;}while(this._lastReadyState<$0){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},setRequestHeader:function($0,$1){},getResponseHeader:function($0){return null;},getResponseHeaders:function(){return {};},getStatusCode:function(){return 200;},getStatusText:function(){return $[0];},getIframeWindow:function(){return qx.html.Iframe.getWindow(this._frame);},getIframeDocument:function(){return qx.html.Iframe.getDocument(this._frame);},getIframeBody:function(){return qx.html.Iframe.getBody(this._frame);},getIframeTextContent:function(){var $0=this.getIframeBody();if(!$0){return null;}if(!$0.firstChild){return $[0];}if($0.firstChild.tagName&&$0.firstChild.tagName.toLowerCase()==$[553]){return $0.firstChild.innerHTML;}else{return $0.innerHTML;}},getIframeHtmlContent:function(){var $0=this.getIframeBody();return $0?$0.innerHTML:null;},getFetchedLength:function(){return 0;},getResponseContent:function(){if(this.getState()!==$[17]){{};return null;}{};var $0=this.getIframeTextContent();switch(this.getResponseType()){case qx.util.Mime.TEXT:{};return $0;break;case qx.util.Mime.HTML:$0=this.getIframeHtmlContent();{};return $0;break;case qx.util.Mime.JSON:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?qx.io.Json.parseQx($0):null;}catch(ex){return this.error("Could not execute json: ("+$0+")",ex);}case qx.util.Mime.JAVASCRIPT:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?window.eval($0):null;}catch(ex){return this.error("Could not execute javascript: ("+$0+")",ex);}case qx.util.Mime.XML:$0=this.getIframeDocument();{};return $0;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}}},defer:function($0,$1,$2){qx.io.remote.Exchange.registerType(qx.io.remote.IframeTransport,$[298]);},destruct:function(){if(this._frame){this._frame.onload=null;this._frame.onreadystatechange=null;if(qx.core.Variant.isSet($[1],$[16])){this._frame.src=qx.io.Alias.getInstance().resolve($[464]);}document.body.removeChild(this._frame);}if(this._form){document.body.removeChild(this._form);}this._disposeFields($[311],$[1654]);}}); |
| 188 |
qx.Class.define($[1534],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);this.initSelectable();this.initTabIndex();this.initScrolling();if($0!=null){this.setSource($0);}},events:{"load":$[4]},statics:{load:function($0){if(!$0){throw new Error("Could not find iframe which was loaded [A]!");}if($0.currentTarget){$0=$0.currentTarget;}if($0._QxIframe){$0._QxIframe._onload();}else{throw new Error("Could not find iframe which was loaded [B]!");}}},properties:{tabIndex:{refine:true,init:0},selectable:{refine:true,init:false},appearance:{refine:true,init:$[239]},source:{check:$[6],apply:$[364],event:$[393],nullable:true},frameName:{check:$[6],init:$[0],apply:$[1417]},scrolling:{check:[$[1315],$[1069],$[3]],init:$[3],apply:$[783]}},members:{getIframeNode:function(){return this._iframeNode;},setIframeNode:function($0){return this._iframeNode=$0;},getBlockerNode:function(){return this._blockerNode;},setBlockerNode:function($0){return this._blockerNode=$0;},getContentWindow:function(){if(this.isCreated()){return qx.html.Iframe.getWindow(this.getIframeNode());}else{return null;}},getContentDocument:function(){if(this.isCreated()){return qx.html.Iframe.getDocument(this.getIframeNode());}else{return null;}},isLoaded:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this.getContentDocument();return $0?$0.readyState==$[645]:false;},"default":function(){return this._isLoaded;}}),reload:function(){if(this.isCreated()&&this.getContentWindow()){this._isLoaded=false;var $0=this.queryCurrentUrl()||this.getSource();try{try{this.getContentWindow().location.replace($0);}catch(ex){this.warn("Could not reload iframe using location.replace()!",ex);this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}}},queryCurrentUrl:function(){var $0=this.getContentDocument();try{if($0&&$0.location){return $0.location.href;}}catch(ex){}return null;},block:function(){if(this._blockerNode){this._blockerNode.style.display=$[0];}},release:function(){if(this._blockerNode){this._blockerNode.style.display=$[7];}},_generateIframeElement:function($0){if(qx.core.Variant.isSet($[1],$[13])){var $1=$0?$[1164]+$0+$[109]:$[521];var $2=qx.ui.embed.Iframe._element=document.createElement($[1358]+$1+$[1099]);}else{var $2=qx.ui.embed.Iframe._element=document.createElement($[239]);$2.onload=qx.ui.embed.Iframe.load;if($0){$2.name=$0;}}$2._QxIframe=this;$2.frameBorder=$[41];$2.frameSpacing=$[41];$2.marginWidth=$[41];$2.marginHeight=$[41];$2.width=$[56];$2.height=$[56];$2.hspace=$[41];$2.vspace=$[41];$2.border=$[41];$2.unselectable=$[23];$2.allowTransparency=$[889];$2.style.position=$[54];$2.style.top=0;$2.style.left=0;return $2;},_generateBlockerElement:function(){var $0=qx.ui.embed.Iframe._blocker=document.createElement($[67]);var $1=$0.style;if(qx.core.Variant.isSet($[1],$[13])){$1.backgroundColor=$[201];$1.filter=$[1656];}$1.position=$[54];$1.top=0;$1.left=0;$1.width=$[56];$1.height=$[56];$1.zIndex=1;$1.display=$[7];return $0;},_applyElement:function($0,$1){var $2=this.setIframeNode(this._generateIframeElement());var $3=this.setBlockerNode(this._generateBlockerElement());this._syncSource();this._syncScrolling();$0.appendChild($2);$0.appendChild($3);arguments.callee.base.call(this,$0,$1);},_beforeAppear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().add(this);},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().remove(this);},_applySource:function($0,$1){if(this.isCreated()){this._syncSource();}},_syncSource:function(){var $0=this.getSource();if($0==null||$0===$[0]){$0=qx.io.Alias.getInstance().resolve($[583]);}this._isLoaded=false;try{if(this.getContentWindow()){try{this.getContentWindow().location.replace($0);}catch(ex){this.getIframeNode().src=$0;}}else{this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}},_applyScrolling:function($0,$1){if(this.isCreated()){this._syncScrolling();}},_syncScrolling:function(){this.getIframeNode().setAttribute($[844],this.getScrolling());},_applyFrameName:function($0,$1,$2,$3){if(this.isCreated()){throw new Error("Not allowed to set frame name after it has been created");}},_onload:function(){if(!this._isLoaded){this._isLoaded=true;this.createDispatchEvent($[82]);}},_isLoaded:false},destruct:function(){if(this._iframeNode){this._iframeNode._QxIframe=null;this._iframeNode.onload=null;}this._disposeFields($[601],$[1241],$[865]);}}); |
188 |
qx.Class.define($[676],{statics:{METHOD_GET:"GET",METHOD_POST:"POST",METHOD_PUT:"PUT",METHOD_HEAD:"HEAD",METHOD_DELETE:"DELETE"}}); |
| 189 |
qx.Class.define($[1227],{statics:{getInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientWidth){return $0.document.documentElement.clientWidth;}else if($0.document.body){return $0.document.body.clientWidth;}return 0;},"default":function($0){return $0.innerWidth;}}),getInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientHeight){return $0.document.documentElement.clientHeight;}else if($0.document.body){return $0.document.body.clientHeight;}return 0;},"default":function($0){return $0.innerHeight;}}),getScrollLeft:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollLeft){return $0.document.documentElement.scrollLeft;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollLeft;}}),getScrollTop:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollTop){return $0.document.documentElement.scrollTop;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollTop;}})}}); |
189 |
qx.Class.define($[521],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);this._requestHeaders={};this._parameters={};this._formFields={};if($0!==undefined){this.setUrl($0);}if($1!==undefined){this.setMethod($1);}if($2!==undefined){this.setResponseType($2);}this.setProhibitCaching(true);this.setRequestHeader($[1536],$[854]);this.setRequestHeader($[1677],qx.core.Version.toString());this._seqNum=++qx.io.remote.Request._seqNum;},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[107],"aborted":$[107],"failed":$[107],"timeout":$[107]},statics:{_seqNum:0},properties:{url:{check:$[6],init:$[0]},method:{check:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST,qx.net.Http.METHOD_PUT,qx.net.Http.METHOD_HEAD,qx.net.Http.METHOD_DELETE],apply:$[1337],init:qx.net.Http.METHOD_GET},asynchronous:{check:$[2],init:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[73],$[200],$[39],$[43],$[17],$[36],$[34],$[29]],init:$[73],apply:$[300],event:$[293]},responseType:{check:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML],init:qx.util.Mime.TEXT,apply:$[1100]},timeout:{check:$[5],nullable:true},prohibitCaching:{check:$[2],init:true,apply:$[1657]},crossDomain:{check:$[2],init:false},fileUpload:{check:$[2],init:false},transport:{check:$[517],nullable:true},useBasicHttpAuth:{check:$[2],init:false}},members:{send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case $[39]:case $[43]:this.error("Aborting already sent request!");case $[200]:this.abort();break;}},isConfigured:function(){return this.getState()===$[73];},isQueued:function(){return this.getState()===$[200];},isSending:function(){return this.getState()===$[39];},isReceiving:function(){return this.getState()===$[43];},isCompleted:function(){return this.getState()===$[17];},isAborted:function(){return this.getState()===$[36];},isTimeout:function(){return this.getState()===$[34];},isFailed:function(){return this.getState()===$[29];},_onqueued:function($0){this.setState($[200]);this.dispatchEvent($0);},_onsending:function($0){this.setState($[39]);this.dispatchEvent($0);},_onreceiving:function($0){this.setState($[43]);this.dispatchEvent($0);},_oncompleted:function($0){this.setState($[17]);this.dispatchEvent($0);this.dispose();},_onaborted:function($0){this.setState($[36]);this.dispatchEvent($0);this.dispose();},_ontimeout:function($0){this.setState($[34]);this.dispatchEvent($0);this.dispose();},_onfailed:function($0){this.setState($[29]);this.dispatchEvent($0);this.dispose();},_applyState:function($0,$1){{};},_applyProhibitCaching:function($0,$1){if($0){this.setParameter($[358],new Date().valueOf());this.setRequestHeader($[384],$[372]);this.setRequestHeader($[436],$[372]);}else{this.removeParameter($[358]);this.removeRequestHeader($[384]);this.removeRequestHeader($[436]);}},_applyMethod:function($0,$1){if($0===qx.net.Http.METHOD_POST){this.setRequestHeader($[332],$[641]);}else{this.removeRequestHeader($[332]);}},_applyResponseType:function($0,$1){this.setRequestHeader($[956],$0);},setRequestHeader:function($0,$1){this._requestHeaders[$0]=$1;},removeRequestHeader:function($0){delete this._requestHeaders[$0];},getRequestHeader:function($0){return this._requestHeaders[$0]||null;},getRequestHeaders:function(){return this._requestHeaders;},setParameter:function($0,$1){this._parameters[$0]=$1;},removeParameter:function($0){delete this._parameters[$0];},getParameter:function($0){return this._parameters[$0]||null;},getParameters:function(){return this._parameters;},setFormField:function($0,$1){this._formFields[$0]=$1;},removeFormField:function($0){delete this._formFields[$0];},getFormField:function($0){return this._formFields[$0]||null;},getFormFields:function(){return this._formFields;},getSequenceNumber:function(){return this._seqNum;}},destruct:function(){this.setTransport(null);this._disposeFields($[1041],$[1506],$[1274]);}}); |
| 190 |
qx.Class.define($[726],{extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this,$0?$[132]:$[117]);this._horizontal=($0==true);this._scrollBar=new qx.ui.basic.ScrollArea;if(qx.core.Variant.isSet($[1],$[21])){this._scrollBar.setStyleProperty($[78],$[0]);}this._scrollBar.setOverflow($0?$[112]:$[111]);this._scrollBar.addEventListener($[26],this._onscroll,this);this._scrollContent=new qx.ui.basic.Terminator;if(qx.core.Variant.isSet($[1],$[21])){this._scrollContent.setStyleProperty($[78],$[0]);}this._scrollBar.add(this._scrollContent);if(this._horizontal){this._scrollContent.setHeight(5);this._scrollBar.setWidth($[56]);this._scrollBar.setHeight(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setHeight(this._getScrollBarWidth());this.setOverflow($[36]);this._scrollBar.setHeight(this._getScrollBarWidth()+1);this._scrollBar.setTop(-1);}}else{this._scrollContent.setWidth(5);this._scrollBar.setHeight($[56]);this._scrollBar.setWidth(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(this._getScrollBarWidth());this.setOverflow($[36]);this._scrollBar.setWidth(this._getScrollBarWidth()+1);this._scrollBar.setLeft(-1);}}this.add(this._scrollBar);this._blocker=new qx.ui.basic.Terminator();this._blocker.set({left:0,top:0,height:$[56],width:$[56],display:!this.getEnabled()});this._blocker.setAppearance($[791]);this.add(this._blocker);this.setMaximum(0);},statics:{EVENT_DELAY:250},properties:{value:{check:$[19],init:0,apply:$[209],event:$[124],transform:$[1776]},maximum:{check:$[5],apply:$[1432]},mergeEvents:{check:$[2],init:false}},members:{_checkValue:function($0){var $1=!this.getElement()?0:(this._horizontal?this.getInnerWidth():this.getInnerHeight());return Math.max(0,Math.min(this.getMaximum()-$1,$0));},_applyValue:function($0,$1){if(!this._internalValueChange&&this._isCreated){this._positionKnob($0);}},_applyMaximum:function($0,$1){if(this._horizontal){this._scrollContent.setWidth($0);}else{this._scrollContent.setHeight($0);}this.setValue(this._checkValue(this.getValue()));},_applyVisibility:function($0,$1){if(!$0){this._positionKnob(0);}else{this._positionKnob(this.getValue());}return arguments.callee.base.call(this,$0,$1);},_computePreferredInnerWidth:function(){return this._horizontal?0:this._getScrollBarWidth();},_computePreferredInnerHeight:function(){return this._horizontal?this._getScrollBarWidth():0;},_applyEnabled:function($0){arguments.callee.base.call(this);this._blocker.setDisplay(!this.getEnabled());},_getScrollBarWidth:function(){if(qx.ui.basic.ScrollBar._scrollBarWidth==null){var $0=document.createElement($[67]);$0.style.width=$[252];$0.style.height=$[252];$0.style.overflow=$[26];$0.style.visibility=$[36];document.body.appendChild($0);qx.ui.basic.ScrollBar._scrollBarWidth=$0.offsetWidth-$0.clientWidth;document.body.removeChild($0);}return qx.ui.basic.ScrollBar._scrollBarWidth;},_onscroll:function($0){var $1=this._horizontal?this._scrollBar.getScrollLeft():this._scrollBar.getScrollTop();if(this.getMergeEvents()){this._lastScrollEventValue=$1;window.clearTimeout(this._setValueTimerId);var $2=this;this._setValueTimerId=window.setTimeout(function(){$2._internalValueChange=true;$2.setValue($2._lastScrollEventValue);$2._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();},qx.ui.basic.ScrollBar.EVENT_DELAY);}else{this._internalValueChange=true;this.setValue($1);this._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();}},_positionKnob:function($0){if(this.isCreated()){if(this._horizontal){this._scrollBar.setScrollLeft($0);}else{this._scrollBar.setScrollTop($0);}}},_afterAppear:function(){arguments.callee.base.call(this);this._positionKnob(this.getValue());}},destruct:function(){this._disposeObjects($[1774],$[777],$[490]);}}); |
190 |
qx.Class.define($[985],{type:$[20],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._queue=[];this._active=[];this._totalRequests=0;this._timer=new qx.client.Timer(500);this._timer.addEventListener($[76],this._oninterval,this);},properties:{enabled:{init:true,check:$[2],apply:$[306]},maxTotalRequests:{check:$[5],nullable:true},maxConcurrentRequests:{check:$[5],init:3},defaultTimeout:{check:$[5],init:5000}},members:{_debug:function(){var $0;},_check:function(){this._debug();if(this._active.length==0&&this._queue.length==0){this._timer.stop();}if(!this.getEnabled()){return;}if(this._active.length>=this.getMaxConcurrentRequests()||this._queue.length==0){return;}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return;}var $0=this._queue.shift();var $1=new qx.io.remote.Exchange($0);this._totalRequests++;this._active.push($1);this._debug();$1.addEventListener($[39],this._onsending,this);$1.addEventListener($[43],this._onreceiving,this);$1.addEventListener($[17],this._oncompleted,this);$1.addEventListener($[36],this._oncompleted,this);$1.addEventListener($[34],this._oncompleted,this);$1.addEventListener($[29],this._oncompleted,this);var $2=true;try{$2=$1.send();}catch(exc){$2=exc;}if($2!==true){var $3=new qx.io.remote.Response($[617]);$3.setContent($2);$1.dispatchEvent($3);}else{$1._start=(new Date()).valueOf();}if(this._queue.length>0){this._check();}},_remove:function($0){qx.lang.Array.remove(this._active,$0);this._check();},_activeCount:0,_onsending:function($0){{};var $1=$0.getTarget();$1.getRequest()._onsending($0);},_onreceiving:function($0){$0.getTarget().getRequest()._onreceiving($0);},_oncompleted:function($0){{};var $1=$0.getTarget();this._remove($1);var $2=$1.getRequest();if($2[$[418]+$0.getType()]){$2[$[418]+$0.getType()]($0);}$1.dispose();},_oninterval:function($0){var $1=this._active;if($1.length==0){this._timer.stop();return;}var $2;var $3;var $4=this.getDefaultTimeout();var $5;var $6;for(var $7=$1.length-1;$7>=0;$7--){$2=$1[$7];$3=$2.getRequest();if($3.isAsynchronous()){$5=$3.getTimeout();if($5==0||$2._start==null){continue;}if($5==null){$5=$4;}$6=(new Date).valueOf()-$2._start;if($6>$5){this.warn("Timeout: transport "+$2.toHashCode());this.warn($6+"ms > "+$5+"ms");$2.timeout();}}}},_applyEnabled:function($0,$1){if($0){this._check();}this._timer.setEnabled($0);},add:function($0){$0.setState($[200]);this._queue.push($0);this._check();if(this.getEnabled()){this._timer.start();}},abort:function($0){var $1=$0.getTransport();if($1){$1.abort();}else if(qx.lang.Array.contains(this._queue,$0)){qx.lang.Array.remove(this._queue,$0);}}},destruct:function(){this._disposeObjectDeep($[1280],1);this._disposeObjects($[287]);this._disposeFields($[1060]);}}); |
| 191 |
qx.Class.define($[1211],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.__onscroll=qx.lang.Function.bindEvent(this._onscroll,this);},events:{"scroll":$[4]},members:{_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.attachEvent($[523],this.__onscroll);}else{$0.addEventListener($[26],this.__onscroll,false);}}},_onscroll:function($0){this.createDispatchEvent($[26]);qx.event.handler.EventHandler.stopDomEvent($0);}},destruct:function(){var $0=this.getElement();if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.detachEvent($[523],this.__onscroll);}else{$0.removeEventListener($[26],this.__onscroll,false);}delete this.__onscroll;}}}); |
191 |
qx.Class.define($[1556],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);this.initSelectable();this.initTabIndex();this.initScrolling();if($0!=null){this.setSource($0);}},events:{"load":$[4]},statics:{load:function($0){if(!$0){throw new Error("Could not find iframe which was loaded [A]!");}if($0.currentTarget){$0=$0.currentTarget;}if($0._QxIframe){$0._QxIframe._onload();}else{throw new Error("Could not find iframe which was loaded [B]!");}}},properties:{tabIndex:{refine:true,init:0},selectable:{refine:true,init:false},appearance:{refine:true,init:$[243]},source:{check:$[6],apply:$[369],event:$[399],nullable:true},frameName:{check:$[6],init:$[0],apply:$[1435]},scrolling:{check:[$[1336],$[1087],$[3]],init:$[3],apply:$[796]}},members:{getIframeNode:function(){return this._iframeNode;},setIframeNode:function($0){return this._iframeNode=$0;},getBlockerNode:function(){return this._blockerNode;},setBlockerNode:function($0){return this._blockerNode=$0;},getContentWindow:function(){if(this.isCreated()){return qx.html.Iframe.getWindow(this.getIframeNode());}else{return null;}},getContentDocument:function(){if(this.isCreated()){return qx.html.Iframe.getDocument(this.getIframeNode());}else{return null;}},isLoaded:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this.getContentDocument();return $0?$0.readyState==$[658]:false;},"default":function(){return this._isLoaded;}}),reload:function(){if(this.isCreated()&&this.getContentWindow()){this._isLoaded=false;var $0=this.queryCurrentUrl()||this.getSource();try{try{this.getContentWindow().location.replace($0);}catch(ex){this.warn("Could not reload iframe using location.replace()!",ex);this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}}},queryCurrentUrl:function(){var $0=this.getContentDocument();try{if($0&&$0.location){return $0.location.href;}}catch(ex){}return null;},block:function(){if(this._blockerNode&&(!this._blockerNode.parentElement||(qx.core.Variant.isSet($[1],$[16])&&!this._blockerNode.parentNode))){this._getBlockerParent().appendChild(this._blockerNode);}},release:function(){if(this._blockerNode&&(this._blockerNode.parentElement||(qx.core.Variant.isSet($[1],$[16])&&this._blockerNode.parentNode))){this._getBlockerParent().removeChild(this._blockerNode);}},_getBlockerParent:function(){var $0=this.getElement();if(this._innerStyle){return $0.firstChild;}else{return $0;}},_generateIframeElement:function($0){if(qx.core.Variant.isSet($[1],$[13])){var $1=$0?$[1183]+$0+$[112]:$[528];var $2=qx.ui.embed.Iframe._element=document.createElement($[1200]+$1+$[1117]);}else{var $2=qx.ui.embed.Iframe._element=document.createElement($[243]);$2.onload=qx.ui.embed.Iframe.load;if($0){$2.name=$0;}}$2._QxIframe=this;$2.frameBorder=$[45];$2.frameSpacing=$[45];$2.marginWidth=$[45];$2.marginHeight=$[45];$2.width=$[60];$2.height=$[60];$2.hspace=$[45];$2.vspace=$[45];$2.border=$[45];$2.unselectable=$[26];$2.allowTransparency=$[907];$2.style.position=$[58];$2.style.top=0;$2.style.left=0;return $2;},_generateBlockerElement:function(){var $0=qx.ui.embed.Iframe._blocker=document.createElement($[70]);var $1=$0.style;if(qx.core.Variant.isSet($[1],$[13])){$1.backgroundColor=$[202];$1.filter=$[1678];}$1.position=$[58];$1.top=0;$1.left=0;$1.width=$[60];$1.height=$[60];$1.zIndex=1;return $0;},_applyElement:function($0,$1){var $2=this.setIframeNode(this._generateIframeElement());var $3=this.setBlockerNode(this._generateBlockerElement());this._syncSource();this._syncScrolling();$0.appendChild($2);$0.appendChild($3);arguments.callee.base.call(this,$0,$1);},_beforeAppear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().add(this);},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().remove(this);},_applySource:function($0,$1){if(this.isCreated()){this._syncSource();}},_syncSource:function(){var $0=this.getSource();if($0==null||$0===$[0]){$0=qx.io.Alias.getInstance().resolve($[594]);}this._isLoaded=false;try{if(this.getContentWindow()){try{this.getContentWindow().location.replace($0);}catch(ex){this.getIframeNode().src=$0;}}else{this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}},_applyScrolling:function($0,$1){if(this.isCreated()){this._syncScrolling();}},_syncScrolling:function(){this.getIframeNode().setAttribute($[860],this.getScrolling());},_applyFrameName:function($0,$1,$2,$3){if(this.isCreated()){throw new Error("Not allowed to set frame name after it has been created");}},_onload:function(){if(!this._isLoaded){this._isLoaded=true;this.createDispatchEvent($[83]);}},_isLoaded:false},destruct:function(){if(this._iframeNode){this._iframeNode._QxIframe=null;this._iframeNode.onload=null;}this._disposeFields($[613],$[1264],$[883]);}}); |
|
|
192 |
qx.Class.define($[1250],{statics:{getInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientWidth){return $0.document.documentElement.clientWidth;}else if($0.document.body){return $0.document.body.clientWidth;}return 0;},"default":function($0){return $0.innerWidth;}}),getInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientHeight){return $0.document.documentElement.clientHeight;}else if($0.document.body){return $0.document.body.clientHeight;}return 0;},"default":function($0){return $0.innerHeight;}}),getScrollLeft:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollLeft){return $0.document.documentElement.scrollLeft;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollLeft;}}),getScrollTop:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollTop){return $0.document.documentElement.scrollTop;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollTop;}})}}); |
| 193 |
qx.Class.define($[737],{extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this,$0?$[136]:$[122]);this._horizontal=($0==true);this._scrollBar=new qx.ui.basic.ScrollArea;if(qx.core.Variant.isSet($[1],$[16])){this._scrollBar.setStyleProperty($[80],$[0]);}this._scrollBar.setOverflow($0?$[117]:$[116]);this._scrollBar.addEventListener($[19],this._onscroll,this);this._scrollContent=new qx.ui.basic.Terminator;if(qx.core.Variant.isSet($[1],$[16])){this._scrollContent.setStyleProperty($[80],$[0]);}this._scrollBar.add(this._scrollContent);if(this._horizontal){this._scrollContent.setHeight(5);this._scrollBar.setWidth($[60]);this._scrollBar.setHeight(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setHeight(this._getScrollBarWidth());this.setOverflow($[22]);this._scrollBar.setHeight(this._getScrollBarWidth()+1);this._scrollBar.setTop(-1);}}else{this._scrollContent.setWidth(5);this._scrollBar.setHeight($[60]);this._scrollBar.setWidth(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(this._getScrollBarWidth());this.setOverflow($[22]);this._scrollBar.setWidth(this._getScrollBarWidth()+1);this._scrollBar.setLeft(-1);}}this.add(this._scrollBar);this._blocker=new qx.ui.basic.Terminator();this._blocker.set({left:0,top:0,height:$[60],width:$[60],display:!this.getEnabled()});this._blocker.setAppearance($[806]);this.add(this._blocker);this.setMaximum(0);},statics:{EVENT_DELAY:250},properties:{value:{check:$[21],init:0,apply:$[210],event:$[129],transform:$[1796]},maximum:{check:$[5],apply:$[1450]},mergeEvents:{check:$[2],init:false}},members:{_checkValue:function($0){var $1=!this.getElement()?0:(this._horizontal?this.getInnerWidth():this.getInnerHeight());return Math.max(0,Math.min(this.getMaximum()-$1,$0));},_applyValue:function($0,$1){if(!this._internalValueChange&&this._isCreated){this._positionKnob($0);}},_applyMaximum:function($0,$1){if(this._horizontal){this._scrollContent.setWidth($0);}else{this._scrollContent.setHeight($0);}this.setValue(this._checkValue(this.getValue()));},_applyVisibility:function($0,$1){if(!$0){this._positionKnob(0);}else{this._positionKnob(this.getValue());}return arguments.callee.base.call(this,$0,$1);},_computePreferredInnerWidth:function(){return this._horizontal?0:this._getScrollBarWidth();},_computePreferredInnerHeight:function(){return this._horizontal?this._getScrollBarWidth():0;},_applyEnabled:function($0){arguments.callee.base.call(this);this._blocker.setDisplay(!this.getEnabled());},_getScrollBarWidth:function(){if(qx.ui.basic.ScrollBar._scrollBarWidth==null){var $0=document.createElement($[70]);$0.style.width=$[254];$0.style.height=$[254];$0.style.overflow=$[19];$0.style.visibility=$[22];document.body.appendChild($0);qx.ui.basic.ScrollBar._scrollBarWidth=$0.offsetWidth-$0.clientWidth;document.body.removeChild($0);}return qx.ui.basic.ScrollBar._scrollBarWidth;},_onscroll:function($0){var $1=this._horizontal?this._scrollBar.getScrollLeft():this._scrollBar.getScrollTop();if(this.getMergeEvents()){this._lastScrollEventValue=$1;window.clearTimeout(this._setValueTimerId);var $2=this;this._setValueTimerId=window.setTimeout(function(){$2._internalValueChange=true;$2.setValue($2._lastScrollEventValue);$2._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();},qx.ui.basic.ScrollBar.EVENT_DELAY);}else{this._internalValueChange=true;this.setValue($1);this._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();}},_positionKnob:function($0){if(this.isCreated()){if(this._horizontal){this._scrollBar.setScrollLeft($0);}else{this._scrollBar.setScrollTop($0);}}},_afterAppear:function(){arguments.callee.base.call(this);this._positionKnob(this.getValue());}},destruct:function(){this._disposeObjects($[1794],$[790],$[498]);}}); |
| 194 |
qx.Class.define($[1234],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.__onscroll=qx.lang.Function.bindEvent(this._onscroll,this);},events:{"scroll":$[4]},members:{_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.attachEvent($[530],this.__onscroll);}else{$0.addEventListener($[19],this.__onscroll,false);}}},_onscroll:function($0){this.createDispatchEvent($[19]);qx.event.handler.EventHandler.stopDomEvent($0);}},destruct:function(){var $0=this.getElement();if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.detachEvent($[530],this.__onscroll);}else{$0.removeEventListener($[19],this.__onscroll,false);}delete this.__onscroll;}}}); |