var $AdfDhtmlValuePeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlValuePeer");
$goog$exportSymbol$$("AdfDhtmlValuePeer", $AdfDhtmlValuePeer$$);
$AdfDhtmlValuePeer$$.$InitSubclass$ = function $$AdfDhtmlValuePeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfUIValue.VALUE);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfUIValue.VALUE)
};
$goog$exportSymbol$$("AdfDhtmlValuePeer.InitSubclass", $AdfDhtmlValuePeer$$.$InitSubclass$);
$AdfDhtmlValuePeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlValuePeer$$$$$InitDomElement$$($component$$1736$$, $domElement$$504$$) {
  $AdfDhtmlValuePeer$$.$superclass$.$InitDomElement$.call(this, $component$$1736$$, $domElement$$504$$);
  var $converter$$18$$ = $component$$1736$$.getConverter();
  if($converter$$18$$ && $converter$$18$$.$isClientOnly$ && $converter$$18$$.$isClientOnly$()) {
    var $rawDisplayValue$$ = this.$GetDisplayValue$($component$$1736$$, $domElement$$504$$, $JSCompiler_alias_TRUE$$);
    try {
      var $formattedDisplayStr$$ = $converter$$18$$.getAsString($rawDisplayValue$$, $component$$1736$$.$getProperty$("label"));
      this.$SetDisplayValue$($component$$1736$$, $domElement$$504$$, $formattedDisplayStr$$)
    }catch($e$$147$$) {
      $AdfLogger$$.$LOGGER$.$logErrorAsSevere$($e$$147$$, "Invoking TrClientConverter.getAsString on component (id\x3d'" + $component$$1736$$.$getClientId$() + "') resulted in an unexpected exception. The component's display value will not be formatted.")
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlValuePeer$$.prototype.$InitDomElement$});
$AdfDhtmlValuePeer$$.prototype.$getConvertedValue$ = function $$AdfDhtmlValuePeer$$$$$getConvertedValue$$($component$$1737$$, $submittedValue$$26$$) {
  var $newValue$$153$$ = $submittedValue$$26$$;
  $component$$1737$$ == $JSCompiler_alias_NULL$$ && ($component$$1737$$ = this.$getComponent$());
  if($component$$1737$$.getConverter) {
    var $converter$$19$$ = $component$$1737$$.getConverter();
    $converter$$19$$ != $JSCompiler_alias_NULL$$ && ($newValue$$153$$ = $converter$$19$$.getAsObject($submittedValue$$26$$, $component$$1737$$.$getProperty$("label")))
  }
  return $newValue$$153$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.getConvertedValue", {$getConvertedValue$:$AdfDhtmlValuePeer$$.prototype.$getConvertedValue$});
$AdfDhtmlValuePeer$$.prototype.$getFormatHint$ = function $$AdfDhtmlValuePeer$$$$$getFormatHint$$($component$$1738_converter$$20$$) {
  return $component$$1738_converter$$20$$.getConverter && ($component$$1738_converter$$20$$ = $component$$1738_converter$$20$$.getConverter()) && $component$$1738_converter$$20$$.$getFormatHint$ ? $component$$1738_converter$$20$$.$getFormatHint$() : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.getFormatHint", {$getFormatHint$:$AdfDhtmlValuePeer$$.prototype.$getFormatHint$});
$AdfDhtmlValuePeer$$.prototype.$getConvertedObject$ = function $$AdfDhtmlValuePeer$$$$$getConvertedObject$$($component$$1739$$, $value$$194$$) {
  if($value$$194$$ != $JSCompiler_alias_NULL$$) {
    var $newValue$$154$$ = $value$$194$$;
    $component$$1739$$ == $JSCompiler_alias_NULL$$ && ($component$$1739$$ = this.$getComponent$());
    if($component$$1739$$.getConverter != $JSCompiler_alias_VOID$$) {
      var $converter$$21$$ = $component$$1739$$.getConverter();
      $converter$$21$$ != $JSCompiler_alias_NULL$$ && ($newValue$$154$$ = $converter$$21$$.getAsString($value$$194$$, $component$$1739$$.$getProperty$("label")))
    }
    return $newValue$$154$$
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.getConvertedObject", {$getConvertedObject$:$AdfDhtmlValuePeer$$.prototype.$getConvertedObject$});
$AdfDhtmlValuePeer$$.prototype.$isEmpty$ = function $$AdfDhtmlValuePeer$$$$$isEmpty$$($submittedValue$$27$$) {
  if($submittedValue$$27$$ == $JSCompiler_alias_NULL$$) {
    return $JSCompiler_alias_TRUE$$
  }
  $submittedValue$$27$$ = $AdfStrings$$.trim($submittedValue$$27$$);
  return 0 == $submittedValue$$27$$.length
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.isEmpty", {$isEmpty$:$AdfDhtmlValuePeer$$.prototype.$isEmpty$});
$AdfDhtmlValuePeer$$.prototype.$GetDisplayValue$ = function $$AdfDhtmlValuePeer$$$$$GetDisplayValue$$() {
  $AdfAssert$$.$failedInAbstractFunction$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.GetDisplayValue", {$GetDisplayValue$:$AdfDhtmlValuePeer$$.prototype.$GetDisplayValue$});
$AdfDhtmlValuePeer$$.prototype.$setDisplayValue$ = function $$AdfDhtmlValuePeer$$$$$setDisplayValue$$($component$$1741$$, $newValue$$155$$) {
  this.bind($component$$1741$$);
  this.$SetDisplayValue$($component$$1741$$, this.$getDomElement$(), $newValue$$155$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.setDisplayValue", {$setDisplayValue$:$AdfDhtmlValuePeer$$.prototype.$setDisplayValue$});
$AdfDhtmlValuePeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlValuePeer$$$$$SetDisplayValue$$() {
  $AdfAssert$$.$failedInAbstractFunction$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlValuePeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlValuePeer$$.prototype.$GetComponentValue$ = function $$AdfDhtmlValuePeer$$$$$GetComponentValue$$($component$$1743$$, $domElement$$507$$) {
  var $displayValue$$1$$ = this.$GetDisplayValue$($component$$1743$$, $domElement$$507$$, $JSCompiler_alias_TRUE$$);
  if(!this.$isEmpty$($displayValue$$1$$)) {
    try {
      return this.$getConvertedValue$($component$$1743$$, $displayValue$$1$$)
    }catch($e$$148$$) {
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.GetComponentValue", {$GetComponentValue$:$AdfDhtmlValuePeer$$.prototype.$GetComponentValue$});
$AdfDhtmlValuePeer$$.prototype.$ComponentValueChanged$ = function $$AdfDhtmlValuePeer$$$$$ComponentValueChanged$$($component$$1744$$, $domElement$$508$$, $newValue$$158$$) {
  if($newValue$$158$$ == $JSCompiler_alias_NULL$$) {
    $newValue$$158$$ = this.$GetNullDefault$()
  }else {
    var $convertedValue$$5$$ = this.$getConvertedObject$($component$$1744$$, $newValue$$158$$);
    if($convertedValue$$5$$ === $JSCompiler_alias_VOID$$) {
      $AdfLogger$$.$LOGGER$.warning("The new value '", $newValue$$158$$, "' could not be converted for display.");
      return
    }
    $newValue$$158$$ = $convertedValue$$5$$
  }
  return this.$SetDisplayValue$($component$$1744$$, $domElement$$508$$, $newValue$$158$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.ComponentValueChanged", {$ComponentValueChanged$:$AdfDhtmlValuePeer$$.prototype.$ComponentValueChanged$});
$AdfDhtmlValuePeer$$.prototype.$GetNullDefault$ = $JSCompiler_returnArg$$("");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlValuePeer.prototype.GetNullDefault", {$GetNullDefault$:$AdfDhtmlValuePeer$$.prototype.$GetNullDefault$});
