nsIAutoCompleteResult
| IID: | d2fcba9a-3f5c-40fc-a9fc-4adc87dc61ef |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Constants
Properties
readonly PRInt32 defaultIndex
Index of the default item that should be entered if none is selected
readonly AString errorDescription
A string describing the cause of a search failure
readonly PRUint32 matchCount
The number of matches
readonly PRUint16 searchResult
The result of the search
readonly AString searchString
The original search string
Methods
AString getCommentAt ( PRInt32 index )
AString getImageAt ( PRInt32 index )
AString getStyleAt ( PRInt32 index )
AString getValueAt ( PRInt32 index )
void removeValueAt ( PRInt32 rowIndex , PRBool removeFromDb )
AString getCommentAt ( PRInt32 index )
Get the comment of the result at the given index
- Arguments:
- index
AString getImageAt ( PRInt32 index )
Get the image of the result at the given index
- Arguments:
- index
AString getStyleAt ( PRInt32 index )
Get the style hint for the result at the given index
- Arguments:
- index
AString getValueAt ( PRInt32 index )
Get the value of the result at the given index
- Arguments:
- index
void removeValueAt ( PRInt32 rowIndex , PRBool removeFromDb )
Remove the value at the given index from the autocomplete results. If removeFromDb is set to true, the value should be removed from persistent storage as well.
- Arguments:
- rowIndex
- removeFromDb
References
This interface is passed as an argument to the following methods:
nsIAutoCompleteObserver.onSearchResult, nsIAutoCompleteSearch.startSearch, nsILoginManager.autoCompleteSearch
This interface is returned from the following methods:
nsILoginManager.autoCompleteSearch
Reference documentation is generated from Mozilla's source.
