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.

nsIAutoCompleteInput

IID:8a5918dc-89ba-4bd0-934c-90e9c21568b8
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRBool completeDefaultIndex

PRBool completeSelectedIndex

readonly PRBool consumeRollupEvent

readonly nsIAutoCompleteController controller

PRBool disableAutoComplete

PRBool forceComplete

PRUint32 maxRows

PRUint32 minResultsForPopup

readonly nsIAutoCompletePopup popup

PRBool popupOpen

readonly PRUint32 searchCount

AString searchParam

readonly PRInt32 selectionEnd

readonly PRInt32 selectionStart

PRBool showCommentColumn

PRBool showImageColumn

AString textValue

PRUint32 timeout


Methods

ACString getSearchAt ( PRUint32 index ) void onSearchComplete ( ) PRBool onTextEntered ( ) PRBool onTextReverted ( ) void selectTextRange ( PRInt32 startIndex , PRInt32 endIndex )

ACString getSearchAt ( PRUint32 index )

Arguments:
index

void onSearchComplete ( )


PRBool onTextEntered ( )


PRBool onTextReverted ( )


void selectTextRange ( PRInt32 startIndex , PRInt32 endIndex )

Arguments:
startIndex
endIndex

References

This interface is the type of the following properties:

nsIAutoCompleteController.input, nsIAutoCompletePopup.input

This interface is passed as an argument to the following methods:

nsIAutoCompletePopup.openAutocompletePopup

Reference documentation is generated from Mozilla's source.