var jv=M.U(fv,"AdfDhtmlSelectOneRadioPeer");v("AdfDhtmlSelectOneRadioPeer",jv);jv.m=function(){M.$b(this,AdfUIEditableValue.SUBMITTED_VALUE,AdfUISelectOne.Dq,AdfRichSelectOneRadio.LABEL);M.hb(this,AdfRichSelectOneRadio.LABEL);M.ha(this,I.jb);this.We="_adfIV"};v("AdfDhtmlSelectOneRadioPeer.InitSubclass",jv.m);jv.prototype.C=function(a){jv.f.C.call(this,a);var b=this.d(),d=n;if((a=a.Q())&&"LABEL"==a.tagName)(a=a.getAttribute("for"))&&-1!=a.indexOf(b.e())&&(d=a);this.Yb(b,this.cb(b,this.h(),d))};
z.a("AdfDhtmlSelectOneRadioPeer.prototype.HandleComponentClick",{C:jv.prototype.C});jv.prototype.pd=function(a,b){b||(b=this.h());var d=b.getElementsByTagName("input")[0];return d?d:jv.f.pd.call(this,a,b)};z.a("AdfDhtmlSelectOneRadioPeer.prototype.GetNoteWindowAlignmentNode",{pd:jv.prototype.pd});
jv.prototype.mj=function(a,b){var d=U.W(a,b);if(d!=n){var d=d.getElementsByTagName("input"),e=[],f=n;if(d!=n)for(var g=d.length,h=0;h<g;h++)f=d[h],e[h]=new gb(f.value,f.parentNode.nextSibling.innerHTML,f.disabled,"t"===f.getAttribute(fv.Z3));return e}};z.a("AdfDhtmlSelectOneRadioPeer.prototype.GetComponentSelectItems",{mj:jv.prototype.mj});
jv.prototype.cb=function(a,b,d){b=U.W(a,b);if(a.getReadOnly())return b.getAttribute(jv.We);if(d)return w.b.getElementById(d).value;a=b.getElementsByTagName("input");for(d=0;d<a.length;d++)if(a[d].checked)return a[d].value;return""};z.a("AdfDhtmlSelectOneRadioPeer.prototype.GetSubmittedValue",{cb:jv.prototype.cb});
jv.prototype.xa=function(a,b,d){b=U.W(a,b);if(b!=n)if(a=a.getReadOnly(),B.s(d),a)w.b.yb(b,d);else if(a=b.getElementsByTagName("input"),a!=n){b=a.length;for(var e=0;e<b;e++)a[e].value==d&&(a[e].checked=l)}};z.a("AdfDhtmlSelectOneRadioPeer.prototype.SetDisplayValue",{xa:jv.prototype.xa});jv.prototype.Aa=function(){return mg.Hc()};z.a("AdfDhtmlSelectOneRadioPeer.prototype.GetInlineEditor",{Aa:jv.prototype.Aa});