var $AdfDhtmlTrainButtonBarPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlTrainButtonBarPeer");
$goog$exportSymbol$$("AdfDhtmlTrainButtonBarPeer", $AdfDhtmlTrainButtonBarPeer$$);
$AdfDhtmlTrainButtonBarPeer$$.prototype.$ConvertClientIdToLocator$ = function $$AdfDhtmlTrainButtonBarPeer$$$$$ConvertClientIdToLocator$$($clientId$$400_component$$1700$$, $childComponent$$23_clientIdDepth$$8$$, $descComponentClientId$$9_index$$173_subComponentId$$8$$, $replaceArray$$10$$) {
  $clientId$$400_component$$1700$$ = $clientId$$400_component$$1700$$.$getClientId$();
  $childComponent$$23_clientIdDepth$$8$$ = $AdfStrings$$.count($clientId$$400_component$$1700$$, ":");
  $AdfAssert$$.assert(0 <= $descComponentClientId$$9_index$$173_subComponentId$$8$$.indexOf($clientId$$400_component$$1700$$));
  $descComponentClientId$$9_index$$173_subComponentId$$8$$ = $descComponentClientId$$9_index$$173_subComponentId$$8$$.substring($clientId$$400_component$$1700$$.length + 1);
  var $endIndex$$10$$ = $descComponentClientId$$9_index$$173_subComponentId$$8$$.indexOf(":");
  if(0 < $endIndex$$10$$) {
    $descComponentClientId$$9_index$$173_subComponentId$$8$$ = $descComponentClientId$$9_index$$173_subComponentId$$8$$.substring(0, $endIndex$$10$$);
    switch(parseInt($descComponentClientId$$9_index$$173_subComponentId$$8$$)) {
      case 0:
        $descComponentClientId$$9_index$$173_subComponentId$$8$$ = "back";
        break;
      case 1:
        $descComponentClientId$$9_index$$173_subComponentId$$8$$ = "next";
        break;
      default:
        return $AdfLogger$$.$LOGGER$.warning("Invalid index:", $descComponentClientId$$9_index$$173_subComponentId$$8$$), $clientId$$400_component$$1700$$
    }
    $replaceArray$$10$$.push([$childComponent$$23_clientIdDepth$$8$$ + 1, $descComponentClientId$$9_index$$173_subComponentId$$8$$])
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainButtonBarPeer.prototype.ConvertClientIdToLocator", {$ConvertClientIdToLocator$:$AdfDhtmlTrainButtonBarPeer$$.prototype.$ConvertClientIdToLocator$});
$AdfDhtmlTrainButtonBarPeer$$.prototype.$convertLocatorToClientId$ = function $$AdfDhtmlTrainButtonBarPeer$$$$$convertLocatorToClientId$$($component$$1701$$, $index$$174$$) {
  var $clientId$$401$$ = $component$$1701$$.$getClientId$(), $button$$12_root$$23$$ = this.$getDomElement$(), $idStartsWith$$;
  if("back" == $index$$174$$) {
    return $button$$12_root$$23$$ = $AdfDomUtils$$.$getFirstDescendentElement$($button$$12_root$$23$$, "button"), $idStartsWith$$ = $clientId$$401$$ + ":0", $AdfAssert$$.assert($button$$12_root$$23$$.id && $button$$12_root$$23$$.id.substring(0, $idStartsWith$$.length) == $idStartsWith$$, "Incorrect element found"), $button$$12_root$$23$$.id
  }
  if("next" == $index$$174$$) {
    return $idStartsWith$$ = $clientId$$401$$ + ":1", $button$$12_root$$23$$ = $AdfDomUtils$$.$getLastElementMatch$($button$$12_root$$23$$, $JSCompiler_alias_FALSE$$, function($component$$1701$$) {
      return"BUTTON" == $component$$1701$$.tagName && $component$$1701$$.id && $component$$1701$$.id.substring(0, $idStartsWith$$.length) == $idStartsWith$$
    }), $button$$12_root$$23$$.id
  }
  $AdfLogger$$.$LOGGER$.warning("Invalid index:", $index$$174$$);
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTrainButtonBarPeer.prototype.convertLocatorToClientId", {$convertLocatorToClientId$:$AdfDhtmlTrainButtonBarPeer$$.prototype.$convertLocatorToClientId$});
