var gv=M.U(bv,"AdfDhtmlSelectOneListboxPeer");v("AdfDhtmlSelectOneListboxPeer",gv);gv.m=function(){M.$b(this,AdfUIEditableValue.SUBMITTED_VALUE,AdfUISelectOne.Dq,AdfRichSelectOneListbox.LABEL);z.kb(AdfRichSelectOneListbox);M.hb(this,AdfRichSelectOneListbox.LABEL);M.ha(this,I.jb,I.Xc,I.ec,I.Dd);this.ok="p_AFDisabled";this.ii="p_AFSelected";this.Z6a="_afrSelectedId";this.mT="listHolder";this.mra="_adfTP"};v("AdfDhtmlSelectOneListboxPeer.InitSubclass",gv.m);
gv.prototype.q=function(a,b){gv.f.q.call(this,a,b);hv(this,a)};z.a("AdfDhtmlSelectOneListboxPeer.prototype.InitDomElement",{q:gv.prototype.q});gv.prototype.Za=function(a,b){gv.f.Za.call(this,a,b);var d=M.g(a.e(),gv.mT),e=w.b;if((d=e.getElementById(d))&&!d.getAttribute(gv.mra)){for(var f=this.Ws(a),g=f.length,h=n,m=e.G()==w.aa&&7==Math.floor(e.nb()),q=0;q<g;q++)h=f[q],(h.title==n||""==h.title)&&h.setAttribute("title",h.innerHTML),m&&e.vd(h);d.setAttribute(gv.mra,l)}};
z.a("AdfDhtmlSelectOneListboxPeer.prototype.BindToComponent",{Za:gv.prototype.Za});gv.prototype.C=function(a){gv.f.C.call(this,a);var b=a.getSource(),d=a.Q();if("LABEL"==w.b.Ga(d))this.focus(b);else if(this.gt(d)){var e=d.getAttribute(bv.We),f=this.h(),g=iv(this,b,f);g!=n&&a.L().ctrlKey&&g==d&&(e="");a=""+e;this.xa(b,f,a);this.Yb(b,a)}};z.a("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentClick",{C:gv.prototype.C});gv.prototype.qa=function(a){a.L().ctrlKey&&a.cancel()};
z.a("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentMouseDown",{qa:gv.prototype.qa});gv.prototype.ba=function(a){var b=a.L(),d=w.b.ia(b),e=a.getSource(),f=this.h(),g=iv(this,e,f);a.Q();switch(d){case E.zd:b.ctrlKey&&(this.xa(e,f,""),this.Yb(e,""));a.cancel();break;case E.$a:this.OT(e,f);break;case E.Ya:case E.Ja:(b=d==E.Ya?this.eT(g):this.KK(g))||(b=this.aT(e)),b&&(this.E4(e,f),b=b.getAttribute(bv.We),this.xa(e,f,b)),a.cancel()}};
z.a("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentKeyDown",{ba:gv.prototype.ba});gv.prototype.Eb=function(a){a=a.getSource();var b=this.h();this.OT(a,b)};z.a("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentBlur",{Eb:gv.prototype.Eb});gv.prototype.xa=function(a,b,d){var e=U.W(a,b);B.s(d);if(!a.getReadOnly()){var f=this.bo(a,d);b=iv(this,a,b);this.IT(a,f,b);e.value=d}};z.a("AdfDhtmlSelectOneListboxPeer.prototype.SetDisplayValue",{xa:gv.prototype.xa});
gv.prototype.pd=function(a){a=a.e();a=M.g(a,gv.mT);return w.b.getElementById(a)};z.a("AdfDhtmlSelectOneListboxPeer.prototype.GetNoteWindowAlignmentNode",{pd:gv.prototype.pd});gv.prototype.om=function(a){a=a.e();return w.b.getElementById(M.g(a,gv.mT))};z.a("AdfDhtmlSelectOneListboxPeer.prototype.GetItemElementsParent",{om:gv.prototype.om});function iv(a,b,d){d=a.cb(b,d);return a.bo(b,d)}gv.prototype.Aa=function(){return mg.Hc()};z.a("AdfDhtmlSelectOneListboxPeer.prototype.GetInlineEditor",{Aa:gv.prototype.Aa});
gv.prototype.ja=t(l);z.a("AdfDhtmlSelectOneListboxPeer.prototype.needsResizeNotify",{ja:gv.prototype.ja});gv.prototype.Ia=function(){var a=this.d();hv(this,a)};z.a("AdfDhtmlSelectOneListboxPeer.prototype.ResizeNotify",{Ia:gv.prototype.Ia});function hv(a,b){var d=M.g(b.e(),gv.mT);if(d=w.b.getElementById(d)){var e=a.h(),e=iv(a,b,e);e!=n&&H.setScrollTop(d,e.offsetTop)}};