var $AdfDhtmlInputColorPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlInputBasePeer$$, "AdfDhtmlInputColorPeer");
$goog$exportSymbol$$("AdfDhtmlInputColorPeer", $AdfDhtmlInputColorPeer$$);
$AdfDhtmlInputColorPeer$$.$__LAST_USED_COLOR$ = "lastUsedColor";
$AdfDhtmlInputColorPeer$$.$InitSubclass$ = function $$AdfDhtmlInputColorPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfUIValue);
  $AdfObject$$.$ensureClassInitialization$(AdfRichChooseColor);
  $AdfObject$$.$ensureClassInitialization$(AdfRichInputColor);
  $AdfObject$$.$ensureClassInitialization$($AdfDhtmlChooseColorBasePeer$$);
  $AdfObject$$.$ensureClassInitialization$($AdfDhtmlChooseColorPeer$$);
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfRichInputColor.COLOR_DATA, AdfRichInputColor.CUSTOM_COLOR_DATA, AdfRichInputColor.DEFAULT_COLOR, AdfRichInputColor.WIDTH, AdfRichInputColor.LABEL);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichInputColor.LABEL, AdfRichInputColor.DISABLED, AdfRichInputColor.CUSTOM_COLOR_DATA);
  $AdfRichUIPeer$$.$addSuppressedPPRAttributes$(this, $AdfDhtmlInputColorPeer$$.$__LAST_USED_COLOR$, AdfRichInputColor.CUSTOM_COLOR_DATA);
  this.$_GLYPH_ID$ = "glyph";
  this.$_SWATCH_ID$ = "swatch";
  this.$_POPUP_WRAPPER_ID$ = "icPopWrap";
  this.$_POPUP_CHOOSECOLOR_ID$ = "icPop";
  this.$_POPUP_WRAPPER_CHOOSECOLOR_ID$ = $AdfRichUIPeer$$.$CreateSubId$(this.$_POPUP_WRAPPER_ID$, this.$_POPUP_CHOOSECOLOR_ID$);
  this.$_colorFormat$ = new TrColorConverter(["#RRGGBB"], $JSCompiler_alias_TRUE$$)
};
$goog$exportSymbol$$("AdfDhtmlInputColorPeer.InitSubclass", $AdfDhtmlInputColorPeer$$.$InitSubclass$);
$AdfDhtmlInputColorPeer$$.$_convertToColorString$ = function $$AdfDhtmlInputColorPeer$$$$_convertToColorString$$($colorObj$$1$$) {
  return $colorObj$$1$$ == $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_NULL$$ : this.$_colorFormat$.getAsString($colorObj$$1$$)
};
$AdfDhtmlInputColorPeer$$.prototype.$handleUpdateFromChooseComponent$ = function $$AdfDhtmlInputColorPeer$$$$$handleUpdateFromChooseComponent$$($inputColorComponent$$, $propertyName$$42$$, $newValue$$61$$) {
  ($inputColorComponent$$.getChooseId() == $JSCompiler_alias_NULL$$ || $propertyName$$42$$ == AdfUIValue.VALUE) && $inputColorComponent$$.setProperty($propertyName$$42$$, $newValue$$61$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.handleUpdateFromChooseComponent", {$handleUpdateFromChooseComponent$:$AdfDhtmlInputColorPeer$$.prototype.$handleUpdateFromChooseComponent$});
$AdfDhtmlInputColorPeer$$.prototype.$handleReturnFromChooseComponent$ = function $$AdfDhtmlInputColorPeer$$$$$handleReturnFromChooseComponent$$($inputColorComponent$$1$$) {
  this.$_hidePopup$($inputColorComponent$$1$$);
  this.$returnFocus$($inputColorComponent$$1$$);
  this.$Validate$($inputColorComponent$$1$$);
  this.$_returnedFromChooseComponent$ = 1
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.handleReturnFromChooseComponent", {$handleReturnFromChooseComponent$:$AdfDhtmlInputColorPeer$$.prototype.$handleReturnFromChooseComponent$});
$AdfDhtmlInputColorPeer$$.prototype.$returnFocus$ = function $$AdfDhtmlInputColorPeer$$$$$returnFocus$$($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$) {
  !$arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$.getReadOnly() && !$arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$.getDisabled() && (this.$_isCompact$($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$) ? ($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$ = $arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$.$getClientId$(), subid = $AdfRichUIPeer$$.$CreateSubId$($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$, $AdfDhtmlInputColorPeer$$.$_GLYPH_ID$), 
  $arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$ = $AdfAgent$$.$AGENT$.getElementById(subid), $AdfFocusUtils$$.$focusElement$($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$)) : ($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$), "INPUT" == $AdfAgent$$.$AGENT$.$getNodeName$($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$) && ($AdfFocusUtils$$.$focusElement$($arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$), 
  $arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$.value = $arrowDom_clientId$$154_inputColorComponent$$2_inputDom$$.value)))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.returnFocus", {$returnFocus$:$AdfDhtmlInputColorPeer$$.prototype.$returnFocus$});
$AdfDhtmlInputColorPeer$$.prototype.$initChooseComponentValue$ = function $$AdfDhtmlInputColorPeer$$$$$initChooseComponentValue$$($inputComponent$$2$$) {
  var $chooseColorId$$ = $AdfDhtmlInputChooseBindingUtils$$.getChooseId($inputComponent$$2$$, AdfRichInputColor.CHOOSE_ID);
  $chooseColorId$$ != $JSCompiler_alias_NULL$$ && $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($inputComponent$$2$$, $chooseColorId$$, AdfUIValue.VALUE, $AdfDhtmlChooseColorBasePeer$$.$__COLOR_VALUE$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.initChooseComponentValue", {$initChooseComponentValue$:$AdfDhtmlInputColorPeer$$.prototype.$initChooseComponentValue$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentCustomColorData$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentCustomColorData$$($component$$805$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$805$$, AdfRichChooseColor.CUSTOM_COLOR_DATA)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentCustomColorData", {$GetComponentCustomColorData$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentCustomColorData$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentColorData$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentColorData$$($component$$806$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$806$$, AdfRichChooseColor.COLOR_DATA)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentColorData", {$GetComponentColorData$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentColorData$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentDefaultColor$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentDefaultColor$$($component$$807$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$807$$, AdfRichChooseColor.DEFAULT_COLOR)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentDefaultColor", {$GetComponentDefaultColor$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentDefaultColor$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentWidth$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentWidth$$($component$$808$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$808$$, AdfRichChooseColor.WIDTH)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentWidth", {$GetComponentWidth$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentWidth$});
$AdfDhtmlInputColorPeer$$.prototype.$GetComponentLastUsedColor$ = function $$AdfDhtmlInputColorPeer$$$$$GetComponentLastUsedColor$$($component$$809$$) {
  return $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($component$$809$$, $AdfDhtmlChooseColorBasePeer$$.$__LAST_USED_COLOR$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetComponentLastUsedColor", {$GetComponentLastUsedColor$:$AdfDhtmlInputColorPeer$$.prototype.$GetComponentLastUsedColor$});
$AdfDhtmlInputColorPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputColorPeer$$$$$InitDomElement$$($component$$810$$, $domElement$$217$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$InitDomElement$.call(this, $component$$810$$, $domElement$$217$$);
  return $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_hookUpChooseColor$, $component$$810$$.$getClientId$(), 0)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputColorPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputColorPeer$$.prototype.$LazyInitialize$ = function $$AdfDhtmlInputColorPeer$$$$$LazyInitialize$$($component$$811$$, $domElement$$218$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$LazyInitialize$.call(this, $component$$811$$, $domElement$$218$$);
  if(!$component$$811$$.getConverter()) {
    var $converter$$inline_1728$$ = new TrColorConverter(["RRGGBB", "#RRGGBB", "r,g,b"], $JSCompiler_alias_TRUE$$, "RRGGBB #RRGGBB r,g,b", {});
    $component$$811$$.setProperty("converter", $converter$$inline_1728$$, $JSCompiler_alias_FALSE$$, $AdfUIComponent$$.$PROPAGATE_NEVER$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.LazyInitialize", {$LazyInitialize$:$AdfDhtmlInputColorPeer$$.prototype.$LazyInitialize$});
$AdfDhtmlInputColorPeer$$.prototype.$VetoShowNoteWindow$ = function $$AdfDhtmlInputColorPeer$$$$$VetoShowNoteWindow$$($component$$812_contentNode$$30$$) {
  return this.$_isPopupVisible$($component$$812_contentNode$$30$$) || $AdfPage$$.$PAGE$.$_accessibilityMode$ != $AdfDhtmlPage$$.$SCREEN_READER_ACCESSIBILITY_MODE$ && ($component$$812_contentNode$$30$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$812_contentNode$$30$$), $AdfPage$$.$PAGE$.$_activeDomNode$ != $component$$812_contentNode$$30$$) ? $JSCompiler_alias_TRUE$$ : $AdfDhtmlInputColorPeer$$.$superclass$.$VetoShowNoteWindow$.call(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.VetoShowNoteWindow", {$VetoShowNoteWindow$:$AdfDhtmlInputColorPeer$$.prototype.$VetoShowNoteWindow$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentClick$$($componentEvent$$155$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$155$$);
  var $component$$813$$ = $componentEvent$$155$$.$getCurrentTarget$(), $sourceComponent$$14$$ = $componentEvent$$155$$.getSource();
  $component$$813$$ == $sourceComponent$$14$$ && ($component$$813$$.getDisabled() || $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$813$$, $componentEvent$$155$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentFocus$$($component$$814_componentEvent$$156$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$HandleComponentFocus$.call(this, $component$$814_componentEvent$$156$$);
  $component$$814_componentEvent$$156$$ = this.$getComponent$();
  var $chooseId$$2$$ = $AdfDhtmlInputChooseBindingUtils$$.getChooseId($component$$814_componentEvent$$156$$);
  $chooseId$$2$$ != $JSCompiler_alias_NULL$$ && $AdfDhtmlInputChooseBindingUtils$$.$registerBinding$($JSCompiler_alias_TRUE$$, $chooseId$$2$$, $component$$814_componentEvent$$156$$.$getClientId$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentKeyDown$$($componentEvent$$157$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$157$$);
  var $component$$815$$ = $componentEvent$$157$$.$getCurrentTarget$(), $agent$$234_keyCode$$45$$ = $AdfAgent$$.$AGENT$, $evt$$90$$ = $componentEvent$$157$$.$getNativeEvent$(), $agent$$234_keyCode$$45$$ = $agent$$234_keyCode$$45$$.$getKeyCode$($evt$$90$$);
  if(!$evt$$90$$.ctrlKey) {
    switch($agent$$234_keyCode$$45$$) {
      case $AdfKeyStroke$$.$ENTER_KEY$:
        this.$RunValidation$($component$$815$$, $componentEvent$$157$$.$getNativeEventTarget$());
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$815$$, $componentEvent$$157$$);
        break;
      case $AdfKeyStroke$$.$ESC_KEY$:
        $JSCompiler_StaticMethods__handleColorPopup$$(this, $component$$815$$, $componentEvent$$157$$)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlInputColorPeer$$$$$HandleComponentKeyPress$$($componentEvent$$158$$) {
  this.$StopArrowKeyBubbling$($componentEvent$$158$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlInputColorPeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlInputColorPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlInputColorPeer$$$$$GetInlineEditor$$() {
  return $AdfDhtmlSimpleLabelEditor$$.$getInlineEditor$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlInputColorPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlInputColorPeer$$.prototype.$ComponentDisabledChanged$ = function $$AdfDhtmlInputColorPeer$$$$$ComponentDisabledChanged$$($component$$816_domNode$$26$$, $domElement$$219$$, $newValue$$62$$) {
  var $arrowDom$$1_clientId$$155_subid$$2$$ = $component$$816_domNode$$26$$.$getClientId$(), $arrowDom$$1_clientId$$155_subid$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($arrowDom$$1_clientId$$155_subid$$2$$, $AdfDhtmlInputColorPeer$$.$_GLYPH_ID$), $arrowDom$$1_clientId$$155_subid$$2$$ = $AdfAgent$$.$AGENT$.getElementById($arrowDom$$1_clientId$$155_subid$$2$$);
  $component$$816_domNode$$26$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$816_domNode$$26$$, $domElement$$219$$);
  $newValue$$62$$ == $JSCompiler_alias_TRUE$$ ? ($AdfDomUtils$$.$addCSSClassName$($domElement$$219$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $arrowDom$$1_clientId$$155_subid$$2$$.style.display = "none", $component$$816_domNode$$26$$.setAttribute("disabled", "true")) : ($AdfDomUtils$$.$removeCSSClassName$($domElement$$219$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), $arrowDom$$1_clientId$$155_subid$$2$$.style.display = "block", $component$$816_domNode$$26$$.removeAttribute("disabled"))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ComponentDisabledChanged", {$ComponentDisabledChanged$:$AdfDhtmlInputColorPeer$$.prototype.$ComponentDisabledChanged$});
$AdfDhtmlInputColorPeer$$.prototype.$ComponentCustomColorDataChanged$ = function $$AdfDhtmlInputColorPeer$$$$$ComponentCustomColorDataChanged$$($component$$817$$, $chooseColorId$$1_domElement$$220$$, $newValue$$63$$, $oldValue$$51$$) {
  $oldValue$$51$$ != $newValue$$63$$ && ($chooseColorId$$1_domElement$$220$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($component$$817$$), $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($component$$817$$, $chooseColorId$$1_domElement$$220$$, AdfRichInputColor.CUSTOM_COLOR_DATA, AdfRichChooseColor.CUSTOM_COLOR_DATA))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ComponentCustomColorDataChanged", {$ComponentCustomColorDataChanged$:$AdfDhtmlInputColorPeer$$.prototype.$ComponentCustomColorDataChanged$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlInputColorPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_getPopupId$ = function $$JSCompiler_prototypeAlias$$$$_getPopupId$$($component$$818$$) {
  return $AdfRichUIPeer$$.$CreateSubId$($component$$818$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_ID$)
};
$JSCompiler_prototypeAlias$$.$_getPopup$ = function $$JSCompiler_prototypeAlias$$$$_getPopup$$($component$$819_popupId$$42$$) {
  $component$$819_popupId$$42$$ = this.$_getPopupId$($component$$819_popupId$$42$$);
  return $AdfPage$$.$PAGE$.$findComponent$($component$$819_popupId$$42$$)
};
$JSCompiler_prototypeAlias$$.$_isPopupVisible$ = function $$JSCompiler_prototypeAlias$$$$_isPopupVisible$$($component$$820_popup$$18$$) {
  $component$$820_popup$$18$$ = this.$_getPopup$($component$$820_popup$$18$$);
  return $component$$820_popup$$18$$ != $JSCompiler_alias_NULL$$ && $component$$820_popup$$18$$.$isPopupVisible$()
};
$JSCompiler_prototypeAlias$$.$_hidePopup$ = function $$JSCompiler_prototypeAlias$$$$_hidePopup$$($inputComponent$$3_popup$$19$$) {
  $inputComponent$$3_popup$$19$$ = this.$_getPopup$($inputComponent$$3_popup$$19$$);
  $inputComponent$$3_popup$$19$$ != $JSCompiler_alias_NULL$$ && $inputComponent$$3_popup$$19$$.$isPopupVisible$() && $inputComponent$$3_popup$$19$$.$hide$()
};
function $JSCompiler_StaticMethods__handleColorPopup$$($JSCompiler_StaticMethods__handleColorPopup$self$$, $component$$821_popup$$20$$, $componentEvent$$159$$) {
  var $eventTarget$$35$$ = $componentEvent$$159$$.$getNativeEventTarget$(), $glyphId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$821_popup$$20$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_GLYPH_ID$);
  $JSCompiler_StaticMethods__handleColorPopup$self$$.$_isGlyphElement$($eventTarget$$35$$, $glyphId$$) && ($component$$821_popup$$20$$ = $JSCompiler_StaticMethods__handleColorPopup$self$$.$_getPopup$($component$$821_popup$$20$$), $component$$821_popup$$20$$ != $JSCompiler_alias_NULL$$ && ($component$$821_popup$$20$$.$isPopupVisible$() ? $component$$821_popup$$20$$.$hide$() : ($JSCompiler_StaticMethods__handleColorPopup$self$$.$HideNoteWindow$(), $component$$821_popup$$20$$.show({align:AdfRichPopup.$ALIGN_AFTER_START$, 
  alignId:$glyphId$$, focus:$JSCompiler_alias_TRUE$$}))), $componentEvent$$159$$.cancel())
}
$JSCompiler_prototypeAlias$$.$ComponentValueChanged$ = function $$JSCompiler_prototypeAlias$$$$ComponentValueChanged$$($component$$822$$, $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$, $chooseColorId$$2_newValue$$64$$, $newColorString$$inline_1734_oldValue$$52$$) {
  $AdfDhtmlInputColorPeer$$.$superclass$.$ComponentValueChanged$.call(this, $component$$822$$, $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$, $chooseColorId$$2_newValue$$64$$, $newColorString$$inline_1734_oldValue$$52$$);
  $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$822$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_SWATCH_ID$);
  $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$ = $AdfAgent$$.$AGENT$.getElementById($domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$);
  $newColorString$$inline_1734_oldValue$$52$$ = $AdfDhtmlInputColorPeer$$.$_convertToColorString$($chooseColorId$$2_newValue$$64$$);
  $newColorString$$inline_1734_oldValue$$52$$ == $JSCompiler_alias_NULL$$ ? ($domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.alt = $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.title = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_chooseColor.TIP_NO_COLOR"), $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.style.backgroundColor = "Transparent") : ($chooseColorId$$2_newValue$$64$$ != $JSCompiler_alias_NULL$$ && 0 == $chooseColorId$$2_newValue$$64$$.alpha ? 
  ($newColorString$$inline_1734_oldValue$$52$$ = "Transparent", $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.alt = $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.title = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_chooseColor.TIP_TRAN_NO_COLOR")) : $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.alt = $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.title = $newColorString$$inline_1734_oldValue$$52$$.substring(1), $domElement$$221_swatch$$inline_1733_swatchId$$inline_1732$$.style.backgroundColor = 
  $newColorString$$inline_1734_oldValue$$52$$);
  $chooseColorId$$2_newValue$$64$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($component$$822$$);
  $AdfDhtmlInputChooseBindingUtils$$.$updateChooseComponentProperty$($component$$822$$, $chooseColorId$$2_newValue$$64$$, AdfUIValue.VALUE, $AdfDhtmlChooseColorBasePeer$$.$__COLOR_VALUE$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ComponentValueChanged", {$ComponentValueChanged$:$AdfDhtmlInputColorPeer$$.prototype.$ComponentValueChanged$});
$AdfDhtmlInputColorPeer$$.prototype.$PopupClosed$ = function $$AdfDhtmlInputColorPeer$$$$$PopupClosed$$($clientId$$156_component$$823_parentDom$$1_popupWrapperId$$, $contentDom$$11$$, $popupId$$43$$) {
  $popupId$$43$$ == $AdfDhtmlInputColorPeer$$.$_POPUP_CHOOSECOLOR_ID$ && ($clientId$$156_component$$823_parentDom$$1_popupWrapperId$$ = $clientId$$156_component$$823_parentDom$$1_popupWrapperId$$.$getClientId$(), $clientId$$156_component$$823_parentDom$$1_popupWrapperId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$156_component$$823_parentDom$$1_popupWrapperId$$, $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_ID$), ($clientId$$156_component$$823_parentDom$$1_popupWrapperId$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$156_component$$823_parentDom$$1_popupWrapperId$$)) && 
  $clientId$$156_component$$823_parentDom$$1_popupWrapperId$$.appendChild($contentDom$$11$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlInputColorPeer$$.prototype.$PopupClosed$});
$AdfDhtmlInputColorPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlInputColorPeer$$$$$SetDisplayValue$$($component$$824$$, $domElement$$222_domNode$$27$$, $newValue$$65$$) {
  $AdfAssert$$.$assertString$($newValue$$65$$);
  $domElement$$222_domNode$$27$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$824$$, $domElement$$222_domNode$$27$$);
  var $isInput$$1$$ = "INPUT" == $AdfAgent$$.$AGENT$.$getNodeName$($domElement$$222_domNode$$27$$);
  $component$$824$$.getReadOnly() ? $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$222_domNode$$27$$, $newValue$$65$$) : ($domElement$$222_domNode$$27$$.title = $newValue$$65$$, $isInput$$1$$ ? $domElement$$222_domNode$$27$$.value = $newValue$$65$$ : $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$222_domNode$$27$$, $newValue$$65$$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlInputColorPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlInputColorPeer$$.prototype.$GetNoteWindowAlignmentNode$ = function $$AdfDhtmlInputColorPeer$$$$$GetNoteWindowAlignmentNode$$($component$$825$$, $rootNode$$9$$) {
  if(this.$_isCompact$($component$$825$$)) {
    var $clientId$$157$$ = $component$$825$$.$getClientId$();
    return $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($clientId$$157$$, $AdfDhtmlInputColorPeer$$.$_SWATCH_ID$))
  }
  return $AdfDhtmlInputColorPeer$$.$superclass$.$GetNoteWindowAlignmentNode$.call(this, $component$$825$$, $rootNode$$9$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.GetNoteWindowAlignmentNode", {$GetNoteWindowAlignmentNode$:$AdfDhtmlInputColorPeer$$.prototype.$GetNoteWindowAlignmentNode$});
$AdfDhtmlInputColorPeer$$.prototype.$ShouldShowHint$ = function $$AdfDhtmlInputColorPeer$$$$$ShouldShowHint$$($component$$826$$) {
  return $component$$826$$.getCompact() == $JSCompiler_alias_TRUE$$ ? $JSCompiler_alias_FALSE$$ : $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputColorPeer.prototype.ShouldShowHint", {$ShouldShowHint$:$AdfDhtmlInputColorPeer$$.prototype.$ShouldShowHint$});
function $JSCompiler_StaticMethods__delegatePopupChooseColorGetter$$($inputColor$$1$$, $propertyName$$43$$) {
  var $popupChooseColor_popupChooseColorId$$inline_1737$$;
  $popupChooseColor_popupChooseColorId$$inline_1737$$ = $AdfRichUIPeer$$.$CreateSubId$($inputColor$$1$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_CHOOSECOLOR_ID$);
  $popupChooseColor_popupChooseColorId$$inline_1737$$ = $AdfPage$$.$PAGE$.$findComponent$($popupChooseColor_popupChooseColorId$$inline_1737$$);
  return $popupChooseColor_popupChooseColorId$$inline_1737$$ != $JSCompiler_alias_NULL$$ ? $popupChooseColor_popupChooseColorId$$inline_1737$$.$getProperty$($propertyName$$43$$) : $JSCompiler_alias_NULL$$
}
$AdfDhtmlInputColorPeer$$.prototype.$_isCompact$ = function $$AdfDhtmlInputColorPeer$$$$$_isCompact$$($component$$827$$) {
  return $component$$827$$.$getProperty$(AdfRichInputColor.COMPACT)
};
$AdfDhtmlInputColorPeer$$.prototype.$_hookUpChooseColor$ = function $$AdfDhtmlInputColorPeer$$$$$_hookUpChooseColor$$($clientId$$158_thisComponent$$) {
  $clientId$$158_thisComponent$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$158_thisComponent$$);
  var $chooseColorId$$3$$ = $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($clientId$$158_thisComponent$$);
  $chooseColorId$$3$$ != $JSCompiler_alias_NULL$$ && $AdfPage$$.$PAGE$.$_accessibilityMode$ != $AdfDhtmlPage$$.$SCREEN_READER_ACCESSIBILITY_MODE$ && ($AdfDhtmlInputChooseBindingUtils$$.$registerBinding$($JSCompiler_alias_TRUE$$, $chooseColorId$$3$$, $clientId$$158_thisComponent$$.$getClientId$()), this.$initChooseComponentValue$($clientId$$158_thisComponent$$))
};
function $JSCompiler_StaticMethods__getRuntimeChooseColorId$$($thisComponent$$1$$) {
  var $chooseColorId$$4$$ = $AdfDhtmlInputChooseBindingUtils$$.getChooseId($thisComponent$$1$$, AdfRichInputColor.CHOOSE_ID);
  $chooseColorId$$4$$ == $JSCompiler_alias_NULL$$ && !$thisComponent$$1$$.getReadOnly() && ($chooseColorId$$4$$ = $AdfRichUIPeer$$.$CreateSubId$($thisComponent$$1$$.$getClientId$(), $AdfDhtmlInputColorPeer$$.$_POPUP_WRAPPER_CHOOSECOLOR_ID$));
  return $chooseColorId$$4$$
}
$AdfDhtmlInputColorPeer$$.prototype.$_isGlyphElement$ = function $$AdfDhtmlInputColorPeer$$$$$_isGlyphElement$$($eventTarget$$36$$, $glyphId$$1$$) {
  var $container$$2$$ = $AdfAgent$$.$AGENT$.getElementById($glyphId$$1$$);
  return $container$$2$$ == $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_FALSE$$ : $eventTarget$$36$$ == $container$$2$$ || $eventTarget$$36$$ == $container$$2$$.getElementsByTagName("img")[0] ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
