var $AdfDhtmlShowDetailPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlShowDisclosurePeer$$, "AdfDhtmlShowDetailPeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlShowDetailPeer", $AdfDhtmlShowDetailPeer$$);
$AdfDhtmlShowDetailPeer$$.$InitSubclass$ = function $$AdfDhtmlShowDetailPeer$$$$InitSubclass$$() {
  $AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_CHILD_CONTAINER_STYLE_CLASS$ = "af|showDetail::child-container";
  $AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_HEADER_TEXT_STYLE_CLASS$ = "af|showDetail::header-text";
  $AdfDhtmlTogglePeer$$.$Config$(this, {$ltrToggledIconName$:"af|showDetail::disclosed-icon", $ltrUntoggledIconName$:"af|showDetail::undisclosed-icon", $rtlToggledIconName$:"af|showDetail::disclosed-icon:rtl", $rtlUntoggledIconName$:"af|showDetail::undisclosed-icon:rtl"})
};
$goog$exportSymbol$$("AdfDhtmlShowDetailPeer.InitSubclass", $AdfDhtmlShowDetailPeer$$.$InitSubclass$);
$AdfDhtmlShowDetailPeer$$.prototype.$HandleClientSideToggle$ = function $$AdfDhtmlShowDetailPeer$$$$$HandleClientSideToggle$$($JSCompiler_temp$$46_disclosed$$14$$) {
  if($AdfDhtmlShowDetailPeer$$.$superclass$.$HandleClientSideToggle$.call(this, $JSCompiler_temp$$46_disclosed$$14$$)) {
    var $contentDom$$inline_3578$$ = this.$_getContentDomElement$();
    $contentDom$$inline_3578$$ != $JSCompiler_alias_NULL$$ ? ($contentDom$$inline_3578$$.style.display = $JSCompiler_temp$$46_disclosed$$14$$ ? "" : "none", $JSCompiler_temp$$46_disclosed$$14$$ = $JSCompiler_alias_TRUE$$) : $JSCompiler_temp$$46_disclosed$$14$$ = $JSCompiler_alias_FALSE$$
  }else {
    $JSCompiler_temp$$46_disclosed$$14$$ = $JSCompiler_alias_FALSE$$
  }
  return $JSCompiler_temp$$46_disclosed$$14$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.HandleClientSideToggle", {$HandleClientSideToggle$:$AdfDhtmlShowDetailPeer$$.prototype.$HandleClientSideToggle$});
$AdfDhtmlShowDetailPeer$$.prototype.$GetTitle$ = function $$AdfDhtmlShowDetailPeer$$$$$GetTitle$$() {
  var $comp$$15$$ = this.$getComponent$(), $text$$39$$;
  $comp$$15$$.getDisclosed() ? $text$$39$$ = $comp$$15$$.$getProperty$("disclosedText") : ($text$$39$$ = $comp$$15$$.$getProperty$("undisclosedText"), $text$$39$$ == $JSCompiler_alias_NULL$$ && ($text$$39$$ = $comp$$15$$.$getProperty$("disclosedText")));
  return $text$$39$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.GetTitle", {$GetTitle$:$AdfDhtmlShowDetailPeer$$.prototype.$GetTitle$});
$AdfDhtmlShowDetailPeer$$.prototype.$ApplyTitle$ = function $$AdfDhtmlShowDetailPeer$$$$$ApplyTitle$$($newHeaderText_titleText$$1$$) {
  var $elem$$38_img$$9_rootElem$$4$$ = this.$GetButtonImageElement$(), $agent$$518$$ = $AdfAgent$$.$AGENT$;
  $agent$$518$$.setAttribute($elem$$38_img$$9_rootElem$$4$$, "alt", $newHeaderText_titleText$$1$$);
  $agent$$518$$.setAttribute($elem$$38_img$$9_rootElem$$4$$, "title", $newHeaderText_titleText$$1$$);
  $newHeaderText_titleText$$1$$ = this.$GetTitle$();
  if($newHeaderText_titleText$$1$$ != $JSCompiler_alias_NULL$$) {
    var $headerTextStyleClass$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$($AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_HEADER_TEXT_STYLE_CLASS$), $elem$$38_img$$9_rootElem$$4$$ = this.$getDomElement$(), $elem$$38_img$$9_rootElem$$4$$ = $AdfDomUtils$$.$getFirstElementMatch$($elem$$38_img$$9_rootElem$$4$$, $JSCompiler_alias_TRUE$$, function($newHeaderText_titleText$$1$$) {
      return $AdfDomUtils$$.$containsCSSClassName$($newHeaderText_titleText$$1$$, $headerTextStyleClass$$) ? $newHeaderText_titleText$$1$$ : $JSCompiler_alias_NULL$$
    });
    $elem$$38_img$$9_rootElem$$4$$ != $JSCompiler_alias_NULL$$ && ($AdfDomUtils$$.$removeAllNodes$($elem$$38_img$$9_rootElem$$4$$), $elem$$38_img$$9_rootElem$$4$$.appendChild(document.createTextNode($newHeaderText_titleText$$1$$)))
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.ApplyTitle", {$ApplyTitle$:$AdfDhtmlShowDetailPeer$$.prototype.$ApplyTitle$});
$AdfDhtmlShowDetailPeer$$.prototype.$EventPropagatesToServer$ = function $$AdfDhtmlShowDetailPeer$$$$$EventPropagatesToServer$$($isExpanded$$6$$) {
  var $value$$191$$ = $AdfDhtmlShowDetailPeer$$.$superclass$.$EventPropagatesToServer$.call(this);
  if($value$$191$$ == $JSCompiler_alias_FALSE$$) {
    var $component$$1603$$ = this.$getComponent$();
    "lazy" == $component$$1603$$.getPropertyValue("contentDelivery") && this.$_getContentDomElement$() == $JSCompiler_alias_NULL$$ && ($value$$191$$ = $JSCompiler_alias_TRUE$$);
    $value$$191$$ == $JSCompiler_alias_FALSE$$ && $isExpanded$$6$$ == $JSCompiler_alias_FALSE$$ && ($value$$191$$ = $AdfPage$$.$PAGE$.$_dirtyStateService$.$hasDirtyData$($component$$1603$$))
  }
  return $value$$191$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlShowDetailPeer.prototype.EventPropagatesToServer", {$EventPropagatesToServer$:$AdfDhtmlShowDetailPeer$$.prototype.$EventPropagatesToServer$});
$AdfDhtmlShowDetailPeer$$.prototype.$_getContentDomElement$ = function $$AdfDhtmlShowDetailPeer$$$$$_getContentDomElement$$() {
  var $rootElem$$5$$ = this.$getDomElement$(), $styleClass$$10$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($AdfDhtmlShowDetailPeer$$.$_SHOW_DETAIL_CHILD_CONTAINER_STYLE_CLASS$);
  return $AdfDomUtils$$.$getFirstElementMatch$($rootElem$$5$$, $JSCompiler_alias_TRUE$$, $AdfDomUtils$$.$containsCSSClassName$, $styleClass$$10$$)
};
