var zo=I.ea(I,"AdfDhtmlValuePeer");m("AdfDhtmlValuePeer",zo);zo.C=function(){I.hc(this,AdfUIValue.VALUE);I.sb(this,AdfUIValue.VALUE)};m("AdfDhtmlValuePeer.InitSubclass",zo.C);zo.prototype.G=function(a,b){zo.h.G.call(this,a,b);var d=a.getConverter();d&&d.fta&&d.fta()&&(d=this.sJ(a,b,d),this.Ba(a,b,d))};r.a("AdfDhtmlValuePeer.prototype.InitDomElement",{G:zo.prototype.G});
zo.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:zo.prototype.Af});zo.prototype.RY=function(a){return a.getConverter&&(a=a.getConverter())&&a.RY?a.RY():null};r.a("AdfDhtmlValuePeer.prototype.getFormatHint",{RY:zo.prototype.RY});
zo.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:zo.prototype.oi});zo.prototype.zc=function(a){if(null==a)return!0;a=xa.trim(a);return 0==a.length};r.a("AdfDhtmlValuePeer.prototype.isEmpty",{zc:zo.prototype.zc});zo.prototype.Hf=function(){u.fa()};r.a("AdfDhtmlValuePeer.prototype.GetDisplayValue",{Hf:zo.prototype.Hf});
zo.prototype.sJ=function(a,b,d){b=this.Hf(a,b,!0);try{return d.getAsString(b,a.K("label"))}catch(e){v.l.dv(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:zo.prototype.sJ});zo.prototype.Hua=function(a,b){this.bind(a);this.Ba(a,this.i(),b)};r.a("AdfDhtmlValuePeer.prototype.setDisplayValue",{Hua:zo.prototype.Hua});
zo.prototype.Ba=function(){u.fa()};r.a("AdfDhtmlValuePeer.prototype.SetDisplayValue",{Ba:zo.prototype.Ba});zo.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:zo.prototype.vk});zo.prototype.Ff=function(a,b,d){if(null==d)d=this.$s();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:zo.prototype.Ff});zo.prototype.$s=function(){return""};r.a("AdfDhtmlValuePeer.prototype.GetNullDefault",{$s:zo.prototype.$s});