nsIAutoCompleteObserver

Please add a summary to this article.
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

Method overview

void onSearchResult(in nsIAutoCompleteSearch search, in nsIAutoCompleteResult result);
void onUpdateSearchResult(in nsIAutoCompleteSearch search, in nsIAutoCompleteResult result);

Methods

onSearchResult()

Called when a search is complete and the results are ready.

void onSearchResult(
  in nsIAutoCompleteSearch search,
  in nsIAutoCompleteResult result
);
Parameters
search
The search object that processed this search.
result
The search result object.

Requires Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

onUpdateSearchResult()

Called to update with new results.

void onUpdateSearchResult(
  in nsIAutoCompleteSearch search,
  in nsIAutoCompleteResult result
);
Parameters
search
The search object that processed this search.
result
The search result object.

Document Tags and Contributors

 Last updated by: Sheppy,