This class implements nsIAutoCompleteResult and provides simple methods for setting the value and result items. It can be used whenever some basic auto complete results are needed that can be pre-generated and filled into an array.
[scriptable, uuid(f9841787-ad26-49e6-a2dd-ba9020ee1c64)]
Methods
Appends a result item consisting of the given value, comment, image and style. This is how you add results. Note: image and style are optional.
A writer for the readonly attribute 'defaultIndex' which should contain the index of the list that will be selected by default (normally 0).
A writer for the readonly attribute 'errorDescription'.
Sets a listener for changes in the result.
A writer for the readonly attribute 'searchResult' which should contain one of the constants nsIAutoCompleteResult.RESULT_* indicating the success of the search.
Compare to:
