var $AdfDhtmlSelectOneListbasePeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlSelectOnePeer$$, "AdfDhtmlSelectOneListbasePeer");
$goog$exportSymbol$$("AdfDhtmlSelectOneListbasePeer", $AdfDhtmlSelectOneListbasePeer$$);
$AdfDhtmlSelectOneListbasePeer$$.$InitSubclass$ = function $$AdfDhtmlSelectOneListbasePeer$$$$InitSubclass$$() {
  this.$_ITEM_VALUE_EXPANDO$ = "_adfIV";
  this.$_DISABLED_STYLE_CLASS$ = "p_AFDisabled";
  this.$_SELECTED_STYLE_CLASS$ = "p_AFSelected"
};
$goog$exportSymbol$$("AdfDhtmlSelectOneListbasePeer.InitSubclass", $AdfDhtmlSelectOneListbasePeer$$.$InitSubclass$);
$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetSubmittedValue$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$GetSubmittedValue$$($component$$1564$$, $domElement$$449$$) {
  var $domNode$$87$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1564$$, $domElement$$449$$);
  return $component$$1564$$.getReadOnly() ? $domNode$$87$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$) : $domNode$$87$$.value
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.GetSubmittedValue", {$GetSubmittedValue$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetSubmittedValue$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$IsItemEnabled$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$IsItemEnabled$$($element$$269$$) {
  return $element$$269$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$) != $JSCompiler_alias_NULL$$ && !$AdfDomUtils$$.$containsCSSClassName$($element$$269$$, $AdfDhtmlSelectOneListbasePeer$$.$_DISABLED_STYLE_CLASS$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.IsItemEnabled", {$IsItemEnabled$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$IsItemEnabled$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$FindItemElementWithValue$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$FindItemElementWithValue$$($component$$1565$$, $itemValue$$3$$) {
  for(var $itemElementArray$$ = this.$GetItemElements$($component$$1565$$), $rowCount$$14$$ = $itemElementArray$$.length, $itemElement$$ = $JSCompiler_alias_NULL$$, $i$$435$$ = 0;$i$$435$$ < $rowCount$$14$$;$i$$435$$++) {
    if($itemElement$$ = $itemElementArray$$[$i$$435$$], $itemElement$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$) == $itemValue$$3$$) {
      return $itemElement$$
    }
  }
  return $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.FindItemElementWithValue", {$FindItemElementWithValue$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$FindItemElementWithValue$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetItemElements$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$GetItemElements$$($component$$1566_item$$43_parentElement$$15$$) {
  var $itemElements$$ = [];
  $component$$1566_item$$43_parentElement$$15$$ = this.$GetItemElementsParent$($component$$1566_item$$43_parentElement$$15$$);
  $component$$1566_item$$43_parentElement$$15$$ = $AdfDomUtils$$.$getFirstChildElement$($component$$1566_item$$43_parentElement$$15$$);
  for(var $j$$40$$ = 0;$component$$1566_item$$43_parentElement$$15$$;) {
    itemValue = $component$$1566_item$$43_parentElement$$15$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$), itemValue != $JSCompiler_alias_NULL$$ && ($itemElements$$[$j$$40$$++] = $component$$1566_item$$43_parentElement$$15$$), $component$$1566_item$$43_parentElement$$15$$ = $AdfDomUtils$$.$getNextElement$($component$$1566_item$$43_parentElement$$15$$)
  }
  return $itemElements$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.GetItemElements", {$GetItemElements$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetItemElements$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$SelectItemElement$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$SelectItemElement$$($component$$1567$$, $newSelectElement$$, $oldSelectElement$$2$$) {
  var $parentElement$$16$$ = $JSCompiler_alias_NULL$$, $listboxId_selectedItemId$$3$$ = $JSCompiler_alias_NULL$$, $listboxId_selectedItemId$$3$$ = $JSCompiler_alias_NULL$$;
  if($oldSelectElement$$2$$ != $JSCompiler_alias_NULL$$ && $oldSelectElement$$2$$ != $newSelectElement$$) {
    $AdfDomUtils$$.$removeCSSClassName$($oldSelectElement$$2$$, $AdfDhtmlSelectOneListbasePeer$$.$_SELECTED_STYLE_CLASS$);
    var $parentElement$$16$$ = this.$GetItemElementsParent$($component$$1567$$), $listboxId_selectedItemId$$3$$ = $oldSelectElement$$2$$.parentNode.getAttribute("id"), $itemId$$37$$ = $oldSelectElement$$2$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$), $listboxId_selectedItemId$$3$$ = $listboxId_selectedItemId$$3$$ + ":ariaSelectedItemId:" + $itemId$$37$$;
    $parentElement$$16$$.getAttribute("aria-activedescendant") == $listboxId_selectedItemId$$3$$ && $parentElement$$16$$.removeAttribute("aria-activedescendant");
    $oldSelectElement$$2$$.getAttribute("id") && $oldSelectElement$$2$$.getAttribute("id") == $listboxId_selectedItemId$$3$$ && $oldSelectElement$$2$$.removeAttribute("id")
  }
  $newSelectElement$$ != $JSCompiler_alias_NULL$$ && $newSelectElement$$ != $oldSelectElement$$2$$ && ($AdfDomUtils$$.$addCSSClassName$($newSelectElement$$, $AdfDhtmlSelectOneListbasePeer$$.$_SELECTED_STYLE_CLASS$), $listboxId_selectedItemId$$3$$ = $newSelectElement$$.parentNode.getAttribute("id"), $itemId$$37$$ = $newSelectElement$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$), $listboxId_selectedItemId$$3$$ = $listboxId_selectedItemId$$3$$ + ":ariaSelectedItemId:" + $itemId$$37$$, 
  $newSelectElement$$.getAttribute("id") != $listboxId_selectedItemId$$3$$ && $newSelectElement$$.setAttribute("id", $listboxId_selectedItemId$$3$$), $parentElement$$16$$ = this.$GetItemElementsParent$($component$$1567$$), $newSelectElement$$.id == $listboxId_selectedItemId$$3$$ && $parentElement$$16$$.setAttribute("aria-activedescendant", $listboxId_selectedItemId$$3$$), $AdfDomUtils$$.$scrollChildIntoViewY$($newSelectElement$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.SelectItemElement", {$SelectItemElement$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$SelectItemElement$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetFirstEnabledItem$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$GetFirstEnabledItem$$($component$$1568_item$$44_parentElement$$17$$) {
  $component$$1568_item$$44_parentElement$$17$$ = this.$GetItemElementsParent$($component$$1568_item$$44_parentElement$$17$$);
  $component$$1568_item$$44_parentElement$$17$$ = $AdfDomUtils$$.$getFirstChildElement$($component$$1568_item$$44_parentElement$$17$$);
  return this.$IsItemEnabled$($component$$1568_item$$44_parentElement$$17$$) ? $component$$1568_item$$44_parentElement$$17$$ : this.$GetNextEnabledItem$($component$$1568_item$$44_parentElement$$17$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.GetFirstEnabledItem", {$GetFirstEnabledItem$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetFirstEnabledItem$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetPreviousEnabledItem$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$GetPreviousEnabledItem$$($item$$45$$) {
  if($item$$45$$) {
    for(var $prevItem$$1$$ = $AdfDomUtils$$.$getPreviousElement$($item$$45$$);$prevItem$$1$$;) {
      if(this.$IsItemEnabled$($prevItem$$1$$)) {
        return $prevItem$$1$$
      }
      $prevItem$$1$$ = $AdfDomUtils$$.$getPreviousElement$($prevItem$$1$$)
    }
  }
  return $item$$45$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.GetPreviousEnabledItem", {$GetPreviousEnabledItem$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetPreviousEnabledItem$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetNextEnabledItem$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$GetNextEnabledItem$$($item$$46$$) {
  if($item$$46$$) {
    for(var $nextItem$$5$$ = $AdfDomUtils$$.$getNextElement$($item$$46$$);$nextItem$$5$$;) {
      if(this.$IsItemEnabled$($nextItem$$5$$)) {
        return $nextItem$$5$$
      }
      $nextItem$$5$$ = $AdfDomUtils$$.$getNextElement$($nextItem$$5$$)
    }
  }
  return $item$$46$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.GetNextEnabledItem", {$GetNextEnabledItem$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetNextEnabledItem$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetComponentSelectItems$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$GetComponentSelectItems$$($component$$1569_i$$436$$) {
  var $selectItems$$8$$ = [], $tdArray$$ = this.$GetItemElements$($component$$1569_i$$436$$), $rowCount$$15$$ = $tdArray$$.length, $tdElement$$ = $JSCompiler_alias_NULL$$;
  for($component$$1569_i$$436$$ = 0;$component$$1569_i$$436$$ < $rowCount$$15$$;$component$$1569_i$$436$$++) {
    $tdElement$$ = $tdArray$$[$component$$1569_i$$436$$], $selectItems$$8$$[$component$$1569_i$$436$$] = new $AdfSelectItem$$($tdElement$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$), $tdElement$$.firstChild.nodeValue, $AdfDomUtils$$.$containsCSSClassName$($tdElement$$, $AdfDhtmlSelectOneListbasePeer$$.$_DISABLED_STYLE_CLASS$), "t" === $tdElement$$.getAttribute($AdfDhtmlSelectOnePeer$$.$NO_SELECTION_OPTION_EXPANDO$))
  }
  return $selectItems$$8$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.GetComponentSelectItems", {$GetComponentSelectItems$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetComponentSelectItems$});
$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetItemElementsParent$ = function $$AdfDhtmlSelectOneListbasePeer$$$$$GetItemElementsParent$$() {
  $AdfAssert$$.$failedInAbstractFunction$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListbasePeer.prototype.GetItemElementsParent", {$GetItemElementsParent$:$AdfDhtmlSelectOneListbasePeer$$.prototype.$GetItemElementsParent$});
