Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIAutoCompleteListener

This interface is deprecated. It only exists for legacy LDAP autocomplete session support. New code should use toolkit autocomplete interfaces.
Inherits from: nsISupports Last changed in Gecko 1.7

Method overview

void onAutoComplete(in nsIAutoCompleteResults result, in AutoCompleteStatus status);
void onStatus(in wstring statusText);

Attributes

Attribute Type Description
param nsISupports Private parameter used by the autocomplete widget.

Methods

onAutoComplete()

Called by the autocomplete session when the search is done or over. As of Gecko 1.9.1, can also be called with partial results, in a similar manner to the toolkit autocomplete interface.

void onAutoComplete(
  in nsIAutoCompleteResults result,
  in nsIAutoCompleteStatus status
);
Parameters
result
An nsIAutoCompleteResults object containing the (partial) results of the autocomplete.
status
One of the constants defined in the nsIAutoCompleteStatus interface.

onStatus()

Called by the autocomplete session during the search. This method does not seem to have ever been implemented.

void onStatus(
  in wstring statusText
);
Parameters
statusText

Document Tags and Contributors

 Contributors to this page: Sheppy, Neil, trevorh
 Last updated by: Sheppy,