WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/autocomplete/simple-result;1
This component implements the following interfaces:
Constants
Properties
readonly PRInt32 nsIAutoCompleteResult.defaultIndex
Index of the default item that should be entered if none is selected
readonly AString nsIAutoCompleteResult.errorDescription
A string describing the cause of a search failure
readonly PRUint32 nsIAutoCompleteResult.matchCount
The number of matches
readonly PRUint16 nsIAutoCompleteResult.searchResult
The result of the search
readonly AString nsIAutoCompleteResult.searchString
The original search string
Methods
| Interface | Method |
|---|---|
| nsIAutoCompleteSimpleResult |
void appendMatch ( AString value , AString comment , AString image , AString style )
|
| nsIAutoCompleteResult |
AString getCommentAt ( PRInt32 index )
|
| nsIAutoCompleteResult |
AString getImageAt ( PRInt32 index )
|
| nsIAutoCompleteResult |
AString getStyleAt ( PRInt32 index )
|
| nsIAutoCompleteResult |
AString getValueAt ( PRInt32 index )
|
| nsIAutoCompleteResult |
void removeValueAt ( PRInt32 rowIndex , PRBool removeFromDb )
|
| nsIAutoCompleteSimpleResult |
void setDefaultIndex ( PRInt32 defaultIndex )
|
| nsIAutoCompleteSimpleResult |
void setErrorDescription ( AString errorDescription )
|
| nsIAutoCompleteSimpleResult |
void setListener ( nsIAutoCompleteSimpleResultListener listener )
|
| nsIAutoCompleteSimpleResult |
void setSearchResult ( PRUint16 searchResult )
|
| nsIAutoCompleteSimpleResult |
void setSearchString ( AString searchString )
|
Reference documentation is generated from Mozilla's source.
