qx.$$packageData['2']={"locales":{},"resources":{},"translations":{}};
qx.Part.$$notifyLoad("2", function() {
(function(){var k="pressed",j="abandoned",i="hovered",h="Boolean",g="Space",f="undetermined",d="Enter",c="checked",b="mousedown",a="_applyTriState",w="mouseout",v="changeValue",u="keydown",t="_applyGroup",s="button",r="execute",q="qx.ui.form.RadioGroup",p="_applyValue",o="qx.ui.form.ToggleButton",n="mouseover",l="keyup",m="mouseup";
qx.Class.define(o,{extend:qx.ui.basic.Atom,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IBooleanForm,qx.ui.form.IExecutable,qx.ui.form.IRadioItem],construct:function(x,y){qx.ui.basic.Atom.call(this,x,y);
this.addListener(n,this._onMouseOver);
this.addListener(w,this._onMouseOut);
this.addListener(b,this._onMouseDown);
this.addListener(m,this._onMouseUp);
this.addListener(u,this._onKeyDown);
this.addListener(l,this._onKeyUp);
this.addListener(r,this._onExecute,this);
},properties:{appearance:{refine:true,init:s},focusable:{refine:true,init:true},value:{check:h,nullable:true,event:v,apply:p,init:false},group:{check:q,nullable:true,apply:t},triState:{check:h,apply:a,nullable:true,init:null}},members:{_applyGroup:function(z,A){if(A){A.remove(this);
}
if(z){z.add(this);
}},_applyValue:function(B,C){B?this.addState(c):this.removeState(c);

if(this.isTriState()){if(B===null){this.addState(f);
}else if(C===null){this.removeState(f);
}}},_applyTriState:function(D,E){this._applyValue(this.getValue());
},_onExecute:function(e){this.toggleValue();
},_onMouseOver:function(e){if(e.getTarget()!==this){return;
}this.addState(i);

if(this.hasState(j)){this.removeState(j);
this.addState(k);
}},_onMouseOut:function(e){if(e.getTarget()!==this){return;
}this.removeState(i);

if(this.hasState(k)){if(!this.getValue()){this.removeState(k);
}this.addState(j);
}},_onMouseDown:function(e){if(!e.isLeftPressed()){return;
}this.capture();
this.removeState(j);
this.addState(k);
e.stopPropagation();
},_onMouseUp:function(e){this.releaseCapture();

if(this.hasState(j)){this.removeState(j);
}else if(this.hasState(k)){this.execute();
}this.removeState(k);
e.stopPropagation();
},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case d:case g:this.removeState(j);
this.addState(k);
e.stopPropagation();
}},_onKeyUp:function(e){if(!this.hasState(k)){return;
}
switch(e.getKeyIdentifier()){case d:case g:this.removeState(j);
this.execute();
this.removeState(k);
e.stopPropagation();
}}}});
})();
(function(){var f="mshtml",e="engine.name",d="pop.push.reverse.shift.sort.splice.unshift.join.slice",c="number",b="qx.type.BaseArray",a=".";
qx.Class.define(b,{extend:Array,construct:function(g){},members:{toArray:null,valueOf:null,pop:null,push:null,reverse:null,shift:null,sort:null,splice:null,unshift:null,concat:null,join:null,slice:null,toString:null,indexOf:null,lastIndexOf:null,forEach:null,filter:null,map:null,some:null,every:null}});
(function(){function k(l){if((qx.core.Environment.get(e)==f)){j.prototype={length:0,$$isArray:true};
var o=d.split(a);

for(var length=o.length;length;){j.prototype[o[--length]]=Array.prototype[o[length]];
}}var p=Array.prototype.slice;
j.prototype.concat=function(){var r=this.slice(0);

for(var i=0,length=arguments.length;i<length;i++){var q;

if(arguments[i] instanceof j){q=p.call(arguments[i],0);
}else if(arguments[i] instanceof Array){q=arguments[i];
}else{q=[arguments[i]];
}r.push.apply(r,q);
}return r;
};
j.prototype.toString=function(){return p.call(this,0).toString();
};
j.prototype.toLocaleString=function(){return p.call(this,0).toLocaleString();
};
j.prototype.constructor=j;
j.prototype.indexOf=qx.lang.Core.arrayIndexOf;
j.prototype.lastIndexOf=qx.lang.Core.arrayLastIndexOf;
j.prototype.forEach=qx.lang.Core.arrayForEach;
j.prototype.some=qx.lang.Core.arraySome;
j.prototype.every=qx.lang.Core.arrayEvery;
var m=qx.lang.Core.arrayFilter;
var n=qx.lang.Core.arrayMap;
j.prototype.filter=function(){var s=new this.constructor;
s.push.apply(s,m.apply(this,arguments));
return s;
};
j.prototype.map=function(){var t=new this.constructor;
t.push.apply(t,n.apply(this,arguments));
return t;
};
j.prototype.slice=function(){var u=new this.constructor;
u.push.apply(u,Array.prototype.slice.apply(this,arguments));
return u;
};
j.prototype.splice=function(){var v=new this.constructor;
v.push.apply(v,Array.prototype.splice.apply(this,arguments));
return v;
};
j.prototype.toArray=function(){return Array.prototype.slice.call(this,0);
};
j.prototype.valueOf=function(){return this.length;
};
return j;
}function j(length){if(arguments.length===1&&typeof length===c){this.length=-1<length&&length===length>>.5?length:this.push(length);
}else if(arguments.length){this.push.apply(this,arguments);
}}function h(){}h.prototype=[];
j.prototype=new h;
j.prototype.length=0;
qx.type.BaseArray=k(j);
})();
})();
(function(){var s="html.classlist",r="default",q="native",p="",o=" ",n='',m="(^|\\s)",k="(\\s|$)",j="\\b",h="g",c='function',g="\\b|\\b",f="qx.bom.element.Class",b='SVGAnimatedString',a='object',e="$2",d='undefined';
qx.Class.define(f,{statics:{__rN:/\s+/g,__rO:/^\s+|\s+$/g,add:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(t,name){t.classList.add(name);
return name;
},"default":function(u,name){if(!this.has(u,name)){u.className+=(u.className?o:p)+name;
}return name;
}}),addClasses:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(v,w){for(var i=0;i<w.length;i++){v.classList.add(w[i]);
}return v.className;
},"default":function(x,y){var z={};
var B;
var A=x.className;

if(A){B=A.split(this.__rN);

for(var i=0,l=B.length;i<l;i++){z[B[i]]=true;
}
for(var i=0,l=y.length;i<l;i++){if(!z[y[i]]){B.push(y[i]);
}}}else{B=y;
}return x.className=B.join(o);
}}),get:function(C){var D=C.className;

if(typeof D.split!==c){if(typeof D===a){if(qx.Bootstrap.getClass(D)==b){D=D.baseVal;
}else{D=n;
}}
if(typeof D===d){D=n;
}}return D;
},has:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(E,name){return E.classList.contains(name);
},"default":function(F,name){var G=new RegExp(m+name+k);
return G.test(F.className);
}}),remove:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(H,name){H.classList.remove(name);
return name;
},"default":function(I,name){var J=new RegExp(m+name+k);
I.className=I.className.replace(J,e);
return name;
}}),removeClasses:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(K,L){for(var i=0;i<L.length;i++){K.classList.remove(L[i]);
}return K.className;
},"default":function(M,N){var O=new RegExp(j+N.join(g)+j,h);
return M.className=M.className.replace(O,p).replace(this.__rO,p).replace(this.__rN,o);
}}),replace:function(P,Q,R){this.remove(P,Q);
return this.add(P,R);
},toggle:qx.lang.Object.select(qx.core.Environment.get(s)?q:r,{"native":function(S,name,T){if(T===undefined){S.classList.toggle(name);
}else{T?this.add(S,name):this.remove(S,name);
}return name;
},"default":function(U,name,V){if(V==null){V=!this.has(U,name);
}V?this.add(U,name):this.remove(U,name);
return name;
}})}});
})();
(function(){var k="pressed",j="abandoned",h="selection",g="dropdown",f="atom",e="hovered",d="interval",c="arrow",b="search",a="",z="spacer",y="Enter",x="qx.data.Array",w="mouseout",v="Space",u="open",t="qx.ui.form.VirtualSelectBox",s="changeSelection",r="_applySelection",q="icon",o="mouseover",p="click",m="model",n="label",l="virtual-selectbox";
qx.Class.define(t,{extend:qx.ui.form.core.AbstractVirtualBox,construct:function(A){qx.ui.form.core.AbstractVirtualBox.call(this,A);
this._createChildControl(f);
this._createChildControl(z);
this._createChildControl(c);
this.addListener(o,this._onMouseOver,this);
this.addListener(w,this._onMouseOut,this);
this.__jT=[];
this.initSelection(this.getChildControl(g).getSelection());
this.__AI=new qx.event.Timer(500);
this.__AI.addListener(d,this.__AK,this);
},properties:{appearance:{refine:true,init:l},width:{refine:true,init:120},selection:{check:x,event:s,apply:r,nullable:false,deferredInit:true}},members:{__AJ:"",__AI:null,__jT:null,syncWidget:function(){this._removeBindings();
this._addBindings();
},_createChildControlImpl:function(B,C){var D;

switch(B){case z:D=new qx.ui.core.Spacer();
this._add(D,{flex:1});
break;
case f:D=new qx.ui.form.ListItem(a);
D.setCenter(false);
D.setAnonymous(true);
this._add(D,{flex:1});
break;
case c:D=new qx.ui.basic.Image();
D.setAnonymous(true);
this._add(D);
break;
}return D||qx.ui.form.core.AbstractVirtualBox.prototype._createChildControlImpl.call(this,B,C);
},_getAction:function(event){var E=event.getKeyIdentifier();
var G=this.getChildControl(g).isVisible();
var F=this._isModifierPressed(event);

if(!G&&!F&&(E===y||E===v)){return u;
}else if(G&&event.isPrintable()){return b;
}else{return qx.ui.form.core.AbstractVirtualBox.prototype._getAction.call(this,event);
}},_addBindings:function(){var L=this.getChildControl(f);
var H=this._getBindPath(h,a);
var J=this.bind(H,L,m,null);
this.__jT.push(J);
var K=this._getBindPath(h,this.getLabelPath());
J=this.bind(K,L,n,this.getLabelOptions());
this.__jT.push(J);

if(this.getIconPath()!=null){var I=this._getBindPath(h,this.getIconPath());
J=this.bind(I,L,q,this.getIconOptions());
this.__jT.push(J);
}},_removeBindings:function(){while(this.__jT.length>0){var M=this.__jT.pop();
this.removeBinding(M);
}},_handleMouse:function(event){qx.ui.form.core.AbstractVirtualBox.prototype._handleMouse.call(this,event);
var N=event.getType();

if(N===p){this.toggle();
}},_handleKeyboard:function(event){var O=this._getAction(event);

switch(O){case b:this.__AJ+=this.__AL(event.getKeyIdentifier());
this.__AI.restart();
break;
default:qx.ui.form.core.AbstractVirtualBox.prototype._handleKeyboard.call(this,event);
break;
}},_onMouseOver:function(event){if(!this.isEnabled()||event.getTarget()!==this){return;
}
if(this.hasState(j)){this.removeState(j);
this.addState(k);
}this.addState(e);
},_onMouseOut:function(event){if(!this.isEnabled()||event.getTarget()!==this){return;
}this.removeState(e);

if(this.hasState(k)){this.removeState(k);
this.addState(j);
}},_applySelection:function(P,Q){this.getChildControl(g).setSelection(P);
qx.ui.core.queue.Widget.add(this);
},__AK:function(){this.__AI.stop();
var U=this.__AJ;

if(U==null||U==""){return;
}var bb=this.getModel();
var V=this.getChildControl("dropdown").getChildControl("list");
var S=V.getSelection();
var length=V._getLookupTable().length;
var W=bb.indexOf(S.getItem(0));
var Y=V._reverseLookup(W);

for(var i=1;i<=length;i++){var bc=(i+Y)%length;
var ba=bb.getItem(V._lookup(bc));
var X=ba;

if(this.getLabelPath()!=null){X=qx.data.SingleValueBinding.getValueFromObject(ba,this.getLabelPath());
var R=this.getLabelOptions();

if(R!=null){var T=qx.util.Delegate.getMethod(R,"converter");

if(T!=null){X=T(X,ba);
}}}
if(qx.lang.String.startsWith(X.toLowerCase(),U.toLowerCase())){S.push(ba);
break;
}}this.__AJ="";
},__AL:function(bd){if(bd==="Space"){return " ";
}else{return bd;
}}},destruct:function(){this._removeBindings();
this.__AI.removeListener(d,this.__AK,this);
this.__AI.dispose();
this.__AI==null;
}});
})();
(function(){var m="string",k="script",h="<table>",g="engine.name",f="<fieldset>",e="<select multiple='multiple'>",d="</div>",c="</select>",b="</tr></tbody></table>",a="<col",J="div",I="<table><tbody><tr>",H=">",G="<table><tbody></tbody><colgroup>",F="<th",E="</tbody></table>",D="<td",C="</colgroup></table>",B="<opt",A="text/javascript",t="",u="</fieldset>",r="<table><tbody>",s="div<div>",p="<table",q="mshtml",n="qx.bom.Html",o="<leg",v="tbody",w="<tr",y="</table>",x="undefined",z="></";
qx.Class.define(n,{statics:{__vN:function(K,L,M){return M.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?K:L+z+M+H;
},__vO:{opt:[1,e,c],leg:[1,f,u],table:[1,h,y],tr:[2,r,E],td:[3,I,b],col:[2,G,C],def:qx.core.Environment.select(g,{"mshtml":[1,s,d],"default":null})},__vP:function(N,O){var U=O.createElement(J);
N=N.replace(/(<(\w+)[^>]*?)\/>/g,this.__vN);
var Q=N.replace(/^\s+/,t).substring(0,5).toLowerCase();
var T,P=this.__vO;

if(!Q.indexOf(B)){T=P.opt;
}else if(!Q.indexOf(o)){T=P.leg;
}else if(Q.match(/^<(thead|tbody|tfoot|colg|cap)/)){T=P.table;
}else if(!Q.indexOf(w)){T=P.tr;
}else if(!Q.indexOf(D)||!Q.indexOf(F)){T=P.td;
}else if(!Q.indexOf(a)){T=P.col;
}else{T=P.def;
}if(T){U.innerHTML=T[1]+N+T[2];
var S=T[0];

while(S--){U=U.lastChild;
}}else{U.innerHTML=N;
}if((qx.core.Environment.get(g)==q)){var V=/<tbody/i.test(N);
var R=!Q.indexOf(p)&&!V?U.firstChild&&U.firstChild.childNodes:T[1]==h&&!V?U.childNodes:[];

for(var j=R.length-1;j>=0;--j){if(R[j].tagName.toLowerCase()===v&&!R[j].childNodes.length){R[j].parentNode.removeChild(R[j]);
}}if(/^\s/.test(N)){U.insertBefore(O.createTextNode(N.match(/^\s*/)[0]),U.firstChild);
}}return qx.lang.Array.fromCollection(U.childNodes);
},clean:function(W,X,Y){X=X||document;
if(typeof X.createElement===x){X=X.ownerDocument||X[0]&&X[0].ownerDocument||document;
}if(!Y&&W.length===1&&typeof W[0]===m){var bg=/^<(\w+)\s*\/?>$/.exec(W[0]);

if(bg){return [X.createElement(bg[1])];
}}var ba,bc=[];

for(var i=0,l=W.length;i<l;i++){ba=W[i];
if(typeof ba===m){ba=this.__vP(ba,X);
}if(ba.nodeType){bc.push(ba);
}else if(ba instanceof qx.type.BaseArray){bc.push.apply(bc,Array.prototype.slice.call(ba,0));
}else if(ba.toElement){bc.push(ba.toElement());
}else{bc.push.apply(bc,ba);
}}if(Y){var bf=[],be=qx.lang.Array,bd,bb;

for(var i=0;bc[i];i++){bd=bc[i];

if(bd.nodeType==1&&bd.tagName.toLowerCase()===k&&(!bd.type||bd.type.toLowerCase()===A)){if(bd.parentNode){bd.parentNode.removeChild(bc[i]);
}bf.push(bd);
}else{if(bd.nodeType===1){bb=be.fromCollection(bd.getElementsByTagName(k));
bc.splice.apply(bc,[i+1,0].concat(bb));
}Y.appendChild(bd);
}}return bf;
}return bc;
}}});
})();
(function(){var g="label",f="checkbox",e="qx.ui.form.CheckBox",d="value",c="toolTipText",b="enabled",a="menu";
qx.Class.define(e,{extend:qx.ui.form.ToggleButton,include:[qx.ui.form.MForm,qx.ui.form.MModelProperty],implement:[qx.ui.form.IForm,qx.ui.form.IModel],construct:function(h){qx.ui.form.ToggleButton.call(this,h);
this.setValue(false);
},properties:{appearance:{refine:true,init:f},allowGrowX:{refine:true,init:false}},members:{_forwardStates:{invalid:true,focused:true,undetermined:true,checked:true,hovered:true},_bindableProperties:[b,g,c,d,a]}});
})();
(function(){var k="value",j="placeholder",h="CheckBox:",g="TextArea:",f="Boolean",e="SplitButton",d="RepeatButton:",c="qxc.application.formdemo.FormItems",b="execute",a="Text",R="ToggleButton",Q="password",P="RadioButton 3",O="Button:",N="ComboBox:",M="ToggleButton:",L="RadioButton",K="0",J="MenuButton:",I="Button",r="Tri-State CheckBox:",s="PasswordField:",p="VirtualSelectBox:",q="Buttons",n="RadioButtons:",o="dd.mm.YYYY",l="List:",m="SplitButton:",t="RadioButton 1",u="Spinner:",A="Selection",z="DateField:",C="RadioButton 2",B="Tri-State CheckBox",E="Number",D="CheckBox",w="VirtualComboBox:",H="SelectBox:",G="MenuButton",F="Slider:",v="TextField:",x="Item ",y="RadioButtonGroup:";
qx.Class.define(c,{extend:qx.ui.container.Composite,construct:function(){qx.ui.container.Composite.call(this);
this.__JU=[];
this._createView();
},members:{__JU:null,_createView:function(){var bk=new qx.ui.layout.Grid(20,5);
bk.setColumnFlex(0,1);
bk.setColumnFlex(1,1);
this.setLayout(bk);
this.setPadding(10);
var ba=1;
var S=new qx.ui.groupbox.GroupBox(a);
S.setLayout(new qx.ui.layout.Grid(8,8));
S.setWidth(290);
this.add(S,{row:0,column:0});
var bt=new qx.ui.form.TextField();
bt.setPlaceholder(j);
bt.setTabIndex(ba++);
var be=new qx.ui.basic.Label(v);
be.setBuddy(bt);
S.add(be,{row:0,column:0});
S.add(bt,{row:0,column:1});
this.__JU.push(bt);
var Y=new qx.ui.form.PasswordField();
Y.setTabIndex(ba++);
Y.setPlaceholder(Q);
be=new qx.ui.basic.Label(s);
be.setBuddy(Y);
S.add(be,{row:1,column:0});
S.add(Y,{row:1,column:1});
this.__JU.push(Y);
var T=new qx.ui.form.TextArea();
T.setTabIndex(ba++);
T.setPlaceholder(j);
be=new qx.ui.basic.Label(g);
be.setBuddy(T);
S.add(be,{row:2,column:0});
S.add(T,{row:2,column:1});
this.__JU.push(T);
var U=new qx.ui.form.ComboBox();
U.setTabIndex(ba++);
U.setPlaceholder(j);
be=new qx.ui.basic.Label(N);
be.setBuddy(U);
S.add(be,{row:3,column:0});
S.add(U,{row:3,column:1});
this.__JV(U);
this.__JU.push(U);
var bb=new qx.ui.form.VirtualComboBox();
bb.setTabIndex(ba++);
be=new qx.ui.basic.Label(w);
be.setBuddy(bb);
S.add(be,{row:4,column:0});
S.add(bb,{row:4,column:1});
this.__Uy(bb);
this.__JU.push(bb);
var bm=new qx.ui.form.DateField();
bm.setTabIndex(ba++);
bm.setPlaceholder(o);
be=new qx.ui.basic.Label(z);
be.setBuddy(bm);
S.add(be,{row:5,column:0});
S.add(bm,{row:5,column:1});
this.__JU.push(bm);
var bd=new qx.ui.groupbox.GroupBox(A);
bd.setLayout(new qx.ui.layout.Grid(8,8));
bd.setWidth(290);
this.add(bd,{row:1,column:0,rowSpan:2});
var bn=new qx.ui.form.SelectBox();
bn.setTabIndex(ba++);
be=new qx.ui.basic.Label(H);
be.setBuddy(bn);
bd.add(be,{row:0,column:0});
bd.add(bn,{row:0,column:1});
this.__JV(bn);
this.__JU.push(bn);
var bc=new qx.ui.form.VirtualSelectBox();
be=new qx.ui.basic.Label(p);
be.setBuddy(bc);
bd.add(be,{row:1,column:0});
bd.add(bc,{row:1,column:1});
this.__Uy(bc);
this.__JU.push(bc);
var bs=new qx.ui.form.List();
bs.setTabIndex(ba++);
bs.setHeight(60);
bs.setWidth(155);
be=new qx.ui.basic.Label(l);
be.setBuddy(bs);
bd.add(be,{row:2,column:0});
bd.add(bs,{row:2,column:1});
this.__JV(bs);
this.__JU.push(bs);
var bl=new qx.ui.form.RadioButtonGroup();
bl.add(new qx.ui.form.RadioButton(t).set({tabIndex:ba++}));
bl.add(new qx.ui.form.RadioButton(C).set({tabIndex:ba++}));
bl.add(new qx.ui.form.RadioButton(P).set({tabIndex:ba++}));
be=new qx.ui.basic.Label(y);
be.setBuddy(bl);
bd.add(be,{row:4,column:0});
bd.add(bl,{row:4,column:1});
this.__JU.push(bl);
var bq=new qx.ui.groupbox.GroupBox(q);
bq.setLayout(new qx.ui.layout.Grid(8,8));
bq.setWidth(250);
this.add(bq,{row:0,column:1});
var br=new qx.ui.form.Button(I).set({tabIndex:ba++});
be=new qx.ui.basic.Label(O);
be.setBuddy(br);
bq.add(be,{row:0,column:0});
bq.add(br,{row:0,column:1});
this.__JU.push(br);
var W=new qx.ui.form.ToggleButton(R).set({tabIndex:ba++});
be=new qx.ui.basic.Label(M);
be.setBuddy(W);
bq.add(be,{row:1,column:0});
bq.add(W,{row:1,column:1});
this.__JU.push(W);
var bh=new qx.ui.form.RepeatButton(K).set({tabIndex:ba++});
be=new qx.ui.basic.Label(d);
be.setBuddy(bh);
bq.add(be,{row:2,column:0});
bq.add(bh,{row:2,column:1});
this.__JU.push(bh);
var bi=new qx.ui.form.MenuButton(G,null,this.__JW()).set({tabIndex:ba++});
be=new qx.ui.basic.Label(J);
be.setBuddy(bi);
bq.add(be,{row:3,column:0});
bq.add(bi,{row:3,column:1});
this.__JU.push(bi);
var X=new qx.ui.form.SplitButton(e,null,this.__JX()).set({tabIndex:ba++});
be=new qx.ui.basic.Label(m);
be.setBuddy(X);
bq.add(be,{row:4,column:0});
bq.add(X,{row:4,column:1});
this.__JU.push(X);
bh.addListener(b,function(){var bv=parseInt(bh.getLabel(),10)+1;
bh.setLabel(bv.toString());
});
var V=new qx.ui.groupbox.GroupBox(f);
V.setLayout(new qx.ui.layout.Grid(8,8));
V.setWidth(250);
this.add(V,{row:1,column:1});
var bo=new qx.ui.form.CheckBox(D).set({tabIndex:ba++});
be=new qx.ui.basic.Label(h);
be.setBuddy(bo);
V.add(be,{row:0,column:0});
V.add(bo,{row:0,column:1});
this.__JU.push(bo);
var bu=new qx.ui.form.CheckBox(B).set({triState:true,value:null});
be=new qx.ui.basic.Label(r);
be.setBuddy(bu);
V.add(be,{row:1,column:0});
V.add(bu,{row:1,column:1});
this.__JU.push(bu);
var bg=new qx.ui.form.RadioButton(L).set({tabIndex:ba++});
V.add(new qx.ui.basic.Label(n),{row:2,column:0});
V.add(bg,{row:2,column:1});
this.__JU.push(bg);
var bp=new qx.ui.groupbox.GroupBox(E);
bp.setLayout(new qx.ui.layout.Grid(8,8));
bp.setWidth(250);
this.add(bp,{row:2,column:1});
var bf=new qx.ui.form.Spinner(0,50,100).set({tabIndex:ba++});
be=new qx.ui.basic.Label(u);
be.setBuddy(bf);
bp.add(be,{row:0,column:0});
bp.add(bf,{row:0,column:1});
this.__JU.push(bf);
var bj=new qx.ui.form.Slider().set({tabIndex:ba++});
bj.setWidth(130);
be=new qx.ui.basic.Label(F);
be.setBuddy(bj);
bp.add(be,{row:1,column:0});
bp.add(bj,{row:1,column:1});
this.__JU.push(bj);
bj.bind(k,bf,k);
bf.bind(k,bj,k);
},__JV:function(bw){for(var i=0;i<10;i++){var bx=new qx.ui.form.ListItem("Item "+i);
bw.add(bx);
}},__Uy:function(by){var bz=new qx.data.Array();

for(var i=0;i<300;i++){bz.push(x+(i));
}by.setModel(bz);
},__JW:function(){var bA=new qx.ui.menu.Menu;

for(var i=0;i<3;i++){bA.add(new qx.ui.menu.RadioButton("Option"+i));
}var bD=new qx.ui.form.RadioGroup;
bD.add.apply(bD,bA.getChildren());
var bC=new qx.ui.menu.Menu();

for(i=0;i<3;i++){var bE=new qx.ui.menu.Button("Button"+i);
bC.add(bE);
}var bB=new qx.ui.menu.Button("Options","",null,bA);
bC.addSeparator();
bC.add(bB);
return bC;
},__JX:function(){var bF=new qx.ui.menu.Menu;
var bI=new qx.ui.menu.Button("Website 1");
var bG=new qx.ui.menu.Button("Website 2");
var bH=new qx.ui.menu.Button("Website 3");
bF.add(bI);
bF.add(bG);
bF.add(bH);
return bF;
},getWidgets:function(){return this.__JU;
}}});
})();
(function(){var m="get",k="set",h="reset",g=":not(",f="getValue",e="append",d=")",c="getPreviousSiblings",b="#",a="qx.bom.Collection",K="setValue",J="prepend",I="string",H="getAncestors",G="getOffsetParent",F="remove",E=">*",D="add",C="*",B="",t="addListener",u="has",r="toggle",s="getSiblings",p="replace",q="after",n="replaceWith",o="setCss",v="setStyles",w="before",y="getNextSiblings",x="getPosition",A="getCss",z="removeListener";
(function(){var M=function(N,O){return function(P,Q,R,S,T,U){var length=this.length;

if(length>0){var V=N[O];

for(var i=0;i<length;i++){if(this[i].nodeType===1){V.call(N,this[i],P,Q,R,S,T,U);
}}}return this;
};
};
var L=function(W,X){return function(Y,ba,bb,bc,bd,be){if(this.length>0){var bf=this[0].nodeType===1?W[X](this[0],Y,ba,bb,bc,bd,be):null;

if(bf&&bf.nodeType){return this.__vF([bf]);
}else{return bf;
}}return null;
};
};
qx.Class.define(a,{extend:qx.type.BaseArray,construct:function(bg){qx.type.BaseArray.apply(this,arguments);
},statics:{query:function(bh,bi){var bj=qx.bom.Selector.query(bh,bi);
return qx.lang.Array.cast(bj,qx.bom.Collection);
},id:function(bk){var bl=document.getElementById(bk);
if(bl&&bl.id!=bk){return qx.bom.Collection.query(b+bk);
}if(bl){return new qx.bom.Collection(bl);
}else{return new qx.bom.Collection();
}},html:function(bm,bn){var bo=qx.bom.Html.clean([bm],bn);
return qx.lang.Array.cast(bo,qx.bom.Collection);
},__vB:/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,create:function(bp,bq){var bs=qx.bom.Collection;
if(bp.nodeType){return new bs(bp);
}else if(typeof bp===I){var br=bs.__vB.exec(bp);

if(br){return br[1]?bs.html(br[1],bq):bs.id(br[3].substring(1));
}else{return bs.query(bp,bq);
}}else{return qx.lang.Array.cast(bp,qx.bom.Collection);
}}},members:{__vC:null,setAttribute:M(qx.bom.element.Attribute,k),resetAttribute:M(qx.bom.element.Attribute,h),getAttribute:L(qx.bom.element.Attribute,m),addClass:M(qx.bom.element.Class,D),getClass:L(qx.bom.element.Class,m),hasClass:L(qx.bom.element.Class,u),removeClass:M(qx.bom.element.Class,F),replaceClass:M(qx.bom.element.Class,p),toggleClass:M(qx.bom.element.Class,r),setValue:M(qx.bom.Input,K),getValue:L(qx.bom.Input,f),setStyle:M(qx.bom.element.Style,k),setStyles:M(qx.bom.element.Style,v),resetStyle:M(qx.bom.element.Style,h),getStyle:L(qx.bom.element.Style,m),setCss:M(qx.bom.element.Style,o),getCss:M(qx.bom.element.Style,A),getOffset:L(qx.bom.element.Location,m),getPosition:L(qx.bom.element.Location,x),getOffsetParent:L(qx.bom.element.Location,G),setScrollLeft:function(bt){var Node=qx.dom.Node;

for(var i=0,l=this.length,bu;i<l;i++){bu=this[i];

if(Node.isElement(bu)){bu.scrollLeft=bt;
}else if(Node.isWindow(bu)){bu.scrollTo(bt,this.getScrollTop(bu));
}else if(Node.isDocument(bu)){Node.getWindow(bu).scrollTo(bt,this.getScrollTop(bu));
}}return this;
},setScrollTop:function(bv){var Node=qx.dom.Node;

for(var i=0,l=this.length,bw;i<l;i++){bw=this[i];

if(Node.isElement(bw)){bw.scrollTop=bv;
}else if(Node.isWindow(bw)){bw.scrollTo(this.getScrollLeft(bw),bv);
}else if(Node.isDocument(bw)){Node.getWindow(bw).scrollTo(this.getScrollLeft(bw),bv);
}}return this;
},getScrollLeft:function(){var bx=this[0];

if(!bx){return null;
}var Node=qx.dom.Node;

if(Node.isWindow(bx)||Node.isDocument(bx)){return qx.bom.Viewport.getScrollLeft();
}return bx.scrollLeft;
},getScrollTop:function(){var by=this[0];

if(!by){return null;
}var Node=qx.dom.Node;

if(Node.isWindow(by)||Node.isDocument(by)){return qx.bom.Viewport.getScrollTop();
}return by.scrollTop;
},getWidth:function(){var bz=this[0];
var Node=qx.dom.Node;

if(bz){if(Node.isElement(bz)){return qx.bom.element.Dimension.getWidth(bz);
}else if(Node.isDocument(bz)){return qx.bom.Document.getWidth(Node.getWindow(bz));
}else if(Node.isWindow(bz)){return qx.bom.Viewport.getWidth(bz);
}}return null;
},getContentWidth:function(){var bA=this[0];

if(qx.dom.Node.isElement(bA)){return qx.bom.element.Dimension.getContentWidth(bA);
}return null;
},getHeight:function(){var bB=this[0];
var Node=qx.dom.Node;

if(bB){if(Node.isElement(bB)){return qx.bom.element.Dimension.getHeight(bB);
}else if(Node.isDocument(bB)){return qx.bom.Document.getHeight(Node.getWindow(bB));
}else if(Node.isWindow(bB)){return qx.bom.Viewport.getHeight(bB);
}}return null;
},getContentHeight:function(){var bC=this[0];

if(qx.dom.Node.isElement(bC)){return qx.bom.element.Dimension.getContentHeight(bC);
}return null;
},addListener:M(qx.bom.Element,t),removeListener:M(qx.bom.Element,z),eq:function(bD){return this.slice(bD,+bD+1);
},filter:function(bE,bF){var bG;

if(qx.lang.Type.isFunction(bE)){bG=qx.type.BaseArray.prototype.filter.call(this,bE,bF);
}else{bG=qx.bom.Selector.matches(bE,this);
}return this.__vF(bG);
},is:function(bH){return !!bH&&qx.bom.Selector.matches(bH,this).length>0;
},__vD:/^.[^:#\[\.,]*$/,not:function(bI){if(this.__vD.test(bI)){var bJ=qx.bom.Selector.matches(g+bI+d,this);
return this.__vF(bJ);
}var bJ=qx.bom.Selector.matches(bI,this);
return this.filter(function(bK){return bJ.indexOf(bK)===-1;
});
},add:function(bL,bM){var bN=qx.bom.Selector.query(bL,bM);
var bO=qx.lang.Array.unique(this.concat(bN));
return this.__vF(bO);
},children:function(bP){var bQ=[];

for(var i=0,l=this.length;i<l;i++){bQ.push.apply(bQ,qx.dom.Hierarchy.getChildElements(this[i]));
}
if(bP){bQ=qx.bom.Selector.matches(bP,bQ);
}return this.__vF(bQ);
},closest:function(bR){var bS=new qx.bom.Collection(1);
var bU=qx.bom.Selector;
var bT=this.map(function(bV){while(bV&&bV.ownerDocument){bS[0]=bV;

if(bU.matches(bR,bS).length>0){return bV;
}bV=bV.parentNode;
}});
return this.__vF(qx.lang.Array.unique(bT));
},contents:function(){var bX=[];
var bW=qx.lang.Array;

for(var i=0,l=this.length;i<l;i++){bX.push.apply(bX,bW.fromCollection(this[i].childNodes));
}return this.__vF(bX);
},find:function(bY){var cb=qx.bom.Selector;
if(this.length===1){return this.__vF(cb.query(bY,this[0]));
}else{var ca=[];

for(var i=0,l=this.length;i<l;i++){ca.push.apply(ca,cb.query(bY,this[i]));
}return this.__vF(qx.lang.Array.unique(ca));
}},next:function(cc){var cd=qx.dom.Hierarchy;
var ce=this.map(cd.getNextElementSibling,cd);
if(cc){ce=qx.bom.Selector.matches(cc,ce);
}return this.__vF(ce);
},nextAll:function(cf){return this.__vE(y,cf);
},prev:function(cg){var ch=qx.dom.Hierarchy;
var ci=this.map(ch.getPreviousElementSibling,ch);
if(cg){ci=qx.bom.Selector.matches(cg,ci);
}return this.__vF(ci);
},prevAll:function(cj){return this.__vE(c,cj);
},parent:function(ck){var Element=qx.dom.Element;
var cl=qx.lang.Array.unique(this.map(Element.getParentElement,Element));
if(ck){cl=qx.bom.Selector.matches(ck,cl);
}return this.__vF(cl);
},parents:function(cm){return this.__vE(H,cm);
},siblings:function(cn){return this.__vE(s,cn);
},__vE:function(co,cp){var cr=[];
var cq=qx.dom.Hierarchy;

for(var i=0,l=this.length;i<l;i++){cr.push.apply(cr,cq[co](this[i]));
}var cs=qx.lang.Array.unique(cr);
if(cp){cs=qx.bom.Selector.matches(cp,cs);
}return this.__vF(cs);
},__vF:function(ct){var cu=new qx.bom.Collection;
cu.__vC=this;
ct=Array.prototype.slice.call(ct,0);
cu.push.apply(cu,ct);
return cu;
},andSelf:function(){return this.add(this.__vC);
},end:function(){return this.__vC||new qx.bom.Collection();
},__vG:function(cv,cw){var cB=this[0];
var cA=cB.ownerDocument||cB;
var cz=cA.createDocumentFragment();
var cD=qx.bom.Html.clean(cv,cA,cz);
var cF=cz.firstChild;
if(cF){var cx=this.length-1;

for(var i=0,l=cx;i<l;i++){cw.call(this,this[i],cz.cloneNode(true));
}cw.call(this,this[cx],cz);
}if(cD){var cy;
var cE=qx.io.ScriptLoader;
var cC=qx.lang.Function;

for(var i=0,l=cD.length;i<l;i++){cy=cD[i];
if(cy.src){cE.get().load(cy.src);
}else{cC.globalEval(cy.text||cy.textContent||cy.innerHTML||B);
}if(cy.parentNode){cy.parentNode.removeChild(cy);
}}}return this;
},__vH:function(cG,cH){var cJ=qx.bom.Selector;
var cI=qx.lang.Array;
var cL=[];

for(var i=0,l=cG.length;i<l;i++){cL.push.apply(cL,cJ.query(cG[i]));
}cL=cI.cast(cI.unique(cL),qx.bom.Collection);
for(var i=0,cK=this.length;i<cK;i++){cL[cH](this[i]);
}return this;
},append:function(cM){return this.__vG(arguments,this.__vI);
},prepend:function(cN){return this.__vG(arguments,this.__vJ);
},__vI:function(cO,cP){cO.appendChild(cP);
},__vJ:function(cQ,cR){cQ.insertBefore(cR,cQ.firstChild);
},appendTo:function(cS){return this.__vH(arguments,e);
},prependTo:function(cT){return this.__vH(arguments,J);
},before:function(cU){return this.__vG(arguments,this.__vK);
},after:function(cV){return this.__vG(arguments,this.__vL);
},__vK:function(cW,cX){cW.parentNode.insertBefore(cX,cW);
},__vL:function(cY,da){cY.parentNode.insertBefore(da,cY.nextSibling);
},insertBefore:function(db){return this.__vH(arguments,w);
},insertAfter:function(dc){return this.__vH(arguments,q);
},wrapAll:function(content){var de=this[0];

if(de){var dd=qx.bom.Collection.create(content,de.ownerDocument).clone();
if(de.parentNode){de.parentNode.insertBefore(dd[0],de);
}dd.map(this.__vM).append(this);
}return this;
},__vM:function(df){while(df.firstChild){df=df.firstChild;
}return df;
},wrapInner:function(content){var dg=new qx.bom.Collection(1);

for(var i=0,l=this.length;i<l;i++){dg[0]=this[i];
dg.contents().wrapAll(content);
}return this;
},wrap:function(content){var dh=new qx.bom.Collection(1);
for(var i=0,l=this.length;i<l;i++){dh[0]=this[i];
dh.wrapAll(content);
}return this;
},replaceWith:function(content){return this.after(content).remove();
},replaceAll:function(di){return this.__vH(arguments,n);
},remove:function(dj){var dl=this;

if(dj){dl=this.filter(dj);

if(dl.length==0){return this;
}}for(var i=0,dm=dl.length,dk;i<dm;i++){dk=dl[i];

if(dk.parentNode){dk.parentNode.removeChild(dk);
}}return dl;
},destroy:function(dn){if(this.length==0){return this;
}var dq=qx.bom.Selector;
var dt=this;

if(dn){dt=this.filter(dn);

if(dt.length==0){return this;
}}var ds=qx.event.Registration.getManager(this[0]);

for(var i=0,l=dt.length,dr,du;i<l;i++){dr=dt[i];
ds.removeAllListeners(dr);
du=dq.query(C,dr);

for(var j=0,dp=du.length;j<dp;j++){ds.removeAllListeners(du[j]);
}if(dr.parentNode){dr.parentNode.removeChild(dr);
}}if(dn){dt.end();
qx.lang.Array.exclude(this,dt);
}else{this.length=0;
}return this;
},empty:function(){var dv=qx.bom.Collection;

for(var i=0,l=this.length;i<l;i++){dv.query(E,this[i]).destroy();
while(this.firstChild){this.removeChild(this.firstChild);
}}return this;
},clone:function(dw){var Element=qx.bom.Element;
return dw?
this.map(function(dx){return Element.clone(dx,true);
}):this.map(Element.clone,Element);
}},defer:function(dy){if(window.$==null){window.$=dy.create;
}}});
})();
})();
(function(){var k="overflowY",j="auto",i="hidden",h="textarea",g="Boolean",f="Integer",d="input",c="appear",b="engine.name",a="_applyWrap",y="-1",x="_applyMinimalLineHeight",w="mousewheel",v="visible",u="y",t="",s="_applyAutoSize",r="tabIndex",q='name',p="mshtml",n="qx.ui.form.TextArea",o="webkit",l='id',m="absolute";
qx.Class.define(n,{extend:qx.ui.form.AbstractField,construct:function(z){qx.ui.form.AbstractField.call(this,z);
this.initWrap();
this.addListener(w,this._onMousewheel,this);
},properties:{wrap:{check:g,init:true,apply:a},appearance:{refine:true,init:h},singleStep:{check:f,init:20},minimalLineHeight:{check:f,apply:x,init:4},autoSize:{check:g,apply:s,init:false}},members:{__vt:null,__vu:null,__vv:null,setValue:function(A){A=qx.ui.form.AbstractField.prototype.setValue.call(this,A);
this.__vw();
return A;
},_onMousewheel:function(e){var B=this.getContentElement();
var scrollY=B.getScrollY();
B.scrollToY(scrollY+e.getWheelDelta(u)*this.getSingleStep());
var C=B.getScrollY();

if(C!=scrollY){e.stop();
}},__vw:function(){if(this.isAutoSize()){var F=this.__vx();

if(F){this.__vv=this.__vv||this._getAreaHeight();
var H=this._getScrolledAreaHeight();
if(this.getMaxHeight()){var D=this.getInsets();
var E=-D.top+this.getMaxHeight()-D.bottom;

if(H>E){this.getContentElement().setStyle(k,j);
}else{this.getContentElement().setStyle(k,i);
}}var G=Math.max(H,this.__vv);
this._setAreaHeight(G);
}else{this.addListenerOnce(c,function(){if(qx.core.Environment.get(b)==o){var J=this.getContentElement();
var I=this.getValue();
J.setStyle(k,i,true);
this.setValue(t);
this.setValue(I);
}this.__vw();
},this);
}}},_getAreaHeight:function(){return this.getInnerSize().height;
},_setAreaHeight:function(K){if(this._getAreaHeight()!==K){this.__vu=K;
qx.ui.core.queue.Layout.add(this);
qx.ui.core.queue.Manager.flush();
}},_getScrolledAreaHeight:function(){var M=this.__vx();
var L=M.getDomElement();
var N=this.getValue();
L.style.overflow=i;
M.setValue(N);
M.setWrap(this.getWrap(),true);

if(L){if(!L.parentNode){qx.html.Element.flush();
return this._getScrolledAreaHeight();
}this.__vz(M);

if(qx.core.Environment.get(b)==p){if(!L.scrollTop){qx.html.Element.flush();
}return L.scrollTop+this._getTextSize().height;
}return L.scrollTop;
}},__vx:function(){this.__vt=this.__vt||this.__vy();
return this.__vt;
},__vy:function(){var R,P,O,Q;
R=this.getContentElement();
if(!R.getDomElement()){return;
}O=qx.bom.Collection.create(R.getDomElement()).clone()[0];
Q=new qx.html.Input(h);
Q.useElement(O);
P=Q;
P.setStyles({position:m,top:0,left:-9999,height:0,overflow:v},true);
P.removeAttribute(l);
P.removeAttribute(q);
P.setAttribute(r,y);
P.setValue(R.getValue());
P.insertBefore(R);
this.__vz(P);
return P;
},__vz:function(S){var S=S.getDomElement();

if(S){S.scrollTop=10000;
}},_createInputElement:function(){return new qx.html.Input(h,{overflowX:j,overflowY:j});
},_applyWrap:function(T,U){this.getContentElement().setWrap(T);
this.__vw();
},_applyMinimalLineHeight:function(){qx.ui.core.queue.Layout.add(this);
},_applyAutoSize:function(V,W){if(V){this.__vw();
this.addListener(d,this.__vw,this);
this.addListenerOnce(c,function(){this.getContentElement().setStyle(k,i);
});
}else{this.removeListener(d,this.__vw);
this.getContentElement().setStyle(k,j);
}},_applyDimension:function(X){qx.ui.form.AbstractField.prototype._applyDimension.call(this);

if(X===this.getMaxHeight()){this.__vw();
}},__vA:function(){if(this.isAutoSize()&&this.getHeight()){this.warn("autoSize is ignored when the height property is set. "+"If you want to set an initial height, use the minHeight "+"property instead.");
}},_getContentHint:function(){var Y=qx.ui.form.AbstractField.prototype._getContentHint.call(this);
Y.height=Y.height*this.getMinimalLineHeight();
Y.width=this._getTextSize().width*20;

if(this.isAutoSize()){Y.height=this.__vu||Y.height;
}return Y;
}}});
})();
(function(){var a="showcase.page.form.Content";
qx.Class.define(a,{extend:showcase.AbstractContent,construct:function(b){showcase.AbstractContent.call(this,b);
this.setView(new qxc.application.formdemo.FormItems());
}});
})();
(function(){var k="button",j="hovered",i="pressed",h="arrow",g="Enter",f="Space",d="abandoned",c="both",b="String",a="changeVisibility",A="splitbutton",z="changeShow",y="mouseout",x="keydown",w="execute",v="_applyMenu",u="icon",t="mouseover",s="keyup",r="qx.ui.menu.Menu",p="_applyIcon",q="label",n="_applyShow",o="changeMenu",l="_applyLabel",m="qx.ui.form.SplitButton";
qx.Class.define(m,{extend:qx.ui.core.Widget,include:[qx.ui.core.MExecutable],implement:[qx.ui.form.IExecutable],construct:function(B,C,D,E){qx.ui.core.Widget.call(this);
this._setLayout(new qx.ui.layout.HBox);
this._createChildControl(h);
this.addListener(t,this._onMouseOver,this,true);
this.addListener(y,this._onMouseOut,this,true);
this.addListener(x,this._onKeyDown);
this.addListener(s,this._onKeyUp);
if(B!=null){this.setLabel(B);
}
if(C!=null){this.setIcon(C);
}
if(D!=null){this.setMenu(D);
}
if(E!=null){this.setCommand(E);
}},properties:{appearance:{refine:true,init:A},focusable:{refine:true,init:true},label:{apply:l,nullable:true,check:b},icon:{check:b,apply:p,nullable:true,themeable:true},show:{init:c,check:[c,q,u],themeable:true,inheritable:true,apply:n,event:z},menu:{check:r,nullable:true,apply:v,event:o}},members:{__Cs:null,_createChildControlImpl:function(F,G){var H;

switch(F){case k:H=new qx.ui.form.Button;
H.addListener(w,this._onButtonExecute,this);
H.setFocusable(false);
this._addAt(H,0,{flex:1});
break;
case h:H=new qx.ui.form.MenuButton;
H.setFocusable(false);
this._addAt(H,1);
break;
}return H||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,F);
},_forwardStates:{hovered:1,focused:1},_applyLabel:function(I,J){var K=this.getChildControl(k);
I==null?K.resetLabel():K.setLabel(I);
},_applyIcon:function(L,M){var N=this.getChildControl(k);
L==null?N.resetIcon():N.setIcon(L);
},_applyMenu:function(O,P){var Q=this.getChildControl(h);

if(O){Q.resetEnabled();
Q.setMenu(O);
O.setOpener(this);
O.addListener(a,this._onChangeMenuVisibility,this);
}else{Q.setEnabled(false);
Q.resetMenu();
}
if(P){P.removeListener(a,this._onChangeMenuVisibility,this);
P.resetOpener();
}},_applyShow:function(R,S){},_onMouseOver:function(e){e.stopPropagation();
this.addState(j);
delete this.__Cs;
},_onMouseOut:function(e){e.stopPropagation();
if(!this.hasState(j)){return;
}var U=e.getRelatedTarget();

if(qx.ui.core.Widget.contains(this,U)){return;
}var T=this.getMenu();

if(T&&T.isVisible()){this.__Cs=true;
return;
}this.removeState(j);
},_onKeyDown:function(e){var V=this.getChildControl(k);

switch(e.getKeyIdentifier()){case g:case f:V.removeState(d);
V.addState(i);
}},_onKeyUp:function(e){var W=this.getChildControl(k);

switch(e.getKeyIdentifier()){case g:case f:if(W.hasState(i)){W.removeState(d);
W.removeState(i);
W.execute();
}}},_onButtonExecute:function(e){this.execute();
},_onChangeMenuVisibility:function(e){if(!this.getMenu().isVisible()&&this.__Cs){this.removeState(j);
}}}});
})();
(function(){var k="textfield",j="",i="downbutton",h="upbutton",g="Number",f="inner",d="PageUp",c="Boolean",b="changeValue",a="Down",J="Up",I="execute",H="PageDown",G="changeLocale",F="qx.dynlocale",E="_applyEditable",D="_applyWrap",C="keydown",B="\-]",A="mousewheel",r="_applyValue",s="y",p="number",q="_applyMinimum",n="qx.util.format.NumberFormat",o="[0-9",l="keyup",m="spinner",t="this._checkValue(value)",u="_applyMaximum",w="changeNumberFormat",v="changeMaximum",y="changeMinimum",x="_applyNumberFormat",z="qx.ui.form.Spinner";
qx.Class.define(z,{extend:qx.ui.core.Widget,implement:[qx.ui.form.INumberForm,qx.ui.form.IRange,qx.ui.form.IForm],include:[qx.ui.core.MContentPadding,qx.ui.form.MForm],construct:function(K,L,M){qx.ui.core.Widget.call(this);
var N=new qx.ui.layout.Grid();
N.setColumnFlex(0,1);
N.setRowFlex(0,1);
N.setRowFlex(1,1);
this._setLayout(N);
this.addListener(C,this._onKeyDown,this);
this.addListener(l,this._onKeyUp,this);
this.addListener(A,this._onMouseWheel,this);

if(qx.core.Environment.get(F)){qx.locale.Manager.getInstance().addListener(G,this._onChangeLocale,this);
}this._createChildControl(k);
this._createChildControl(h);
this._createChildControl(i);
if(K!=null){this.setMinimum(K);
}
if(M!=null){this.setMaximum(M);
}
if(L!==undefined){this.setValue(L);
}else{this.initValue();
}},properties:{appearance:{refine:true,init:m},focusable:{refine:true,init:true},singleStep:{check:g,init:1},pageStep:{check:g,init:10},minimum:{check:g,apply:q,init:0,event:y},value:{check:t,nullable:true,apply:r,init:0,event:b},maximum:{check:g,apply:u,init:100,event:v},wrap:{check:c,init:false,apply:D},editable:{check:c,init:true,apply:E},numberFormat:{check:n,apply:x,nullable:true},allowShrinkY:{refine:true,init:false}},members:{__zR:null,__zS:false,__zT:false,_createChildControlImpl:function(O,P){var Q;

switch(O){case k:Q=new qx.ui.form.TextField();
Q.setFilter(this._getFilterRegExp());
Q.addState(f);
Q.setWidth(40);
Q.setFocusable(false);
Q.addListener(b,this._onTextChange,this);
this._add(Q,{column:0,row:0,rowSpan:2});
break;
case h:Q=new qx.ui.form.RepeatButton();
Q.addState(f);
Q.setFocusable(false);
Q.addListener(I,this._countUp,this);
this._add(Q,{column:1,row:0});
break;
case i:Q=new qx.ui.form.RepeatButton();
Q.addState(f);
Q.setFocusable(false);
Q.addListener(I,this._countDown,this);
this._add(Q,{column:1,row:1});
break;
}return Q||qx.ui.core.Widget.prototype._createChildControlImpl.call(this,O);
},_getFilterRegExp:function(){var V=qx.locale.Number.getDecimalSeparator(qx.locale.Manager.getInstance().getLocale());
var U=qx.locale.Number.getGroupSeparator(qx.locale.Manager.getInstance().getLocale());
var T=j;
var R=j;

if(this.getNumberFormat()!==null){T=this.getNumberFormat().getPrefix()||j;
R=this.getNumberFormat().getPostfix()||j;
}var S=new RegExp(o+qx.lang.String.escapeRegexpChars(V)+qx.lang.String.escapeRegexpChars(U)+qx.lang.String.escapeRegexpChars(T)+qx.lang.String.escapeRegexpChars(R)+B);
return S;
},_forwardStates:{focused:true,invalid:true},tabFocus:function(){var W=this.getChildControl(k);
W.getFocusElement().focus();
W.selectAllText();
},_applyMinimum:function(X,Y){if(this.getMaximum()<X){this.setMaximum(X);
}
if(this.getValue()<X){this.setValue(X);
}else{this._updateButtons();
}},_applyMaximum:function(ba,bb){if(this.getMinimum()>ba){this.setMinimum(ba);
}
if(this.getValue()>ba){this.setValue(ba);
}else{this._updateButtons();
}},_applyEnabled:function(bc,bd){qx.ui.core.Widget.prototype._applyEnabled.call(this,bc,bd);
this._updateButtons();
},_checkValue:function(be){return typeof be===p&&be>=this.getMinimum()&&be<=this.getMaximum();
},_applyValue:function(bf,bg){var bh=this.getChildControl(k);
this._updateButtons();
this.__zR=bf;
if(bf!==null){if(this.getNumberFormat()){bh.setValue(this.getNumberFormat().format(bf));
}else{bh.setValue(bf+j);
}}else{bh.setValue(j);
}},_applyEditable:function(bi,bj){var bk=this.getChildControl(k);

if(bk){bk.setReadOnly(!bi);
}},_applyWrap:function(bl,bm){this._updateButtons();
},_applyNumberFormat:function(bn,bo){var bp=this.getChildControl(k);
bp.setFilter(this._getFilterRegExp());
this.getNumberFormat().addListener(w,this._onChangeNumberFormat,this);
this._applyValue(this.__zR,undefined);
},_getContentPaddingTarget:function(){return this.getChildControl(k);
},_updateButtons:function(){var br=this.getChildControl(h);
var bq=this.getChildControl(i);
var bs=this.getValue();

if(!this.getEnabled()){br.setEnabled(false);
bq.setEnabled(false);
}else{if(this.getWrap()){br.setEnabled(true);
bq.setEnabled(true);
}else{if(bs!==null&&bs<this.getMaximum()){br.setEnabled(true);
}else{br.setEnabled(false);
}if(bs!==null&&bs>this.getMinimum()){bq.setEnabled(true);
}else{bq.setEnabled(false);
}}}},_onKeyDown:function(e){switch(e.getKeyIdentifier()){case d:this.__zS=true;
case J:this.getChildControl(h).press();
break;
case H:this.__zT=true;
case a:this.getChildControl(i).press();
break;
default:return ;
}e.stopPropagation();
e.preventDefault();
},_onKeyUp:function(e){switch(e.getKeyIdentifier()){case d:this.getChildControl(h).release();
this.__zS=false;
break;
case J:this.getChildControl(h).release();
break;
case H:this.getChildControl(i).release();
this.__zT=false;
break;
case a:this.getChildControl(i).release();
break;
}},_onMouseWheel:function(e){var bt=e.getWheelDelta(s);

if(bt>0){this._countDown();
}else if(bt<0){this._countUp();
}e.stop();
},_onTextChange:function(e){var bu=this.getChildControl(k);
var bv;
if(this.getNumberFormat()){try{bv=this.getNumberFormat().parse(bu.getValue());
}catch(bw){}}if(bv===undefined){bv=parseFloat(bu.getValue());
}if(!isNaN(bv)){if(bv>this.getMaximum()){bu.setValue(this.getMaximum()+j);
return;
}else if(bv<this.getMinimum()){bu.setValue(this.getMinimum()+j);
return;
}this.setValue(bv);
}else{this._applyValue(this.__zR,undefined);
}},_onChangeLocale:function(bx){if(this.getNumberFormat()!==null){this.setNumberFormat(this.getNumberFormat());
var by=this.getChildControl(k);
by.setFilter(this._getFilterRegExp());
by.setValue(this.getNumberFormat().format(this.getValue()));
}},_onChangeNumberFormat:function(bz){var bA=this.getChildControl(k);
bA.setFilter(this._getFilterRegExp());
bA.setValue(this.getNumberFormat().format(this.getValue()));
},_countUp:function(){if(this.__zS){var bC=this.getValue()+this.getPageStep();
}else{var bC=this.getValue()+this.getSingleStep();
}if(this.getWrap()){if(bC>this.getMaximum()){var bB=this.getMaximum()-bC;
bC=this.getMinimum()+bB;
}}this.gotoValue(bC);
},_countDown:function(){if(this.__zT){var bE=this.getValue()-this.getPageStep();
}else{var bE=this.getValue()-this.getSingleStep();
}if(this.getWrap()){if(bE<this.getMinimum()){var bD=this.getMinimum()+bE;
bE=this.getMaximum()-bD;
}}this.gotoValue(bE);
},gotoValue:function(bF){return this.setValue(Math.min(this.getMaximum(),Math.max(this.getMinimum(),bF)));
}},destruct:function(){if(qx.core.Environment.get(F)){qx.locale.Manager.getInstance().removeListener(G,this._onChangeLocale,this);
}}});
})();
(function(){var c="password",b="qx.ui.form.PasswordField",a="input";
qx.Class.define(b,{extend:qx.ui.form.TextField,members:{_createInputElement:function(){var d=new qx.html.Input(c);
d.addListener(a,this._onHtmlInput,this);
return d;
}}});
})();

});