var Bo=I.ea(I,"AdfDhtmlValuePeer");m("AdfDhtmlValuePeer",Bo);Bo.C=function(){I.hc(this,AdfUIValue.VALUE);I.sb(this,AdfUIValue.VALUE)};m("AdfDhtmlValuePeer.InitSubclass",Bo.C);Bo.prototype.G=function(a,b){Bo.h.G.call(this,a,b);var d=a.getConverter();d&&d.ita&&d.ita()&&(d=this.sJ(a,b,d),this.Ba(a,b,d))};r.a("AdfDhtmlValuePeer.prototype.InitDomElement",{G:Bo.prototype.G});
Bo.prototype.Af=function(a,b){var d=b;null==a&&(a=this.f());if(a.getConverter){var e=a.getConverter();null!=e&&(d=e.getAsObject(b,a.K("label")))}return d};r.a("AdfDhtmlValuePeer.prototype.getConvertedValue",{Af:Bo.prototype.Af});Bo.prototype.RY=function(a){return a.getConverter&&(a=a.getConverter())&&a.RY?a.RY():null};r.a("AdfDhtmlValuePeer.prototype.getFormatHint",{RY:Bo.prototype.RY});
Bo.prototype.oi=function(a,b){if(null!=b){var d=b;null==a&&(a=this.f());if(void 0!=a.getConverter){var e=a.getConverter();null!=e&&(d=e.getAsString(b,a.K("label")))}return d}return null};r.a("AdfDhtmlValuePeer.prototype.getConvertedObject",{oi:Bo.prototype.oi});Bo.prototype.zc=function(a){if(null==a)return!0;a=xa.trim(a);return 0==a.length};r.a("AdfDhtmlValuePeer.prototype.isEmpty",{zc:Bo.prototype.zc});Bo.prototype.Hf=function(){u.fa()};r.a("AdfDhtmlValuePeer.prototype.GetDisplayValue",{Hf:Bo.prototype.Hf});
Bo.prototype.sJ=function(a,b,d){b=this.Hf(a,b,!0);try{return d.getAsString(b,a.K("label"))}catch(e){v.l.fv(e,"Invoking TrClientConverter.getAsString on component (id\x3d'"+a.g()+"') resulted in an unexpected exception. The component's display value will not be formatted.")}return b};r.a("AdfDhtmlValuePeer.prototype.GetFormattedDisplayValue",{sJ:Bo.prototype.sJ});Bo.prototype.Lua=function(a,b){this.bind(a);this.Ba(a,this.i(),b)};r.a("AdfDhtmlValuePeer.prototype.setDisplayValue",{Lua:Bo.prototype.Lua});
Bo.prototype.Ba=function(){u.fa()};r.a("AdfDhtmlValuePeer.prototype.SetDisplayValue",{Ba:Bo.prototype.Ba});Bo.prototype.vk=function(a,b){var d=this.Hf(a,b,!0);if(!this.zc(d))try{return this.Af(a,d)}catch(e){}return null};r.a("AdfDhtmlValuePeer.prototype.GetComponentValue",{vk:Bo.prototype.vk});Bo.prototype.Ff=function(a,b,d){if(null==d)d=this.at();else{var e=this.oi(a,d);if(void 0===e){v.l.warning("The new value '",d,"' could not be converted for display.");return}d=e}return this.Ba(a,b,d)};
r.a("AdfDhtmlValuePeer.prototype.ComponentValueChanged",{Ff:Bo.prototype.Ff});Bo.prototype.at=function(){return""};r.a("AdfDhtmlValuePeer.prototype.GetNullDefault",{at:Bo.prototype.at});