var $AdfDhtmlSelectOneListboxPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlSelectOneListbasePeer$$, "AdfDhtmlSelectOneListboxPeer");
$goog$exportSymbol$$("AdfDhtmlSelectOneListboxPeer", $AdfDhtmlSelectOneListboxPeer$$);
$AdfDhtmlSelectOneListboxPeer$$.$InitSubclass$ = function $$AdfDhtmlSelectOneListboxPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfUIEditableValue.SUBMITTED_VALUE, AdfUISelectOne.$SELECT_ITEMS$, AdfRichSelectOneListbox.LABEL);
  $AdfObject$$.$ensureClassInitialization$(AdfRichSelectOneListbox);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichSelectOneListbox.LABEL);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$BLUR_EVENT_TYPE$);
  this.$_DISABLED_STYLE_CLASS$ = "p_AFDisabled";
  this.$_SELECTED_STYLE_CLASS$ = "p_AFSelected";
  this.$_SELECTED_ID$ = "_afrSelectedId";
  this.$LIST_HOLDER_ID$ = "listHolder";
  this.$_TITLES_POPULATED_EXPANDO$ = "_adfTP"
};
$goog$exportSymbol$$("AdfDhtmlSelectOneListboxPeer.InitSubclass", $AdfDhtmlSelectOneListboxPeer$$.$InitSubclass$);
$AdfDhtmlSelectOneListboxPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$InitDomElement$$($component$$1571$$, $domElement$$451$$) {
  $AdfDhtmlSelectOneListboxPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1571$$, $domElement$$451$$);
  $JSCompiler_StaticMethods__scrollToSelection$$(this, $component$$1571$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$InitDomElement$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$BindToComponent$$($component$$1572$$, $domElement$$452$$) {
  $AdfDhtmlSelectOneListboxPeer$$.$superclass$.$BindToComponent$.call(this, $component$$1572$$, $domElement$$452$$);
  var $domNode$$88_subid$$8$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1572$$.$getClientId$(), $AdfDhtmlSelectOneListboxPeer$$.$LIST_HOLDER_ID$), $agent$$513$$ = $AdfAgent$$.$AGENT$;
  if(($domNode$$88_subid$$8$$ = $agent$$513$$.getElementById($domNode$$88_subid$$8$$)) && !$domNode$$88_subid$$8$$.getAttribute($AdfDhtmlSelectOneListboxPeer$$.$_TITLES_POPULATED_EXPANDO$)) {
    for(var $itmElements$$ = this.$GetItemElements$($component$$1572$$), $rowCount$$16$$ = $itmElements$$.length, $itmElement$$ = $JSCompiler_alias_NULL$$, $isIE7$$1$$ = $agent$$513$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && 7 == Math.floor($agent$$513$$.$getVersion$()), $i$$437$$ = 0;$i$$437$$ < $rowCount$$16$$;$i$$437$$++) {
      $itmElement$$ = $itmElements$$[$i$$437$$], ($itmElement$$.title == $JSCompiler_alias_NULL$$ || "" == $itmElement$$.title) && $itmElement$$.setAttribute("title", $itmElement$$.innerHTML), $isIE7$$1$$ && $agent$$513$$.$disableUserSelect$($itmElement$$)
    }
    $domNode$$88_subid$$8$$.setAttribute($AdfDhtmlSelectOneListboxPeer$$.$_TITLES_POPULATED_EXPANDO$, $JSCompiler_alias_TRUE$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$BindToComponent$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$HandleComponentClick$$($componentEvent$$388_newValue$$inline_3539$$) {
  $AdfDhtmlSelectOneListboxPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$388_newValue$$inline_3539$$);
  var $component$$1573$$ = $componentEvent$$388_newValue$$inline_3539$$.getSource(), $target$$172$$ = $componentEvent$$388_newValue$$inline_3539$$.$getNativeEventTarget$();
  if("LABEL" == $AdfAgent$$.$AGENT$.$getNodeName$($target$$172$$)) {
    this.focus($component$$1573$$)
  }else {
    if(this.$IsItemEnabled$($target$$172$$)) {
      var $newValue$$129$$ = $target$$172$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$), $domElement$$453$$ = this.$getDomElement$(), $oldSelectElement$$3$$ = $JSCompiler_StaticMethods__getSelectedItemElement$$(this, $component$$1573$$, $domElement$$453$$);
      $oldSelectElement$$3$$ != $JSCompiler_alias_NULL$$ && $componentEvent$$388_newValue$$inline_3539$$.$getNativeEvent$().ctrlKey && $oldSelectElement$$3$$ == $target$$172$$ && ($newValue$$129$$ = "");
      $componentEvent$$388_newValue$$inline_3539$$ = "" + $newValue$$129$$;
      this.$SetDisplayValue$($component$$1573$$, $domElement$$453$$, $componentEvent$$388_newValue$$inline_3539$$);
      this.$Validate$($component$$1573$$, $componentEvent$$388_newValue$$inline_3539$$)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$HandleComponentMouseDown$$($componentEvent$$389$$) {
  $componentEvent$$389$$.$getNativeEvent$().ctrlKey && $componentEvent$$389$$.cancel()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$HandleComponentKeyDown$$($componentEvent$$390$$) {
  var $evt$$137_newValue$$130_selectElement$$1$$ = $componentEvent$$390$$.$getNativeEvent$(), $keyCode$$84$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($evt$$137_newValue$$130_selectElement$$1$$), $component$$1574$$ = $componentEvent$$390$$.getSource(), $domElement$$454$$ = this.$getDomElement$(), $oldSelectElement$$4$$ = $JSCompiler_StaticMethods__getSelectedItemElement$$(this, $component$$1574$$, $domElement$$454$$);
  $componentEvent$$390$$.$getNativeEventTarget$();
  switch($keyCode$$84$$) {
    case $AdfKeyStroke$$.$SPACE_KEY$:
      $evt$$137_newValue$$130_selectElement$$1$$.ctrlKey && (this.$SetDisplayValue$($component$$1574$$, $domElement$$454$$, ""), this.$Validate$($component$$1574$$, ""));
      $componentEvent$$390$$.cancel();
      break;
    case $AdfKeyStroke$$.$ENTER_KEY$:
      this.$ValidateIfStashedOldValue$($component$$1574$$, $domElement$$454$$);
      break;
    case $AdfKeyStroke$$.$ARROWUP_KEY$:
    ;
    case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
      ($evt$$137_newValue$$130_selectElement$$1$$ = $keyCode$$84$$ == $AdfKeyStroke$$.$ARROWUP_KEY$ ? this.$GetPreviousEnabledItem$($oldSelectElement$$4$$) : this.$GetNextEnabledItem$($oldSelectElement$$4$$)) || ($evt$$137_newValue$$130_selectElement$$1$$ = this.$GetFirstEnabledItem$($component$$1574$$)), $evt$$137_newValue$$130_selectElement$$1$$ && (this.$StashOldValue$($component$$1574$$, $domElement$$454$$), $evt$$137_newValue$$130_selectElement$$1$$ = $evt$$137_newValue$$130_selectElement$$1$$.getAttribute($AdfDhtmlSelectOneListbasePeer$$.$_ITEM_VALUE_EXPANDO$), 
      this.$SetDisplayValue$($component$$1574$$, $domElement$$454$$, $evt$$137_newValue$$130_selectElement$$1$$)), $componentEvent$$390$$.cancel()
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentBlur$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$HandleComponentBlur$$($component$$1575_componentEvent$$391$$) {
  $component$$1575_componentEvent$$391$$ = $component$$1575_componentEvent$$391$$.getSource();
  var $domElement$$455$$ = this.$getDomElement$();
  this.$ValidateIfStashedOldValue$($component$$1575_componentEvent$$391$$, $domElement$$455$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.HandleComponentBlur", {$HandleComponentBlur$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$HandleComponentBlur$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$SetDisplayValue$$($component$$1576$$, $domElement$$456_oldSelectElement$$5$$, $newValue$$131$$) {
  var $domNode$$89$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1576$$, $domElement$$456_oldSelectElement$$5$$);
  $AdfAssert$$.$assertString$($newValue$$131$$);
  if(!$component$$1576$$.getReadOnly()) {
    var $newSelectedItem$$1$$ = this.$FindItemElementWithValue$($component$$1576$$, $newValue$$131$$);
    $domElement$$456_oldSelectElement$$5$$ = $JSCompiler_StaticMethods__getSelectedItemElement$$(this, $component$$1576$$, $domElement$$456_oldSelectElement$$5$$);
    this.$SelectItemElement$($component$$1576$$, $newSelectedItem$$1$$, $domElement$$456_oldSelectElement$$5$$);
    $domNode$$89$$.value = $newValue$$131$$
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$GetNoteWindowAlignmentNode$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$GetNoteWindowAlignmentNode$$($alignSubId_clientId$$377_component$$1577$$) {
  $alignSubId_clientId$$377_component$$1577$$ = $alignSubId_clientId$$377_component$$1577$$.$getClientId$();
  $alignSubId_clientId$$377_component$$1577$$ = $AdfRichUIPeer$$.$CreateSubId$($alignSubId_clientId$$377_component$$1577$$, $AdfDhtmlSelectOneListboxPeer$$.$LIST_HOLDER_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($alignSubId_clientId$$377_component$$1577$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.GetNoteWindowAlignmentNode", {$GetNoteWindowAlignmentNode$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$GetNoteWindowAlignmentNode$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$GetItemElementsParent$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$GetItemElementsParent$$($clientId$$378_component$$1578$$) {
  $clientId$$378_component$$1578$$ = $clientId$$378_component$$1578$$.$getClientId$();
  return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$378_component$$1578$$, $AdfDhtmlSelectOneListboxPeer$$.$LIST_HOLDER_ID$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.GetItemElementsParent", {$GetItemElementsParent$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$GetItemElementsParent$});
function $JSCompiler_StaticMethods__getSelectedItemElement$$($JSCompiler_StaticMethods__getSelectedItemElement$self$$, $component$$1579$$, $curValue$$5_domElement$$457$$) {
  $curValue$$5_domElement$$457$$ = $JSCompiler_StaticMethods__getSelectedItemElement$self$$.$GetSubmittedValue$($component$$1579$$, $curValue$$5_domElement$$457$$);
  return $JSCompiler_StaticMethods__getSelectedItemElement$self$$.$FindItemElementWithValue$($component$$1579$$, $curValue$$5_domElement$$457$$)
}
$AdfDhtmlSelectOneListboxPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$GetInlineEditor$$() {
  return $AdfDhtmlSimpleLabelEditor$$.$getInlineEditor$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$needsResizeNotify$ = $JSCompiler_returnArg$$($JSCompiler_alias_TRUE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlSelectOneListboxPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlSelectOneListboxPeer$$$$$ResizeNotify$$() {
  var $component$$1582$$ = this.$getComponent$();
  $JSCompiler_StaticMethods__scrollToSelection$$(this, $component$$1582$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneListboxPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlSelectOneListboxPeer$$.prototype.$ResizeNotify$});
function $JSCompiler_StaticMethods__scrollToSelection$$($JSCompiler_StaticMethods__scrollToSelection$self$$, $component$$1583$$) {
  var $domNode$$90_subid$$9$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1583$$.$getClientId$(), $AdfDhtmlSelectOneListboxPeer$$.$LIST_HOLDER_ID$);
  if($domNode$$90_subid$$9$$ = $AdfAgent$$.$AGENT$.getElementById($domNode$$90_subid$$9$$)) {
    var $domElement$$459_selectElement$$2$$ = $JSCompiler_StaticMethods__scrollToSelection$self$$.$getDomElement$(), $domElement$$459_selectElement$$2$$ = $JSCompiler_StaticMethods__getSelectedItemElement$$($JSCompiler_StaticMethods__scrollToSelection$self$$, $component$$1583$$, $domElement$$459_selectElement$$2$$);
    $domElement$$459_selectElement$$2$$ != $JSCompiler_alias_NULL$$ && $AdfDomUtils$$.setScrollTop($domNode$$90_subid$$9$$, $domElement$$459_selectElement$$2$$.offsetTop)
  }
}
;