var $AdfDhtmlSelectOneRadioPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlSelectOnePeer$$, "AdfDhtmlSelectOneRadioPeer");
$goog$exportSymbol$$("AdfDhtmlSelectOneRadioPeer", $AdfDhtmlSelectOneRadioPeer$$);
$AdfDhtmlSelectOneRadioPeer$$.$InitSubclass$ = function $$AdfDhtmlSelectOneRadioPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfUIEditableValue.SUBMITTED_VALUE, AdfUISelectOne.$SELECT_ITEMS$, AdfRichSelectOneRadio.LABEL);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichSelectOneRadio.LABEL);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$);
  this.$_ITEM_VALUE_EXPANDO$ = "_adfIV"
};
$goog$exportSymbol$$("AdfDhtmlSelectOneRadioPeer.InitSubclass", $AdfDhtmlSelectOneRadioPeer$$.$InitSubclass$);
$AdfDhtmlSelectOneRadioPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlSelectOneRadioPeer$$$$$HandleComponentClick$$($componentEvent$$393_forAttribute_nativeEventTarget$$2$$) {
  $AdfDhtmlSelectOneRadioPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$393_forAttribute_nativeEventTarget$$2$$);
  var $component$$1586$$ = this.$getComponent$(), $inputElementId$$ = $JSCompiler_alias_NULL$$;
  if(($componentEvent$$393_forAttribute_nativeEventTarget$$2$$ = $componentEvent$$393_forAttribute_nativeEventTarget$$2$$.$getNativeEventTarget$()) && "LABEL" == $componentEvent$$393_forAttribute_nativeEventTarget$$2$$.tagName) {
    ($componentEvent$$393_forAttribute_nativeEventTarget$$2$$ = $componentEvent$$393_forAttribute_nativeEventTarget$$2$$.getAttribute("for")) && -1 != $componentEvent$$393_forAttribute_nativeEventTarget$$2$$.indexOf($component$$1586$$.$getClientId$()) && ($inputElementId$$ = $componentEvent$$393_forAttribute_nativeEventTarget$$2$$)
  }
  this.$Validate$($component$$1586$$, this.$GetSubmittedValue$($component$$1586$$, this.$getDomElement$(), $inputElementId$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneRadioPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlSelectOneRadioPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetNoteWindowAlignmentNode$ = function $$AdfDhtmlSelectOneRadioPeer$$$$$GetNoteWindowAlignmentNode$$($component$$1587$$, $rootNode$$20$$) {
  $rootNode$$20$$ || ($rootNode$$20$$ = this.$getDomElement$());
  var $radio$$1$$ = $rootNode$$20$$.getElementsByTagName("input")[0];
  return $radio$$1$$ ? $radio$$1$$ : $AdfDhtmlSelectOneRadioPeer$$.$superclass$.$GetNoteWindowAlignmentNode$.call(this, $component$$1587$$, $rootNode$$20$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneRadioPeer.prototype.GetNoteWindowAlignmentNode", {$GetNoteWindowAlignmentNode$:$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetNoteWindowAlignmentNode$});
$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetComponentSelectItems$ = function $$AdfDhtmlSelectOneRadioPeer$$$$$GetComponentSelectItems$$($component$$1588$$, $domElement$$461$$) {
  var $domNode$$91_inputElements$$2$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1588$$, $domElement$$461$$);
  if($domNode$$91_inputElements$$2$$ != $JSCompiler_alias_NULL$$) {
    var $domNode$$91_inputElements$$2$$ = $domNode$$91_inputElements$$2$$.getElementsByTagName("input"), $selectItems$$10$$ = [], $inputElement$$6$$ = $JSCompiler_alias_NULL$$;
    if($domNode$$91_inputElements$$2$$ != $JSCompiler_alias_NULL$$) {
      for(var $length$$58$$ = $domNode$$91_inputElements$$2$$.length, $i$$439$$ = 0;$i$$439$$ < $length$$58$$;$i$$439$$++) {
        $inputElement$$6$$ = $domNode$$91_inputElements$$2$$[$i$$439$$], $selectItems$$10$$[$i$$439$$] = new $AdfSelectItem$$($inputElement$$6$$.value, $inputElement$$6$$.parentNode.nextSibling.innerHTML, $inputElement$$6$$.disabled, "t" === $inputElement$$6$$.getAttribute($AdfDhtmlSelectOnePeer$$.$NO_SELECTION_OPTION_EXPANDO$))
      }
    }
    return $selectItems$$10$$
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneRadioPeer.prototype.GetComponentSelectItems", {$GetComponentSelectItems$:$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetComponentSelectItems$});
$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetSubmittedValue$ = function $$AdfDhtmlSelectOneRadioPeer$$$$$GetSubmittedValue$$($component$$1589_inputElements$$3$$, $domElement$$462_domNode$$92$$, $i$$440_inputElementId$$1$$) {
  $domElement$$462_domNode$$92$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1589_inputElements$$3$$, $domElement$$462_domNode$$92$$);
  if($component$$1589_inputElements$$3$$.getReadOnly()) {
    return $domElement$$462_domNode$$92$$.getAttribute($AdfDhtmlSelectOneRadioPeer$$.$_ITEM_VALUE_EXPANDO$)
  }
  if($i$$440_inputElementId$$1$$) {
    return $AdfAgent$$.$AGENT$.getElementById($i$$440_inputElementId$$1$$).value
  }
  $component$$1589_inputElements$$3$$ = $domElement$$462_domNode$$92$$.getElementsByTagName("input");
  for($i$$440_inputElementId$$1$$ = 0;$i$$440_inputElementId$$1$$ < $component$$1589_inputElements$$3$$.length;$i$$440_inputElementId$$1$$++) {
    if($component$$1589_inputElements$$3$$[$i$$440_inputElementId$$1$$].checked) {
      return $component$$1589_inputElements$$3$$[$i$$440_inputElementId$$1$$].value
    }
  }
  return""
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneRadioPeer.prototype.GetSubmittedValue", {$GetSubmittedValue$:$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetSubmittedValue$});
$AdfDhtmlSelectOneRadioPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlSelectOneRadioPeer$$$$$SetDisplayValue$$($component$$1590_inputElements$$4_readOnly$$12$$, $domElement$$463_domNode$$93_length$$59$$, $newValue$$133$$) {
  $domElement$$463_domNode$$93_length$$59$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1590_inputElements$$4_readOnly$$12$$, $domElement$$463_domNode$$93_length$$59$$);
  if($domElement$$463_domNode$$93_length$$59$$ != $JSCompiler_alias_NULL$$) {
    if($component$$1590_inputElements$$4_readOnly$$12$$ = $component$$1590_inputElements$$4_readOnly$$12$$.getReadOnly(), $AdfAssert$$.$assertString$($newValue$$133$$), $component$$1590_inputElements$$4_readOnly$$12$$) {
      $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$463_domNode$$93_length$$59$$, $newValue$$133$$)
    }else {
      if($component$$1590_inputElements$$4_readOnly$$12$$ = $domElement$$463_domNode$$93_length$$59$$.getElementsByTagName("input"), $component$$1590_inputElements$$4_readOnly$$12$$ != $JSCompiler_alias_NULL$$) {
        $domElement$$463_domNode$$93_length$$59$$ = $component$$1590_inputElements$$4_readOnly$$12$$.length;
        for(var $i$$441$$ = 0;$i$$441$$ < $domElement$$463_domNode$$93_length$$59$$;$i$$441$$++) {
          $component$$1590_inputElements$$4_readOnly$$12$$[$i$$441$$].value == $newValue$$133$$ && ($component$$1590_inputElements$$4_readOnly$$12$$[$i$$441$$].checked = $JSCompiler_alias_TRUE$$)
        }
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneRadioPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlSelectOneRadioPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlSelectOneRadioPeer$$$$$GetInlineEditor$$() {
  return $AdfDhtmlSimpleLabelEditor$$.$getInlineEditor$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlSelectOneRadioPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlSelectOneRadioPeer$$.prototype.$GetInlineEditor$});
