rem: qx.Class.define($[295],{extend:qx.ui.core.Widget,type:$[49],construct:function(){arguments.callee.base.call(this);this._children=[];this._layoutImpl=this._createLayoutImpl();},properties:{focusHandler:{check:$[497],apply:$[1117],nullable:true},activeChild:{check:$[61],apply:$[1507],event:$[657],nullable:true},focusedChild:{check:$[61],apply:$[1255],event:$[805],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(){this.setFocusHandler(new qx.event.handler.FocusHandler(this));},_onfocuskeyevent:function($0){this.getFocusHandler()._onkeyevent(this,$0);},_applyFocusHandler:function($1,$2){if($1){this.addEventListener($[38],this._onfocuskeyevent);if(this.getTabIndex()<1){this.setTabIndex(1);}this.setHideFocus(true);this.setActiveChild(this);}else{this.removeEventListener($[21],this._onfocuskeyevent);this.removeEventListener($[38],this._onfocuskeyevent);this.setTabIndex(-1);this.setHideFocus(false);}},_applyActiveChild:function($1,$2){},_applyFocusedChild:function($1,$2){var $3=$1!=null;var $4=$2!=null;if(qx.Class.isDefined($[161])&&$3){var $5=qx.ui.popup.PopupManager.getInstance();if($5){$5.update($1);}}if($4){if($2.hasEventListeners($[250])){var $6=new qx.event.type.FocusEvent($[250],$2);if($3){$6.setRelatedTarget($1);}$2.dispatchEvent($6);$6.dispose();}}if($3){if($1.hasEventListeners($[239])){var $6=new qx.event.type.FocusEvent($[239],$1);if($4){$6.setRelatedTarget($2);}$1.dispatchEvent($6);$6.dispose();}}if($4){if(this.getActiveChild()==$2&&!$3){this.setActiveChild(null);}$2.setFocused(false);var $6=new qx.event.type.FocusEvent($[192],$2);if($3){$6.setRelatedTarget($1);}$2.dispatchEvent($6);if(qx.Class.isDefined($[150])){var $5=qx.ui.popup.ToolTipManager.getInstance();if($5){$5.handleBlur($6);}}$6.dispose();}if($3){this.setActiveChild($1);$1.setFocused(true);qx.event.handler.EventHandler.getInstance().setFocusRoot(this);var $6=new qx.event.type.FocusEvent($[222],$1);if($4){$6.setRelatedTarget($2);}$1.dispatchEvent($6);if(qx.Class.isDefined($[150])){var $5=qx.ui.popup.ToolTipManager.getInstance();if($5){$5.handleFocus($6);}}$6.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($7){return this.getChildren().indexOf($7);},contains:function($8){switch($8){case null:return false;case this:return true;default:return this.contains($8.getParent());}},_computeVisibleChildren:function(){var $9=[];var $a=this.getChildren();if(!$a){return 0;}var $b=$a.length;for(var $c=0;$c<$b;$c++){var $7=$a[$c];if($7._isDisplayable){$9.push($7);}}return $9;},getVisibleChildrenLength:function(){return this.getVisibleChildren().length;},hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0;},isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0;},add:function($d){var $8;for(var $c=0,$e=arguments.length;$c<$e;$c++){$8=arguments[$c];if(!($8 instanceof qx.ui.core.Parent)&&!($8 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$8);}else{$8.setParent(this);}}return this;},addAt:function($7,$f){if($f==null||$f<0){throw new Error("Not a valid index for addAt(): "+$f);}if($7.getParent()==this){var $a=this.getChildren();var $g=$a.indexOf($7);if($g!=$f){if($g!=-1){qx.lang.Array.removeAt($a,$g);}qx.lang.Array.insertAt($a,$7,$f);if(this._initialLayoutDone){this._invalidateVisibleChildren();this.getLayoutImpl().updateChildrenOnMoveChild($7,$f,$g);}}}else{$7._insertIndex=$f;$7.setParent(this);}},addAtBegin:function($7){return this.addAt($7,0);},addAtEnd:function($7){var $b=this.getChildrenLength();return this.addAt($7,$7.getParent()==this?$b-1:$b);},addBefore:function($7,$h){var $a=this.getChildren();var $i=$a.indexOf($h);if($i==-1){throw new Error("Child to add before: "+$h+" is not inside this parent.");}var $j=$a.indexOf($7);if($j==-1||$j>$i){$i++;}return this.addAt($7,Math.max(0,$i-1));},addAfter:function($7,$k){var $a=this.getChildren();var $i=$a.indexOf($k);if($i==-1){throw new Error("Child to add after: "+$k+" is not inside this parent.");}var $j=$a.indexOf($7);if($j!=-1&&$j<$i){$i--;}return this.addAt($7,Math.min($a.length,$i+1));},remove:function($d){var $8;for(var $c=0,$e=arguments.length;$c<$e;$c++){$8=arguments[$c];if(!($8 instanceof qx.ui.core.Parent)&&!($8 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$8);}else if($8.getParent()==this){$8.setParent(null);}}},removeAt:function($f){var $7=this.getChildren()[$f];if($7){delete $7._insertIndex;$7.setParent(null);}},removeAll:function(){var $l=this.getChildren();var $m=$l[0];while($m){this.remove($m);$m=$l[0];}},getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null;},getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null;},getFirstActiveChild:function($n){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$n,$[461])||null;},getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null;},getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null;},getLastActiveChild:function($n){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$n,$[814])||null;},forEachChild:function($o){var $p=this.getChildren(),$q,$c=-1;if(!$p){return;}while($q=$p[++$c]){$o.call($q,$c);}},forEachVisibleChild:function($o){var $p=this.getVisibleChildren(),$q,$c=-1;if(!$p){return;}while($q=$p[++$c]){$o.call($q,$c);}},_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($r,$s,$t){this.forEachChild(function(){this._handleDisplayable();});},_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue();});},recursiveAddToStateQueue:function(){this.addToStateQueue();this.forEachVisibleChild(function(){this.recursiveAddToStateQueue();});},_recursiveAppearanceThemeUpdate:function($u,$v){arguments.callee.base.call(this,$u,$v);this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($u,$v);});},_addChildToChildrenQueue:function($7){if(!$7._isInParentChildrenQueue&&!$7._isDisplayable){this.warn("Ignoring invisible child: "+$7);}if(!$7._isInParentChildrenQueue&&$7._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this);if(!this._childrenQueue){this._childrenQueue={};}this._childrenQueue[$7.toHashCode()]=$7;}},_removeChildFromChildrenQueue:function($7){if(this._childrenQueue&&$7._isInParentChildrenQueue){delete this._childrenQueue[$7.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($w){this.forEachChild(function(){this.addToLayoutChanges($w);});},_layoutChild:function($7){if(!$7._isDisplayable){return ;}var $x=$7._layoutChanges;try{if($7.renderBorder){if($x.borderTop||$x.borderRight||$x.borderBottom||$x.borderLeft){$7.renderBorder($x);}}}catch(ex){this.error("Could not apply border to child "+$7,ex);}try{if($7.renderPadding){if($x.paddingLeft||$x.paddingRight||$x.paddingTop||$x.paddingBottom){$7.renderPadding($x);}}}catch(ex){this.error("Could not apply padding to child "+$7,ex);}try{this.getLayoutImpl().layoutChild($7,$x);}catch(ex){this.error("Could not layout child "+$7+" through layout handler",ex);}try{$7._layoutPost($x);}catch(ex){this.error("Could not post layout child "+$7,ex);}try{if($x.initial){$7._initialLayoutDone=true;qx.ui.core.Widget.addToGlobalDisplayQueue($7);}}catch(ex){this.error("Could not handle display updates from layout flush for child "+$7,ex);}$7._layoutChanges={};delete $7._isInParentLayoutQueue;delete this._childrenQueue[$7.toHashCode()];},_layoutPost:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth();},_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight();},_changeInnerWidth:function($y,$z){var $A=this.getLayoutImpl();if($A.invalidateChildrenFlexWidth){$A.invalidateChildrenFlexWidth();}this.forEachVisibleChild(function(){if($A.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth();this._recomputeInnerWidth();}});},_changeInnerHeight:function($y,$z){var $A=this.getLayoutImpl();if($A.invalidateChildrenFlexHeight){$A.invalidateChildrenFlexHeight();}this.forEachVisibleChild(function(){if($A.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight();this._recomputeInnerHeight();}});},getInnerWidthForChild:function($7){return this.getInnerWidth();},getInnerHeightForChild:function($7){return this.getInnerHeight();},_remappingChildTable:[$[409],$[303],$[396],$[471],$[315],$[298],$[450],$[324],$[235]],_remapStart:$[1701],_remapStop:$[1486],remapChildrenHandlingTo:function($B){var $C=this._remappingChildTable;this._remappingChildTarget=$B;for(var $c=0,$e=$C.length,$D;$c<$e;$c++){$D=$C[$c];this[$D]=new Function(qx.ui.core.Parent.prototype._remapStart+$D+qx.ui.core.Parent.prototype._remapStop);}}},defer:function($E,$F,$G){if(qx.core.Variant.isSet($[1],$[126])){$F._layoutChildOrig=$F._layoutChild;$F._layoutChild=function($7){if(!$7._initialLayoutDone||!$7._layoutChanges.border){return this._layoutChildOrig($7);}var $H=$7.getElement().style;var $I=$H.display;$H.display=$[7];var $J=this._layoutChildOrig($7);$H.display=$I;return $J;};}},destruct:function(){this._disposeObjectDeep($[1267],1);this._disposeObjects($[959]);this._disposeFields($[308],$[308],$[1027],$[1294],$[558]);}}); 
add: qx.Class.define($[292],{extend:qx.ui.core.Widget,type:$[49],construct:function(){arguments.callee.base.call(this);this._children=[];this._layoutImpl=this._createLayoutImpl();},properties:{focusHandler:{check:$[491],apply:$[1106],nullable:true},activeChild:{check:$[61],apply:$[1492],event:$[654],nullable:true},focusedChild:{check:$[61],apply:$[1239],event:$[800],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(){this.setFocusHandler(new qx.event.handler.FocusHandler(this));},_onfocuskeyevent:function($0){this.getFocusHandler()._onkeyevent(this,$0);},_applyFocusHandler:function($1,$2){if($1){this.addEventListener($[38],this._onfocuskeyevent);if(this.getTabIndex()<1){this.setTabIndex(1);}this.setHideFocus(true);this.setActiveChild(this);}else{this.removeEventListener($[21],this._onfocuskeyevent);this.removeEventListener($[38],this._onfocuskeyevent);this.setTabIndex(-1);this.setHideFocus(false);}},_applyActiveChild:function($1,$2){},_applyFocusedChild:function($1,$2){var $3=$1!=null;var $4=$2!=null;if(qx.Class.isDefined($[159])&&$3){var $5=qx.ui.popup.PopupManager.getInstance();if($5){$5.update($1);}}if($4){if($2.hasEventListeners($[248])){var $6=new qx.event.type.FocusEvent($[248],$2);if($3){$6.setRelatedTarget($1);}$2.dispatchEvent($6);$6.dispose();}}if($3){if($1.hasEventListeners($[236])){var $6=new qx.event.type.FocusEvent($[236],$1);if($4){$6.setRelatedTarget($2);}$1.dispatchEvent($6);$6.dispose();}}if($4){if(this.getActiveChild()==$2&&!$3){this.setActiveChild(null);}$2.setFocused(false);var $6=new qx.event.type.FocusEvent($[191],$2);if($3){$6.setRelatedTarget($1);}$2.dispatchEvent($6);if(qx.Class.isDefined($[148])){var $5=qx.ui.popup.ToolTipManager.getInstance();if($5){$5.handleBlur($6);}}$6.dispose();}if($3){this.setActiveChild($1);$1.setFocused(true);qx.event.handler.EventHandler.getInstance().setFocusRoot(this);var $6=new qx.event.type.FocusEvent($[221],$1);if($4){$6.setRelatedTarget($2);}$1.dispatchEvent($6);if(qx.Class.isDefined($[148])){var $5=qx.ui.popup.ToolTipManager.getInstance();if($5){$5.handleFocus($6);}}$6.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($7){return this.getChildren().indexOf($7);},contains:function($8){switch($8){case null:return false;case this:return true;default:return this.contains($8.getParent());}},_computeVisibleChildren:function(){var $9=[];var $a=this.getChildren();if(!$a){return 0;}var $b=$a.length;for(var $c=0;$c<$b;$c++){var $7=$a[$c];if($7._isDisplayable){$9.push($7);}}return $9;},getVisibleChildrenLength:function(){return this.getVisibleChildren().length;},hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0;},isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0;},add:function($d){var $8;for(var $c=0,$e=arguments.length;$c<$e;$c++){$8=arguments[$c];if(!($8 instanceof qx.ui.core.Parent)&&!($8 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$8);}else{$8.setParent(this);}}return this;},addAt:function($7,$f){if($f==null||$f<0){throw new Error("Not a valid index for addAt(): "+$f);}if($7.getParent()==this){var $a=this.getChildren();var $g=$a.indexOf($7);if($g!=$f){if($g!=-1){qx.lang.Array.removeAt($a,$g);}qx.lang.Array.insertAt($a,$7,$f);if(this._initialLayoutDone){this._invalidateVisibleChildren();this.getLayoutImpl().updateChildrenOnMoveChild($7,$f,$g);}}}else{$7._insertIndex=$f;$7.setParent(this);}},addAtBegin:function($7){return this.addAt($7,0);},addAtEnd:function($7){var $b=this.getChildrenLength();return this.addAt($7,$7.getParent()==this?$b-1:$b);},addBefore:function($7,$h){var $a=this.getChildren();var $i=$a.indexOf($h);if($i==-1){throw new Error("Child to add before: "+$h+" is not inside this parent.");}var $j=$a.indexOf($7);if($j==-1||$j>$i){$i++;}return this.addAt($7,Math.max(0,$i-1));},addAfter:function($7,$k){var $a=this.getChildren();var $i=$a.indexOf($k);if($i==-1){throw new Error("Child to add after: "+$k+" is not inside this parent.");}var $j=$a.indexOf($7);if($j!=-1&&$j<$i){$i--;}return this.addAt($7,Math.min($a.length,$i+1));},remove:function($d){var $8;for(var $c=0,$e=arguments.length;$c<$e;$c++){$8=arguments[$c];if(!($8 instanceof qx.ui.core.Parent)&&!($8 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$8);}else if($8.getParent()==this){$8.setParent(null);}}},removeAt:function($f){var $7=this.getChildren()[$f];if($7){delete $7._insertIndex;$7.setParent(null);}},removeAll:function(){var $l=this.getChildren();var $m=$l[0];while($m){this.remove($m);$m=$l[0];}},getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null;},getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null;},getFirstActiveChild:function($n){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$n,$[457])||null;},getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null;},getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null;},getLastActiveChild:function($n){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$n,$[809])||null;},forEachChild:function($o){var $p=this.getChildren(),$q,$c=-1;if(!$p){return;}while($q=$p[++$c]){$o.call($q,$c);}},forEachVisibleChild:function($o){var $p=this.getVisibleChildren(),$q,$c=-1;if(!$p){return;}while($q=$p[++$c]){$o.call($q,$c);}},_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($r,$s,$t){this.forEachChild(function(){this._handleDisplayable();});},_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue();});},recursiveAddToStateQueue:function(){this.addToStateQueue();this.forEachVisibleChild(function(){this.recursiveAddToStateQueue();});},_recursiveAppearanceThemeUpdate:function($u,$v){arguments.callee.base.call(this,$u,$v);this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($u,$v);});},_addChildToChildrenQueue:function($7){if(!$7._isInParentChildrenQueue&&!$7._isDisplayable){this.warn("Ignoring invisible child: "+$7);}if(!$7._isInParentChildrenQueue&&$7._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this);if(!this._childrenQueue){this._childrenQueue={};}this._childrenQueue[$7.toHashCode()]=$7;}},_removeChildFromChildrenQueue:function($7){if(this._childrenQueue&&$7._isInParentChildrenQueue){delete this._childrenQueue[$7.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($w){this.forEachChild(function(){this.addToLayoutChanges($w);});},_layoutChild:function($7){if(!$7._isDisplayable){return ;}var $x=$7._layoutChanges;try{if($7.renderBorder){if($x.borderTop||$x.borderRight||$x.borderBottom||$x.borderLeft){$7.renderBorder($x);}}}catch(ex){this.error("Could not apply border to child "+$7,ex);}try{if($7.renderPadding){if($x.paddingLeft||$x.paddingRight||$x.paddingTop||$x.paddingBottom){$7.renderPadding($x);}}}catch(ex){this.error("Could not apply padding to child "+$7,ex);}try{this.getLayoutImpl().layoutChild($7,$x);}catch(ex){this.error("Could not layout child "+$7+" through layout handler",ex);}try{$7._layoutPost($x);}catch(ex){this.error("Could not post layout child "+$7,ex);}try{if($x.initial){$7._initialLayoutDone=true;qx.ui.core.Widget.addToGlobalDisplayQueue($7);}}catch(ex){this.error("Could not handle display updates from layout flush for child "+$7,ex);}$7._layoutChanges={};delete $7._isInParentLayoutQueue;delete this._childrenQueue[$7.toHashCode()];},_layoutPost:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth();},_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight();},_changeInnerWidth:function($y,$z){var $A=this.getLayoutImpl();if($A.invalidateChildrenFlexWidth){$A.invalidateChildrenFlexWidth();}this.forEachVisibleChild(function(){if($A.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth();this._recomputeInnerWidth();}});},_changeInnerHeight:function($y,$z){var $A=this.getLayoutImpl();if($A.invalidateChildrenFlexHeight){$A.invalidateChildrenFlexHeight();}this.forEachVisibleChild(function(){if($A.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight();this._recomputeInnerHeight();}});},getInnerWidthForChild:function($7){return this.getInnerWidth();},getInnerHeightForChild:function($7){return this.getInnerHeight();},_remappingChildTable:[$[406],$[301],$[393],$[467],$[313],$[295],$[446],$[322],$[234]],_remapStart:$[1679],_remapStop:$[1471],remapChildrenHandlingTo:function($B){var $C=this._remappingChildTable;this._remappingChildTarget=$B;for(var $c=0,$e=$C.length,$D;$c<$e;$c++){$D=$C[$c];this[$D]=new Function(qx.ui.core.Parent.prototype._remapStart+$D+qx.ui.core.Parent.prototype._remapStop);}}},defer:function($E,$F,$G){if(qx.core.Variant.isSet($[1],$[179])){$F._layoutChildOrig=$F._layoutChild;$F._layoutChild=function($7){if(!$7._initialLayoutDone||!$7._layoutChanges.border){return this._layoutChildOrig($7);}var $H=$7.getElement().style;var $I=$H.display;$H.display=$[7];var $J=this._layoutChildOrig($7);$H.display=$I;return $J;};}},destruct:function(){this._disposeObjectDeep($[1251],1);this._disposeObjects($[950]);this._disposeFields($[306],$[306],$[1017],$[1279],$[552]);}}); 
context: qx.Class.define($[295],{extend:qx.ui.core.Widget,type:$[49],construct:function(){arguments.callee.base.call(this);this._children=[];this._layoutImpl=this._createLayoutImpl();},properties:{focusHandler:{check:$[497],apply:$[1117],nullable:true},activeChild:{check:$[61],apply:$[1507],event:$[657],nullable:true},focusedChild:{check:$[61],apply:$[1255],event:$[805],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(){this.setFocusHandler(new qx.event.handler.FocusHandler(this));},_onfocuskeyevent:function($0){this.getFocusHandler()._onkeyevent(this,$0);},_applyFocusHandler:function($1,$2){if($1){this.addEventListener($[38],this._onfocuskeyevent);if(this.getTabIndex()<1){this.setTabIndex(1);}this.setHideFocus(true);this.setActiveChild(this);}else{this.removeEventListener($[21],this._onfocuskeyevent);this.removeEventListener($[38],this._onfocuskeyevent);this.setTabIndex(-1);this.setHideFocus(false);}},_applyActiveChild:function($1,$2){},_applyFocusedChild:function($1,$2){var $3=$1!=null;var $4=$2!=null;if(qx.Class.isDefined($[161])&&$3){var $5=qx.ui.popup.PopupManager.getInstance();if($5){$5.update($1);}}if($4){if($2.hasEventListeners($[250])){var $6=new qx.event.type.FocusEvent($[250],$2);if($3){$6.setRelatedTarget($1);}$2.dispatchEvent($6);$6.dispose();}}if($3){if($1.hasEventListeners($[239])){var $6=new qx.event.type.FocusEvent($[239],$1);if($4){$6.setRelatedTarget($2);}$1.dispatchEvent($6);$6.dispose();}}if($4){if(this.getActiveChild()==$2&&!$3){this.setActiveChild(null);}$2.setFocused(false);var $6=new qx.event.type.FocusEvent($[192],$2);if($3){$6.setRelatedTarget($1);}$2.dispatchEvent($6);if(qx.Class.isDefined($[150])){var $5=qx.ui.popup.ToolTipManager.getInstance();if($5){$5.handleBlur($6);}}$6.dispose();}if($3){this.setActiveChild($1);$1.setFocused(true);qx.event.handler.EventHandler.getInstance().setFocusRoot(this);var $6=new qx.event.type.FocusEvent($[222],$1);if($4){$6.setRelatedTarget($2);}$1.dispatchEvent($6);if(qx.Class.isDefined($[150])){var $5=qx.ui.popup.ToolTipManager.getInstance();if($5){$5.handleFocus($6);}}$6.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($7){return this.getChildren().indexOf($7);},contains:function($8){switch($8){case null:return false;case this:return true;default:return this.contains($8.getParent());}},_computeVisibleChildren:function(){var $9=[];var $a=this.getChildren();if(!$a){return 0;}var $b=$a.length;for(var $c=0;$c<$b;$c++){var $7=$a[$c];if($7._isDisplayable){$9.push($7);}}return $9;},getVisibleChildrenLength:function(){return this.getVisibleChildren().length;},hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0;},isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0;},add:function($d){var $8;for(var $c=0,$e=arguments.length;$c<$e;$c++){$8=arguments[$c];if(!($8 instanceof qx.ui.core.Parent)&&!($8 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$8);}else{$8.setParent(this);}}return this;},addAt:function($7,$f){if($f==null||$f<0){throw new Error("Not a valid index for addAt(): "+$f);}if($7.getParent()==this){var $a=this.getChildren();var $g=$a.indexOf($7);if($g!=$f){if($g!=-1){qx.lang.Array.removeAt($a,$g);}qx.lang.Array.insertAt($a,$7,$f);if(this._initialLayoutDone){this._invalidateVisibleChildren();this.getLayoutImpl().updateChildrenOnMoveChild($7,$f,$g);}}}else{$7._insertIndex=$f;$7.setParent(this);}},addAtBegin:function($7){return this.addAt($7,0);},addAtEnd:function($7){var $b=this.getChildrenLength();return this.addAt($7,$7.getParent()==this?$b-1:$b);},addBefore:function($7,$h){var $a=this.getChildren();var $i=$a.indexOf($h);if($i==-1){throw new Error("Child to add before: "+$h+" is not inside this parent.");}var $j=$a.indexOf($7);if($j==-1||$j>$i){$i++;}return this.addAt($7,Math.max(0,$i-1));},addAfter:function($7,$k){var $a=this.getChildren();var $i=$a.indexOf($k);if($i==-1){throw new Error("Child to add after: "+$k+" is not inside this parent.");}var $j=$a.indexOf($7);if($j!=-1&&$j<$i){$i--;}return this.addAt($7,Math.min($a.length,$i+1));},remove:function($d){var $8;for(var $c=0,$e=arguments.length;$c<$e;$c++){$8=arguments[$c];if(!($8 instanceof qx.ui.core.Parent)&&!($8 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$8);}else if($8.getParent()==this){$8.setParent(null);}}},removeAt:function($f){var $7=this.getChildren()[$f];if($7){delete $7._insertIndex;$7.setParent(null);}},removeAll:function(){var $l=this.getChildren();var $m=$l[0];while($m){this.remove($m);$m=$l[0];}},getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null;},getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null;},getFirstActiveChild:function($n){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$n,$[461])||null;},getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null;},getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null;},getLastActiveChild:function($n){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$n,$[814])||null;},forEachChild:function($o){var $p=this.getChildren(),$q,$c=-1;if(!$p){return;}while($q=$p[++$c]){$o.call($q,$c);}},forEachVisibleChild:function($o){var $p=this.getVisibleChildren(),$q,$c=-1;if(!$p){return;}while($q=$p[++$c]){$o.call($q,$c);}},_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($r,$s,$t){this.forEachChild(function(){this._handleDisplayable();});},_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue();});},recursiveAddToStateQueue:function(){this.addToStateQueue();this.forEachVisibleChild(function(){this.recursiveAddToStateQueue();});},_recursiveAppearanceThemeUpdate:function($u,$v){arguments.callee.base.call(this,$u,$v);this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($u,$v);});},_addChildToChildrenQueue:function($7){if(!$7._isInParentChildrenQueue&&!$7._isDisplayable){this.warn("Ignoring invisible child: "+$7);}if(!$7._isInParentChildrenQueue&&$7._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this);if(!this._childrenQueue){this._childrenQueue={};}this._childrenQueue[$7.toHashCode()]=$7;}},_removeChildFromChildrenQueue:function($7){if(this._childrenQueue&&$7._isInParentChildrenQueue){delete this._childrenQueue[$7.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($w){this.forEachChild(function(){this.addToLayoutChanges($w);});},_layoutChild:function($7){if(!$7._isDisplayable){return ;}var $x=$7._layoutChanges;try{if($7.renderBorder){if($x.borderTop||$x.borderRight||$x.borderBottom||$x.borderLeft){$7.renderBorder($x);}}}catch(ex){this.error("Could not apply border to child "+$7,ex);}try{if($7.renderPadding){if($x.paddingLeft||$x.paddingRight||$x.paddingTop||$x.paddingBottom){$7.renderPadding($x);}}}catch(ex){this.error("Could not apply padding to child "+$7,ex);}try{this.getLayoutImpl().layoutChild($7,$x);}catch(ex){this.error("Could not layout child "+$7+" through layout handler",ex);}try{$7._layoutPost($x);}catch(ex){this.error("Could not post layout child "+$7,ex);}try{if($x.initial){$7._initialLayoutDone=true;qx.ui.core.Widget.addToGlobalDisplayQueue($7);}}catch(ex){this.error("Could not handle display updates from layout flush for child "+$7,ex);}$7._layoutChanges={};delete $7._isInParentLayoutQueue;delete this._childrenQueue[$7.toHashCode()];},_layoutPost:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth();},_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight();},_changeInnerWidth:function($y,$z){var $A=this.getLayoutImpl();if($A.invalidateChildrenFlexWidth){$A.invalidateChildrenFlexWidth();}this.forEachVisibleChild(function(){if($A.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth();this._recomputeInnerWidth();}});},_changeInnerHeight:function($y,$z){var $A=this.getLayoutImpl();if($A.invalidateChildrenFlexHeight){$A.invalidateChildrenFlexHeight();}this.forEachVisibleChild(function(){if($A.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight();this._recomputeInnerHeight();}});},getInnerWidthForChild:function($7){return this.getInnerWidth();},getInnerHeightForChild:function($7){return this.getInnerHeight();},_remappingChildTable:[$[409],$[303],$[396],$[471],$[315],$[298],$[450],$[324],$[235]],_remapStart:$[1701],_remapStop:$[1486],remapChildrenHandlingTo:function($B){var $C=this._remappingChildTable;this._remappingChildTarget=$B;for(var $c=0,$e=$C.length,$D;$c<$e;$c++){$D=$C[$c];this[$D]=new Function(qx.ui.core.Parent.prototype._remapStart+$D+qx.ui.core.Parent.prototype._remapStop);}}},defer:function($E,$F,$G){if(qx.core.Variant.isSet($[1],$[126])){$F._layoutChildOrig=$F._layoutChild;$F._layoutChild=function($7){if(!$7._initialLayoutDone||!$7._layoutChanges.border){return this._layoutChildOrig($7);}var $H=$7.getElement().style;var $I=$H.display;$H.display=$[7];var $J=this._layoutChildOrig($7);$H.display=$I;return $J;};}},destruct:function(){this._disposeObjectDeep($[1267],1);this._disposeObjects($[959]);this._disposeFields($[308],$[308],$[1027],$[1294],$[558]);}});
meta: 8114	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8114/13ff1586340eab408e4ad6cb002ad8d5752801c4/qx.js/clean/bundles/org.eclipse.rap.rwt/js/qx.js