var ux=I.ea(qx,"AdfDhtmlSelectOneRadioPeer");m("AdfDhtmlSelectOneRadioPeer",ux);ux.C=function(){I.hc(this,AdfUIEditableValue.SUBMITTED_VALUE,AdfUISelectOne.st,AdfRichSelectOneRadio.LABEL);I.sb(this,AdfRichSelectOneRadio.LABEL);I.ra(this,D.wb);this.cj="_adfIV"};m("AdfDhtmlSelectOneRadioPeer.InitSubclass",ux.C);ux.prototype.M=function(a){ux.h.M.call(this,a);var b=this.f(),d=null;(a=a.X())&&"LABEL"==a.tagName&&(a=a.getAttribute("for"))&&-1!=a.indexOf(b.g())&&(d=a);this.cc(b,this.Wa(b,this.i(),d))};
r.a("AdfDhtmlSelectOneRadioPeer.prototype.HandleComponentClick",{M:ux.prototype.M});ux.prototype.Yd=function(a,b){b||(b=this.i());var d=b.getElementsByTagName("input")[0];return d?"0"===q.b.getComputedStyle(d).opacity?d.parentElement:d:ux.h.Yd.call(this,a,b)};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetNoteWindowAlignmentNode",{Yd:ux.prototype.Yd});
ux.prototype.uk=function(a,b){var d=O.da(a,b);if(null!=d){var d=d.getElementsByTagName("input"),e=[],f=null;if(null!=d)for(var g=d.length,h=0;h<g;h++)f=d[h],e[h]=new kb(f.value,O.Go(f).textContent,f.disabled,"t"===f.getAttribute(qx.Fca));return e}};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetComponentSelectItems",{uk:ux.prototype.uk});
ux.prototype.Wa=function(a,b,d){b=O.da(a,b);if(a.getReadOnly())return b.getAttribute(ux.cj);if(d)return q.b.getElementById(d).value;a=b.getElementsByTagName("input");for(d=0;d<a.length;d++)if(a[d].checked)return a[d].value;return""};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetSubmittedValue",{Wa:ux.prototype.Wa});
ux.prototype.Ba=function(a,b,d){b=O.da(a,b);if(null!=b)if(a=a.getReadOnly(),u.J(d),a)q.b.bc(b,d);else if(a=b.getElementsByTagName("input"),null!=a){b=a.length;for(var e=0;e<b;e++)a[e].value==d&&(a[e].checked=!0)}};r.a("AdfDhtmlSelectOneRadioPeer.prototype.SetDisplayValue",{Ba:ux.prototype.Ba});ux.prototype.Oa=function(){return ii.jd()};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetInlineEditor",{Oa:ux.prototype.Oa});