var $AdfDhtmlQuickQueryPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlQuickQueryPeer");
$goog$exportSymbol$$("AdfDhtmlQuickQueryPeer", $AdfDhtmlQuickQueryPeer$$);
$AdfDhtmlQuickQueryPeer$$.$InitSubclass$ = function $$AdfDhtmlQuickQueryPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$);
  this.$_SEARCH_ICON_ID$ = "search_icon"
};
$goog$exportSymbol$$("AdfDhtmlQuickQueryPeer.InitSubclass", $AdfDhtmlQuickQueryPeer$$.$InitSubclass$);
$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlQuickQueryPeer$$$$$HandleComponentClick$$($componentEvent$$337$$) {
  if($componentEvent$$337$$.$isLeftButtonPressed$()) {
    var $component$$1415_searchId$$2$$ = this.$getComponent$(), $target$$155$$ = $componentEvent$$337$$.$getNativeEventTarget$(), $component$$1415_searchId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1415_searchId$$2$$.$getClientId$(), $AdfDhtmlQuickQueryPeer$$.$_SEARCH_ICON_ID$);
    ($target$$155$$.id == $component$$1415_searchId$$2$$ || $target$$155$$.parentNode && $target$$155$$.parentNode.id == $component$$1415_searchId$$2$$) && (new $AdfQueryEvent$$($componentEvent$$337$$.getSource())).$queue$()
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlQuickQueryPeer$$$$$HandleComponentKeyUp$$($componentEvent$$338$$) {
  this.$_isEnterKeyNotConsumed$($componentEvent$$338$$) && $AdfDhtmlFormPeer$$.$__GetDefaultCommandTriggerId$($componentEvent$$338$$, $JSCompiler_alias_TRUE$$) != $JSCompiler_alias_NULL$$ && ((new $AdfQueryEvent$$(this.$getComponent$())).$queue$(), $componentEvent$$338$$.cancel())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlQuickQueryPeer$$$$$HandleComponentKeyDown$$($componentEvent$$339$$) {
  this.$_isEnterKeyNotConsumed$($componentEvent$$339$$) && $componentEvent$$339$$.cancel()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlQuickQueryPeer$$$$$HandleComponentKeyPress$$($componentEvent$$340$$) {
  this.$_isEnterKeyNotConsumed$($componentEvent$$340$$) && $componentEvent$$340$$.cancel()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlQuickQueryPeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlQuickQueryPeer$$.prototype.$_isEnterKeyNotConsumed$ = function $$AdfDhtmlQuickQueryPeer$$$$$_isEnterKeyNotConsumed$$($componentEvent$$341$$) {
  return!$componentEvent$$341$$.$isCanceled$() && $componentEvent$$341$$.$getKeyCode$() == $AdfKeyStroke$$.$ENTER_KEY$ && $AdfDhtmlFormPeer$$.$__GetDefaultCommandTriggerId$($componentEvent$$341$$, $JSCompiler_alias_TRUE$$) != $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
